The Zones menu entry has its own icon, and the storage page hides the switch form when the status fails to load #199

Closed
opened 2026-10-31 12:42:25 -04:00 by claude · 0 comments
Owner
  • Draft: BUG-16
  • Priority: low
  • Agent: console-coder
  • Depends on: none
  • Decisions: none

Why

  • Zones uses cilLan (src/angular/src/app/layout/app-shell/nav-item.model.ts:31), the same icon as the brand (app-shell.component.html:14).
  • The storage page shows the engine switch form whenever currentReplica() is empty (features/settings/storage-settings/storage-settings.component.html:126, :336). That includes a failed status load, so an operator can schedule a switch without seeing the current state.

What changes

  • Pick a free @coreui/icons icon for Zones, register it in app.config.ts, and check the NAV_ITEMS duplicate spec.
  • Show the switch form only when the status loaded.

Acceptance

  • Red spec: with the status request failing, the switch form is absent (fails on HEAD).
  • The nav duplicate spec covers the brand icon.
  • The Angular gate is clean, and harness screenshots of the storage page and shell are in the PR.

Source

u-design.md:222.

- **Draft:** BUG-16 - **Priority:** low - **Agent:** console-coder - **Depends on:** none - **Decisions:** none ### Why - Zones uses `cilLan` (`src/angular/src/app/layout/app-shell/nav-item.model.ts:31`), the same icon as the brand (`app-shell.component.html:14`). - The storage page shows the engine switch form whenever `currentReplica()` is empty (`features/settings/storage-settings/storage-settings.component.html:126`, `:336`). That includes a failed status load, so an operator can schedule a switch without seeing the current state. ### What changes - Pick a free `@coreui/icons` icon for Zones, register it in `app.config.ts`, and check the `NAV_ITEMS` duplicate spec. - Show the switch form only when the status loaded. ### Acceptance - [ ] Red spec: with the status request failing, the switch form is absent (fails on HEAD). - [ ] The nav duplicate spec covers the brand icon. - [ ] The Angular gate is clean, and harness screenshots of the storage page and shell are in the PR. ### Source `u-design.md:222`.
Sign in to join this conversation.
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
lantea-one/ninlil#199
No description provided.