lupinia / awi

Full Lupinia/Awi website, built with Django
https://www.lupinia.net/
2 stars 1 forks source link

Aggregate views for Sunset images #113

Open lupinia opened 1 year ago

lupinia commented 1 year ago

This was something that Gallery2 offered, and while I intentionally planned to omit it from Sunset, I'm starting to see the utility, especially as a special case for photos specifically. And unlike the normal DeerTrees leaf/block system, I want these to be sorted by timestamp_upload, newest first, and include all subcategories. Specific views I want to make available:

I could do this similarly to RSS feeds, where /.../<category>/recent on any category returns the special Recent view on that category and its subcategories, which would also make it easier to add an RSS feed to this view itself, but requires coming up with some sort of consistent interface and an easily-understandable button. I could also do it as "special feature" one-off URLs on specific categories, because it's really only primarily useful for a handful of top-level categories, but I've struggled to put DeerTrees special features into the blocks workflow in an eye-catching way. Both possibilities are valid, so I'll have to think about the options a bit.

Also, while sorting by timestamp_upload makes a lot of sense for the primary use-case I have in mind for this, there's also utility in sorting by the normal timestamp_post (which, for images, corresponds to the capture date/time). I might shift that functionality to the faceted search view, once I actually build it, since timestamp_post is a pretty standard and consistent field, but timestamp_upload is unique to Sunset.