Repository navigation
feat(profile): pick the holiday region from a list - #277
Merged
Merged
Conversation
The profile asked for a region code in a text field, with every code that has holidays listed as a hint below it. People now pick their country or region from a searchable list of those codes, with flag, name and code, the regions of a country under their own heading. Picking one opens the comparison of the days off it changes, so the Save button goes, and a code without holidays can no longer be chosen. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The profile asked for a holiday region code in a text field, with every code that has holidays dumped below it as a hint. People now pick their country or region from a searchable list: flag, name in their language, code. The regions of a country sit under their own heading. Search matches the name, the country or the code.
Picking an entry opens the existing "what changes" dialog straight away, so the Save button is gone. Only codes with holidays are listed, so the "no holidays for this code" warning went too. Browsers can't name subdivisions, so the 16 German states have translatable names; other regions show their code.
Specs cover the names, grouping, sorting and search. I tried it on NC master with invented data; the narrow layout isn't checked.
👾 This pull request was assisted by Claude Code, commits carry an
Assisted-bytrailer.