cityofaustin / joplin

CMS for austin.gov

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Better input mechanism for Hours of Operation

benweatherman opened this issue · comments

Currently it looks like
hour input

It's not ideal because

  • It takes up a lot of vertical space
  • Easy to forget a day of the week

There are lots of good ideas on stackoverflow. There's also some UX design guidelines put out by big brained designers.

commented

Also worth considering how 'closed' is handled

I like this solution from the SO link (minus the split service business) because it would be easy to assume unchecked dates are closed or we could show closed in the UI if the day is unchecked

image

I'm not sure the best way to represent that via the API

  • Don't return the day of week if it's closed
  • Return start_time=end_time=null
  • Your Suggestion Here