Provide one application Settings dialog in the header #18

Closed
opened 2025-11-03 16:37:13 +01:00 by admin-backup · 8 comments
admin-backup commented 2025-11-03 16:37:13 +01:00 (Migrated from 172.24.0.1:8928)

Problem

The user-settings component is a placeholder. Language and week-number controls currently live in a calendar-settings dialog, while the theme control is separate in the application header.

Resulting behavior

Provide one Settings dialog opened from the application header. It replaces the existing calendar-settings dialog and groups theme, language, and week numbers.

Acceptance criteria

  • The header Settings button opens the single application Settings dialog.
  • The dialog contains theme (System / Light / Dark), the existing supported-language selection, and the week-number toggle.
  • Remove the calendar's separate settings entry point. Leave balance entry and planning rules stay in the planner.
  • Changes apply and save on selection. Close and Escape keep those changes; there is no Save/Cancel transaction.
  • Reuse the existing Angular Material dialog and controls, translations, and state services. New labels follow the selected language.
  • The dialog has an accessible title and labelled controls, supports keyboard operation, and returns focus to its opener when closed.

Verification

Exercise the header-to-dialog interaction through a component integration test. Verify language and week-number changes affect the application, Close/Escape retain changes, and keyboard focus returns to the opener.

Coordination

Coordinate theme selection with #19 and saving/restoration with #21 and #22. The final milestone delivers all three settings in this one dialog.

## Problem The user-settings component is a placeholder. Language and week-number controls currently live in a calendar-settings dialog, while the theme control is separate in the application header. ## Resulting behavior Provide one Settings dialog opened from the application header. It replaces the existing calendar-settings dialog and groups theme, language, and week numbers. ## Acceptance criteria - The header Settings button opens the single application Settings dialog. - The dialog contains theme (System / Light / Dark), the existing supported-language selection, and the week-number toggle. - Remove the calendar's separate settings entry point. Leave balance entry and planning rules stay in the planner. - Changes apply and save on selection. Close and Escape keep those changes; there is no Save/Cancel transaction. - Reuse the existing Angular Material dialog and controls, translations, and state services. New labels follow the selected language. - The dialog has an accessible title and labelled controls, supports keyboard operation, and returns focus to its opener when closed. ## Verification Exercise the header-to-dialog interaction through a component integration test. Verify language and week-number changes affect the application, Close/Escape retain changes, and keyboard focus returns to the opener. ## Coordination Coordinate theme selection with [#19](https://gitea.nessar.fr/nessar/vac-optimizer/issues/19) and saving/restoration with [#21](https://gitea.nessar.fr/nessar/vac-optimizer/issues/21) and [#22](https://gitea.nessar.fr/nessar/vac-optimizer/issues/22). The final milestone delivers all three settings in this one dialog.
nessar commented 2026-08-28 14:16:03 +02:00 (Migrated from 172.24.0.1:8928)

mentioned in issue #20

mentioned in issue #20
nessar commented 2026-10-02 14:54:43 +02:00 (Migrated from 172.24.0.1:8928)

mentioned in issue #22

mentioned in issue #22
nessar commented 2026-10-02 14:54:46 +02:00 (Migrated from 172.24.0.1:8928)

Completion audit — 2026-10-02

UserSettings remains an unused placeholder template and UserSettingsService is empty; no user-settings popup is wired. Define its settings and how it differs from the existing calendar-settings dialog.

Evidence: reviewed issue requirements/discussions and f1f0835 (published application source; live main 57a39c81 only adds Renovate configuration). Tested an isolated checkout of the published source: 20 test files, 157/157 tests passed, including the five benchmark scenarios. Local commit 51978f7 and uncommitted edits were inspected separately and are not evidence of published completion.

Completion audit — 2026-10-02 UserSettings remains an unused placeholder template and UserSettingsService is empty; no user-settings popup is wired. Define its settings and how it differs from the existing calendar-settings dialog. Evidence: reviewed issue requirements/discussions and f1f0835 (published application source; live main 57a39c81 only adds Renovate configuration). Tested an isolated checkout of the published source: 20 test files, 157/157 tests passed, including the five benchmark scenarios. Local commit 51978f7 and uncommitted edits were inspected separately and are not evidence of published completion.
nessar (Migrated from 172.24.0.1:8928) closed this issue 2026-10-04 20:52:46 +02:00
nessar (Migrated from 172.24.0.1:8928) reopened this issue 2026-10-04 20:52:48 +02:00
nessar commented 2026-10-04 21:17:57 +02:00 (Migrated from 172.24.0.1:8928)

changed title from popup de user settings to Provide one application Settings dialog in the header

<p>changed title from <code class="idiff"><span class="idiff left right deletion">popup de user settings</span></code> to <code class="idiff"><span class="idiff left right addition">Provide one application Settings dialog in the header</span></code></p>
nessar commented 2026-10-04 21:17:57 +02:00 (Migrated from 172.24.0.1:8928)

changed the description

changed the description
nessar commented 2026-10-04 21:18:02 +02:00 (Migrated from 172.24.0.1:8928)

mentioned in issue #19

mentioned in issue #19
nessar (Migrated from 172.24.0.1:8928) closed this issue 2026-10-04 23:19:48 +02:00
nessar commented 2026-10-04 23:33:30 +02:00 (Migrated from 172.24.0.1:8928)

mentioned in commit 5a34160ab2

mentioned in commit 5a34160ab29e14f2f8ef2508ce0b48ecfd1ea5d0

Preserved GitLab #18 history: source attribution, exact timestamps, discussion grouping and review positions. Historical diff snapshots: 1; visible source notes: 7.

gitlab-35-issue-18.md (SHA-256 3e46fbdcc2814bec8a062fa444087a7e2d715aba2a4091e5878134efe133ac95)

gitlab-35-issue-18.json (SHA-256 0c27960e59f1f34d4c4cb07fdcbd8faee08ab31dfe48e732632b0a23fd7e3d71)

Old CI job execution and reports are omitted. Original source files and rollback backups remain protected.

<!-- gitlab-to-gitea-history:35:Issue:18 --> Preserved GitLab #18 history: source attribution, exact timestamps, discussion grouping and review positions. Historical diff snapshots: 1; visible source notes: 7. [gitlab-35-issue-18.md](https://gitea.nessar.fr/attachments/e8584618-ff2d-473d-84db-61947da475b1) (SHA-256 `3e46fbdcc2814bec8a062fa444087a7e2d715aba2a4091e5878134efe133ac95`) [gitlab-35-issue-18.json](https://gitea.nessar.fr/attachments/079d6707-88b0-4060-9595-605c19ea2ab0) (SHA-256 `0c27960e59f1f34d4c4cb07fdcbd8faee08ab31dfe48e732632b0a23fd7e3d71`) Old CI job execution and reports are omitted. Original source files and rollback backups remain protected.
gitea-emergency added this to the Development project 2026-10-11 22:14:32 +02:00
gitea-emergency moved this to Closed in Development on 2026-10-11 22:14:32 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nessar/vac-optimizer#18