From e3d4b600f0a3d9dca1b5b3d7dbb13c8e9cba3010 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6?= <14975046+skjnldsv@users.noreply.github.com> Date: Thu, 26 Nov 2026 20:27:18 +0100 Subject: [PATCH] feat(profile): pick the holiday region from a list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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> --- src/components/RegionCodeField.vue | 170 ++++++++++++++++++++--------- src/utils/holidays.spec.ts | 10 +- src/utils/holidays.ts | 11 -- src/utils/regions.spec.ts | 50 ++++++++- src/utils/regions.ts | 132 ++++++++++++++++++++++ 5 files changed, 300 insertions(+), 73 deletions(-) diff --git a/src/components/RegionCodeField.vue b/src/components/RegionCodeField.vue index 4ee16976..14da4f5b 100644 --- a/src/components/RegionCodeField.vue +++ b/src/components/RegionCodeField.vue @@ -7,31 +7,46 @@ -->