2.5 KiB
2.5 KiB
REPORT — Storage IA follow-up: Meghajtók / Hálózati tárhely subpages → v0.98.0
Date: 2026-07-02 · Deployed: guest 9201 (gitea.dooplex.hu/admin/felhom-controller:0.98.0, healthy)
Trigger: user feedback on the D1 Tárhely page — the NAS-add button and the local-drive enrollment
buttons ("Új meghajtó inicializálása" / "Meglévő meghajtó csatolása") sat side by side with no
separation; two different storage classes confusingly interleaved.
What changed (commit d3c97c6 on main, from c427b40)
/storage— Tárhely — Meghajtók (storage.html): physical drives only — registry cards + unified agent view + migrate + the wizard entry points + manual add. The enrollment buttons now live unambiguously in the local-drive context (directly under the drive cards)./storage/network— Tárhely — Hálózati tárhely (NAS) (storage_network.html, new): the NAS share list ("NAS-megosztások") + add form + its JS moved verbatim, incl. its ownopenDialogcopy for the remove overlay (per the D1 no-shared-bundle convention).- Sidebar: the Tárhely main-nav item gains two always-visible nested sub-links (Meghajtók /
Hálózati tárhely; new
.nav-links-nestedCSS); the parent stays highlighted on both subpages. - Go:
networkStoragePageData()(page keystorage-network) split out ofstoragePageData();storageNetworkPageHandler;GET /storage/networkroute. No/api/storage/*or storage semantics change.
Verification
go build ./... && go vet ./... && go test ./...— exit 0, 18 packages ok. Tests updated:/storagemust NOT render the NAS section,/storage/networkrenders it and nothing drive-related; the h3 inventory + no-native-confirm scans include the new template.- Template gates:
template_id_gate.pyOK,emoji_gate.py0. - Live (claude-in-chrome): both subpages render with correct sidebar active states (parent +
child); the drives page shows the enrollment buttons directly under the cards with the
Rendszermeghajtók group below and no NAS content; the NAS page's add-form toggle,
nsToggleSmbprotocol switch, andopenDialogwere exercised on the moved JS. Sidebar shows 0.98.0.
Notes
- Storage flashes still land on
/storage(all storage POST actions are drive actions; NAS uses fetch + in-page reload). - The prior TASK-D1 report (v0.97.0, four-page settings split, unified drive view, overlay migration, red-proofs and gate outputs) is preserved in CHANGELOG v0.97.0 and CONTEXT.md.