insidegui / WWDC

The unofficial WWDC app for macOS
https://wwdc.io
BSD 2-Clause "Simplified" License
8.63k stars 783 forks source link

Correctly handle sessions that are in multiple tracks #689

Closed allenhumphreys closed 1 year ago

allenhumphreys commented 1 year ago

I’m not super sure that allowing duplicates in the list makes sense, but also if you filter by a particular track I want to make sure they’re all in there. So if you do the right filters, you’ll see multiples of the same thing for now. Fiddling with the upstream stuff would take more work.

So I: • uniqued them properly by a identifier + trackName • made the track assignment in the view model deterministic instead of session.tracks.first.

Screenshot 2023-06-06 at 1 09 21 PM
insidegui commented 1 year ago

Awesome! 🚀