Skip to content

Conversation

@k11kirky
Copy link
Contributor

@k11kirky k11kirky commented Jan 13, 2026

TL;DR

Added a new History view to the sidebar that shows active and recent tasks, with the ability to toggle between repository and history views.

What changed?

  • Created a new HistoryView component that displays tasks in "Active" and "Recent" sections
  • Added a ViewModeSelector component to switch between "Repositories" and "History" views
  • Enhanced the SidebarFooter to show different actions based on the current view mode
  • Extended the useSidebarData hook to build and provide history data
  • Updated the sidebarStore to track view mode, history pagination, and related actions
  • Implemented "Show more" functionality to load additional history items

How to test?

  1. Open the application and check the sidebar
  2. Use the new view selector dropdown to switch between "Repositories" and "History" views
  3. In History view, verify that tasks are properly categorized as "Active" or "Recent"
  4. Test the "Show more" button to load additional history items
  5. Verify that task actions (clicking, context menu, delete, pin/unpin) work in History view
  6. Check that the "New task" button appears in the footer when in History view

Why make this change?

This change improves task management by providing a dedicated history view that makes it easier to find and resume recent work. The separation of active and recent tasks helps users quickly identify tasks that need attention versus those that are completed or inactive. The ability to toggle between repository-based and history-based views gives users flexibility in how they organize and access their tasks.

Copy link
Contributor Author

k11kirky commented Jan 13, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@k11kirky k11kirky marked this pull request as ready for review January 13, 2026 06:28
@k11kirky k11kirky requested a review from a team as a code owner January 13, 2026 06:28
@k11kirky k11kirky merged commit e34eab9 into main Jan 13, 2026
12 checks passed
@k11kirky k11kirky deleted the 01-12-feat_new_history_based_side_nav branch January 13, 2026 22:10
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.

3 participants