Nest Configuration index and collapse data-entry forms (D-0058) #138

Merged
hannah-vernon merged 1 commit from feature/config-nav-progressive-disclosure into dev 2026-09-24 19:19:39 -05:00
Owner

What does this PR do?

Reorganizes the Configuration page's left section index into a semantic nested list and collapses the four router-related data-entry forms behind native <details> disclosures, per D-0058.

  • The index is now a <ul>/<li> tree with JetPack allowlist and DoH blocklist nested under Routers (.page-index-sub: indented with a left border on desktop; display: contents on the narrow-screen chip strip so links stay direct flex items, with dashed borders on the router-scoped children). Top-level entries are lightly reordered to group related policy sections.
  • The Add-router, Add-satellite, Edit-JetPack, and Edit-DoH forms are wrapped in <details class="disclosure-form"> whose <summary> replaces the former <h3>, so data-entry fields stay collapsed until opened.
  • Each disclosure reopens when it should: the two Add forms open on an empty list, and all four reopen after a validation error through a form=<name> query discriminator added to the failure redirects and read by a [SupplyParameterFromQuery(Name = "form")] page parameter.
  • Adds a Routers cross-link to the two nested features.

Presentation and markup only: no endpoint contract, persisted state, or configuration value changes. Static SSR constraints preserved (native <details>; existing page-index.js scroll-spy needs no change).

Fixes #

How was this tested?

  • dotnet build - 0 errors, 0 warnings
  • dotnet test - AdminApi 228 pass, DoH application 17 pass (added form=<name> redirect assertions to the JetPack, satellite, and DoH-probe failure tests)
  • Manually tested on ___

Checklist

  • I have read the Contributing Guide
  • Changes are focused - one logical change per PR
  • Documentation updated (DECISIONS.md D-0058, AGENT-README.md Changes + range/date)
  • New dependencies are MIT/Apache-2.0/BSD, security-vetted, and recorded in THIRD-PARTY-NOTICES.md
  • No secrets, credentials, or real infrastructure identifiers in the diff
  • No commented-out code or debug leftovers
## What does this PR do? Reorganizes the Configuration page's left section index into a semantic nested list and collapses the four router-related data-entry forms behind native `<details>` disclosures, per D-0058. - The index is now a `<ul>/<li>` tree with **JetPack allowlist** and **DoH blocklist** nested under **Routers** (`.page-index-sub`: indented with a left border on desktop; `display: contents` on the narrow-screen chip strip so links stay direct flex items, with dashed borders on the router-scoped children). Top-level entries are lightly reordered to group related policy sections. - The **Add-router**, **Add-satellite**, **Edit-JetPack**, and **Edit-DoH** forms are wrapped in `<details class="disclosure-form">` whose `<summary>` replaces the former `<h3>`, so data-entry fields stay collapsed until opened. - Each disclosure reopens when it should: the two Add forms open on an empty list, and all four reopen after a validation error through a `form=<name>` query discriminator added to the failure redirects and read by a `[SupplyParameterFromQuery(Name = "form")]` page parameter. - Adds a **Routers** cross-link to the two nested features. Presentation and markup only: no endpoint contract, persisted state, or configuration value changes. Static SSR constraints preserved (native `<details>`; existing `page-index.js` scroll-spy needs no change). Fixes # ## How was this tested? - [x] `dotnet build` - 0 errors, 0 warnings - [x] `dotnet test` - AdminApi 228 pass, DoH application 17 pass (added `form=<name>` redirect assertions to the JetPack, satellite, and DoH-probe failure tests) - [ ] Manually tested on ___ ## Checklist - [x] I have read the Contributing Guide - [x] Changes are focused - one logical change per PR - [x] Documentation updated (DECISIONS.md D-0058, AGENT-README.md Changes + range/date) - [x] New dependencies are MIT/Apache-2.0/BSD, security-vetted, and recorded in THIRD-PARTY-NOTICES.md - [x] No secrets, credentials, or real infrastructure identifiers in the diff - [x] No commented-out code or debug leftovers
Reorganize the Configuration page section index into a semantic nested list with JetPack allowlist and DoH blocklist nested under Routers, and collapse the Add-router, Add-satellite, Edit-JetPack, and Edit-DoH forms behind native <details> disclosures so data-entry fields stay hidden until the operator opens them.

The two Add forms open on an empty list; all four reopen after a validation error via a form=<name> query discriminator on the failure redirects, read by a SupplyParameterFromQuery page parameter. Adds a Routers cross-link to the two nested features and mobile display:contents so the chip strip stays flat. Presentation and markup only; no endpoint contract, persisted state, or configuration value changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
hannah-vernon/viegard-sentinel!138
No description provided.