WWDC icon indicating copy to clipboard operation
WWDC copied to clipboard

Display Related Resources

Open bcmn opened this issue 7 years ago • 7 comments

Following #367, data is present on sessions for both related sessions (including labs), & related resources -- like sample code, guides, & documentation. #377 implemented the UI for related sessions, but resources have not yet been tackled.

bcmn avatar Jun 04 '18 09:06 bcmn

It seems to me there are two options -- either we include it within the existing related UI at the bottom of the overview, or we create a tab in the session detail view & list them there. The former would raise their presence, but might risk making that section noisy -- some sessions already have a lot of related items. If we move to having a "Resources" tab, might it make sense to include other things like presentation slides in it?

Either way, we will need new UI symbols to represent the three types (sample code, guides, & documentation). It is also worth noting that @insidegui & I are keen to have additional options on at least the sample code resource, allowing it to be downloaded & opened in Xcode in a single click — this might be best suited as a separate issue, however.

bcmn avatar Jun 04 '18 09:06 bcmn

either we include it within the existing related UI at the bottom of the overview, or we create a tab in the session detail view & list them there

I'm pretty sure we talked about this before and decided on the latter, @VicenteBorrell already designed that tab.

insidegui avatar Jun 04 '18 11:06 insidegui

Just to add to this -- As per #453, in addition to the "sample code", "guides", & "documentation" types, there is also a "download" type.

Do you think you could do icons for these, @VicenteBorrell?

bcmn avatar Jun 11 '18 08:06 bcmn

I'm working on it! Do you have an example of a session with sample code in Resources?

VicenteBorrell avatar Jun 14 '18 20:06 VicenteBorrell

Try this one: https://developer.apple.com/wwdc17/231

bcmn avatar Jun 14 '18 20:06 bcmn

Thanks @bcmn !

I see that Apple is using just two icons for all types of resources. Can we know what kind of resource it is or do we guess based on filetype or something like that?

VicenteBorrell avatar Jun 14 '18 20:06 VicenteBorrell

We know the exact type, so we can display them differently. 🙂

bcmn avatar Jun 14 '18 20:06 bcmn