feat: collapsible domain groups on focus page
Domain headers are now clickable to expand/collapse their item rows, with a chevron indicator and item count badge. State persists via localStorage, matching the sidebar toggle pattern. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -71,7 +71,7 @@ async def focus_view(
|
||||
dl = item.get("domain_name") or "General"
|
||||
dc = item.get("domain_color") or ""
|
||||
if dk not in domain_map:
|
||||
domain_map[dk] = {"label": dl, "color": dc, "rows": []}
|
||||
domain_map[dk] = {"key": dk, "label": dl, "color": dc, "rows": []}
|
||||
domain_map[dk]["rows"].append(item)
|
||||
|
||||
hierarchy = list(domain_map.values())
|
||||
|
||||
Reference in New Issue
Block a user