livemusiclocator / lml_frontend_client

2 stars 1 forks source link

Add date filter buttons #24

Open joesustaric opened 5 months ago

joesustaric commented 5 months ago

Image

threefins commented 5 months ago

OK so I am thinking we've two parameters here: one is the overall date range shown by the page, and then the other is the specific date they are interested in from the page buttons. So if you are looking at a range of "2024-05-02" -> "2024-05-07" you might have date buttons (or tabs) of TODAY | TOMORROW | SATURDAY | SUNDAY | NEXT WEEK . If the dates are far in future, we may revert to Mon 22 | Tue 23 | etc .

The easier we make the logic of how to divvy up the the day periods, the easier it will be to do. Sticking at day boundaries is easiest for us right now but later we could have 'tonight' and 'this weekend' or something.

In terms of how the page works, I was thinking we might want a better way of representing time at some point (two gigs on at the same time would be cool to show next to each other, etc). But for now, the google-calendar-schedule style view of a list of time-ordered things seems to work ok. That's basically what we have now.

I think getting this working nicely is probably going to be key for our short term deadline