feat(FIX-157): completed feature
This commit is contained in:
10
work/artifacts/FIX-157/architect.md
Normal file
10
work/artifacts/FIX-157/architect.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# FIX-157 — Architect
|
||||
|
||||
## Fix
|
||||
Reporting sub-items (Dashboard, Ventas, Productos) appeared as separate top-level nav items with leading spaces. They should be nested under /reporting.
|
||||
|
||||
## Solution
|
||||
- Added `parentHref` field to `NavItem` interface
|
||||
- Added `topNavItems()` and `subNavItems()` helpers
|
||||
- Sidebar renders sub-items indented under their parent
|
||||
- `visibleNavItems()` replaced with `topNavItems()` for top-level items
|
||||
Reference in New Issue
Block a user