Skip to content

Style day of week picker - #262

Merged
jadebuckwalter merged 7 commits into
masterfrom
day-of-week-picker-style
Feb 15, 2021
Merged

jadebuckwalter merged 7 commits into
masterfrom
day-of-week-picker-style

Conversation

@jadebuckwalter

Copy link
Copy Markdown
Collaborator

Style the dropdown menu so it looks nicer and uniform to other dropdowns

Comment thread public/js/extraFunctions.js Resolved
Style the dropdown menu so it looks nicer and uniform to other dropdowns
Remove unnecessary code and add/revise comments
@jadebuckwalter
jadebuckwalter force-pushed the day-of-week-picker-style branch from d3ff1aa to 29495cf Compare February 13, 2021 21:01
Toggle the appropriate schedule based on the selected day.
@jadebuckwalter

jadebuckwalter commented Feb 14, 2021 •

Copy link
Copy Markdown
Collaborator Author

Some minor fixes remain:

  • If you click out of the dropdown, it should go away
  • The arrow should point up if the menu is open
  • Change "select day" to the day of the week if it is a weekday

On weekdays, display the name of the day on the dropdown instead of
"select day"
Point the arrow up when the menu is open, point it down when closed
Add support for an edge case where the day of week is undefined by
defaulting to "Select Day"
When you click  outside the dropdown when it is open, hide the options
@jadebuckwalter
jadebuckwalter marked this pull request as ready for review February 14, 2021 03:22
@psvenk psvenk added this to the 2.7.0 milestone Feb 15, 2021

@psvenk psvenk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@jadebuckwalter
jadebuckwalter merged commit e10bb2a into master Feb 15, 2021
@jadebuckwalter
jadebuckwalter deleted the day-of-week-picker-style branch February 15, 2021 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants