hammady / wwpray

A website that shows the prayer times for a preconfigured list of masjids in a tabular format. Visitors can subscribe for email notifications.
https://wwpray.net
MIT License
1 stars 0 forks source link

Add proper sorting for masjids in prayers view #70

Closed fayez-nazzal closed 1 year ago

fayez-nazzal commented 1 year ago

Use the new iqama property seconds_since_midnight_utc for sorting masjids

Screenshot (Current time 2:17 AM)

image

fayez-nazzal commented 1 year ago

Looks good. Are we also going to change the way we detect the next prayer using the same new field, or that's another scope?

@hammady I'm not sure yet, but that could be related to showing the time left for Next praye, should we add that to the masjids table as a column? and in prayer tab show it in the header of each masjid?

hammady commented 1 year ago

Looks good. Are we also going to change the way we detect the next prayer using the same new field, or that's another scope?

@hammady I'm not sure yet, but that could be related to showing the time left for Next praye, should we add that to the masjids table as a column? and in prayer tab show it in the header of each masjid?

@fayez-nazzal yeah, the time left for the next prayer is a great feature to have, and the next prayer becomes the absolute minimum! I think we should also keep showing the next prayer after all iqama times have passed for a safe buffer (e.g. 15 minutes) because the user can still go to the masjid and catch the prayer. Or should we keep showing it until there is a little time left until the following prayer?