The console has a Hosts Files settings page with the file list and each file's load status #178

Open
opened 2026-10-31 12:42:21 -04:00 by claude · 0 comments
Owner
  • Draft: PN-68
  • Priority: medium
  • Agent: console-coder
  • Depends on: #177
  • Decisions: Q-PN-11

Why

Every backend setting must be reachable in the console.

What changes

  • New page under src/angular/src/app/features/settings/ (entry in settings-shell/settings-nav.ts, gated on hostsfilessettings:read):
    • an editable path list (add, remove, reorder; order decides which name answers a PTR)
    • the domain-expansion field, TTL and poll interval
    • a status table per path: file or directory, entries, invalid lines, last load, last error
  • Refresh the status after a save. The page says the paths are on this node's file system and are not copied to cluster peers, and that bare names from these files answer after DHCP-registered names.

Acceptance

  • Specs: save sends the patch with the new path order; the status table shows an error row.
  • npm run lint, npm run format:check, npm test -- --watch=false --browsers=ChromeHeadlessNoSandbox pass.

Source

Owner decision 2026-10-31: Q-PN-11.

- **Draft:** PN-68 - **Priority:** medium - **Agent:** console-coder - **Depends on:** #177 - **Decisions:** Q-PN-11 ### Why Every backend setting must be reachable in the console. ### What changes - New page under `src/angular/src/app/features/settings/` (entry in `settings-shell/settings-nav.ts`, gated on `hostsfilessettings:read`): - an editable path list (add, remove, reorder; order decides which name answers a PTR) - the domain-expansion field, TTL and poll interval - a status table per path: file or directory, entries, invalid lines, last load, last error - Refresh the status after a save. The page says the paths are on this node's file system and are not copied to cluster peers, and that bare names from these files answer after DHCP-registered names. ### Acceptance - [ ] Specs: save sends the patch with the new path order; the status table shows an error row. - [ ] `npm run lint`, `npm run format:check`, `npm test -- --watch=false --browsers=ChromeHeadlessNoSandbox` pass. ### Source Owner decision 2026-10-31: Q-PN-11.
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.

Reference
lantea-one/ninlil#178
No description provided.