-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Summary
Show recently viewed tasks and projects (last 3–5) in the sidebar for quick access.
Current behavior
- Sidebar is static with links in src/components/dashboard/Sidebar.tsx.
- Task modal opens on selection in the kanban board (src/components/ui/kanban-board/task-card.tsx -> tasks-client.tsx).
Target behavior
- Track recently opened tasks and projects.
- Display a compact list in the sidebar (collapsed state should show icons only).
- Persist the list in localStorage, with dedupe and recency updates.
Scope
- Add a recents store and update hooks on task/project open.
- Sidebar UI block for recents.
- Limits, dedupe, and clear action.
Acceptance criteria
- Last 3–5 items persist across reloads.
- Clicking a recent item opens the task modal or project page.
- Recents update on every open and do not include duplicates.
References
- src/components/dashboard/Sidebar.tsx
- src/app/(dashboard)/tasks/tasks-client.tsx
- src/components/ui/kanban-board/task-card.tsx
- src/app/(dashboard)/projects/projects-client.tsx
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers