You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[P1/doc-drift] FR-9.2.2 hierarchical folders and drag-drop reordering — categories are flat strings #334
DESIGN_REQUIREMENTS FR-9.2.2 (docs/design/DESIGN_REQUIREMENTS.md:553) requires hierarchical folders and drag-and-drop reordering.
Problem
The implementation has a flat list of category names ("Uncategorized", "Reports", "Monitoring") with no nested structure. Hierarchical folders would require a tree of categories (e.g., Reports / Daily / Weekly / Monthly); the data model doesn't support that. No drag-and-drop handlers exist.
A user creates a folder Reports / Daily and drops a favorite into it; the sidebar shows the nested hierarchy; the favorite is stored with the full path.
Proposed fix
Scope L — replace categories: string[] with categories: TreeNode<{ id, name, children }>[]; add hierarchy UI in the sidebar (expand/collapse nested folders); add drag-and-drop using HTML5 DnD or a small library. Alternatively, downgrade the spec to "flat folders" in the doc-keeper sweep.
Acceptance
A user creates a folder Reports / Daily and drops a favorite into it; the sidebar shows the nested hierarchy; the favorite is stored with the full path.
Activity