WWDC
WWDC copied to clipboard
Display Related Resources
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.
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.
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.
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?
I'm working on it! Do you have an example of a session with sample code in Resources?
Try this one: https://developer.apple.com/wwdc17/231
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?
We know the exact type, so we can display them differently. 🙂