Skip to content

feat(ui): keep kanban column context in task view#303

Merged
bborn merged 1 commit intomainfrom
task/771-keep-kanban-column-context-in-task-view
Jan 31, 2026
Merged

feat(ui): keep kanban column context in task view#303
bborn merged 1 commit intomainfrom
task/771-keep-kanban-column-context-in-task-view

Conversation

@bborn
Copy link
Copy Markdown
Owner

@bborn bborn commented Jan 31, 2026

Summary

  • Adds origin column tracking to preserve the source Kanban column when entering task detail view
  • Navigation (up/down arrows) stays within the original column even if the viewed task moves to a different column
  • Origin column is cleared when exiting detail view or jumping to a notification

Test plan

  • All existing tests pass
  • Added 5 new tests for origin column functionality:
    • TestKanbanBoard_OriginColumn - basic set/clear/has operations
    • TestKanbanBoard_OriginColumnPreservesColumnOnTaskMove - column stays same when task moves
    • TestKanbanBoard_NoOriginColumnFollowsTask - normal dashboard behavior still works
    • TestKanbanBoard_OriginColumnClampsSelection - row is clamped when tasks are removed
    • TestKanbanBoard_OriginColumnEmptyColumn - handles empty column case

🤖 Generated with Claude Code

When viewing a task in detail view, the column context is now preserved
even if the task moves to a different column. This allows users to
navigate up/down within the original column they came from.

- Add originColumn field to KanbanBoard to track the source column
- Set origin column when entering detail view from dashboard
- Clear origin column when exiting detail view or jumping to notification
- SetTasks now preserves the origin column instead of following the task

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bborn bborn force-pushed the task/771-keep-kanban-column-context-in-task-view branch from 84f9590 to 1124122 Compare January 31, 2026 13:29
@bborn bborn merged commit 634f746 into main Jan 31, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant