Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Style day of week picker #262

Merged
merged 7 commits into from
Feb 15, 2021
Merged

Style day of week picker #262

merged 7 commits into from
Feb 15, 2021

Conversation

jadebuckwalter
Copy link
Collaborator

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

public/js/extraFunctions.js Outdated Show resolved Hide 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
Copy link
Collaborator Author

jadebuckwalter commented Feb 14, 2021

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
Copy link
Member

@psvenk psvenk left a comment

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