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

refactor(ServiceOptGroup): simplified text #2263

Merged
merged 2 commits into from
Dec 11, 2024
Merged

Conversation

thecristen
Copy link
Collaborator

Summary of changes

Asana Ticket: Schedule Finder schedule picker updates

Refactoring to prefer showing the service's description directly instead of describing individual values from valid_days.

  • Bonus: formats the service text for "extra service" in the same way we do for "holiday service" (which fixes the NYE service, and should also be fine for any other extra service we'll have)
  • Bonus: fix the sorting of holiday schedules

@thecristen thecristen requested a review from a team as a code owner December 11, 2024 18:12
@thecristen thecristen added the dev-green Deploy to dev-green label Dec 11, 2024
Copy link
Contributor

@joshlarson joshlarson left a comment

Choose a reason for hiding this comment

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

From a code perspective, this looks good to me, and I'd be shocked if this caused any problems.

(Also this is vastly better than what it's replacing!)

That said, we should make sure that Plans & Schedules knows that we're using the description field in this way so that they're not surprised later.

@thecristen thecristen merged commit 68fab92 into main Dec 11, 2024
25 of 27 checks passed
@thecristen thecristen deleted the cbj/service-descriptions branch December 11, 2024 22:01
@github-actions github-actions bot removed the dev-green Deploy to dev-green label Dec 13, 2024
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