Skip to content

Command Palette: quick actions and navigation #24

@TheSethRose

Description

@TheSethRose

Summary

Add a command palette for quick navigation and task actions.

Current behavior

  • Keyboard navigation exists in src/app/(dashboard)/tasks/hooks/useKeyboardNav.ts (create, edit, move, delete).
  • Navigation links live in src/components/dashboard/Sidebar.tsx.

Target behavior

  • Command palette opened by a shortcut (e.g., Cmd/Ctrl+K).
  • Actions: create task, switch project, open task by search, jump to Projects/Tasks/Status.
  • Reuse existing modal and routing logic.

Scope

  • Global command palette component in dashboard layout.
  • Search index for tasks/projects from existing API endpoints.
  • Shortcut handling that avoids conflicts with task modal shortcuts.

Acceptance criteria

  • Cmd/Ctrl+K opens palette from any dashboard route.
  • Selecting an action executes the existing workflow (task modal, navigation).
  • Palette is accessible and keyboard-first.

Open questions

  • Preferred action set for v1?
  • Scope limited to dashboard routes or full app?

References

  • src/app/(dashboard)/layout.tsx
  • src/components/dashboard/Sidebar.tsx
  • src/app/(dashboard)/tasks/hooks/useKeyboardNav.ts
  • src/app/api/tasks/route.ts
  • src/app/api/projects/route.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is neededquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions