Skip to content

List View: sortable table view for tasks #23

@TheSethRose

Description

@TheSethRose

Summary

Add a list/table view for tasks with sortable columns as an alternative to the kanban layout.

Current behavior

  • Tasks view renders a kanban board via src/app/(dashboard)/tasks/tasks-client.tsx and src/components/ui/kanban-board.tsx.
  • Task data is fetched from /api/tasks and rendered as cards in src/components/ui/kanban-board/task-card.tsx.

Target behavior

  • Provide a list view toggle alongside the current kanban view.
  • Include sortable columns for status, priority, project, tags, updated_at, and task number.
  • Preserve existing filters (search, tag, priority, blocked) across views.

Scope

  • UI toggle and list component in tasks view.
  • Reuse existing data source in tasks-client.tsx.
  • Sorting state stored in client state or URL params.

Acceptance criteria

  • Users can switch between kanban and list without losing filters.
  • List view supports sorting on at least status, priority, updated_at, and task number.
  • Selecting a row opens the existing task modal.

Open questions

  • Preferred default sort order in list view?
  • Should list view live only on /tasks or also within project detail pages?

References

  • src/app/(dashboard)/tasks/tasks-client.tsx
  • src/components/ui/kanban-board.tsx
  • src/components/ui/kanban-board/task-card.tsx
  • src/app/api/tasks/route.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions