Skip to content

feat(profile): pick the holiday region from a list - #277

Merged
skjnldsv merged 1 commit into
mainfrom
feature/region-picker
Nov 26, 2026
Merged

skjnldsv merged 1 commit into
mainfrom
feature/region-picker

Conversation

@skjnldsv

Copy link
Copy Markdown
Member

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.

Before After
before after
Open Search Confirm
open search confirm

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-by trailer.

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>
@skjnldsv skjnldsv added 3. to review Waiting for reviews enhancement New feature request AI assisted This PR contains AI-assisted commits labels Nov 26, 2026
@skjnldsv skjnldsv self-assigned this Nov 26, 2026
@skjnldsv
skjnldsv merged commit 54d5b2a into main Nov 26, 2026
43 checks passed
@skjnldsv
skjnldsv deleted the feature/region-picker branch November 26, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews AI assisted This PR contains AI-assisted commits enhancement New feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant