From 3841bd5a3093a06412d94b4cb3664c5e6e88a56c Mon Sep 17 00:00:00 2001 From: ducoterra Date: Tue, 25 Aug 2026 14:51:16 -0400 Subject: [PATCH] feat(ui): expose Global Tuning from Chat + Sources headers (admin-only Tuning nav link) --- .../complete/29_tuning_nav_link/00_phase.md | 40 ++++ .../01_tuning_links_markup.md | 41 ++++ .../02_tuning_nav_e2e_and_regression.md | 53 +++++ frontend/assets/styles.css | 12 +- frontend/index.html | 5 + frontend/sources.html | 4 + tests/e2e/test_tuning_nav_link.py | 213 ++++++++++++++++++ 7 files changed, 366 insertions(+), 2 deletions(-) create mode 100644 .agent/phases/complete/29_tuning_nav_link/00_phase.md create mode 100644 .agent/phases/complete/29_tuning_nav_link/01_tuning_links_markup.md create mode 100644 .agent/phases/complete/29_tuning_nav_link/02_tuning_nav_e2e_and_regression.md create mode 100644 tests/e2e/test_tuning_nav_link.py diff --git a/.agent/phases/complete/29_tuning_nav_link/00_phase.md b/.agent/phases/complete/29_tuning_nav_link/00_phase.md new file mode 100644 index 0000000..79ac756 --- /dev/null +++ b/.agent/phases/complete/29_tuning_nav_link/00_phase.md @@ -0,0 +1,40 @@ +# Phase 29 — Global Tuning nav link + +**Source:** `.agent/phases/complete/27_global_tuning` — the `/tuning.html` page and its create/edit/delete machinery shipped, but the "Tuning" header link that was supposed to *expose* the page (`27` task 04: *"Expose the tuning page via an admin-only header link"`) only exists on `tuning.html` itself. It is not present on the Chat or Sources pages, so there is no way to reach `/tuning.html` from anywhere except typing the URL. +**Story:** `.agent/user_stories/global-tuning.md` +**Context:** The shared header (phase 19) renders `[Chat, Sources — admin only]` in `