Skip to content

Conversation

@k11kirky
Copy link
Contributor

@k11kirky k11kirky commented Jan 14, 2026

TL;DR

Simplified the sidebar by consolidating pinned tasks into the history view and removing the folder/repository view.

What changed?

  • Removed the view mode selector and consolidated all views into a single unified view
  • Integrated pinned tasks directly into the History view as a separate section at the top
  • Removed the standalone PinnedView component and merged its functionality into HistoryView
  • Removed repository/folder-related components and functionality:
    • Deleted SortableFolderSection.tsx
    • Deleted ViewModeSelector.tsx
    • Deleted NewTaskItem.tsx
  • Simplified the sidebar footer to only show the "New task" button (removed the "Add repository" button)
  • Updated the sidebar data handling to filter out pinned tasks from the regular history sections

How to test?

  1. Open the application and check that the sidebar now shows a unified view with pinned tasks at the top (if any exist)
  2. Pin a task and verify it appears in the "Pinned" section at the top of the sidebar
  3. Unpin a task and verify it moves back to the appropriate history section
  4. Create a new task and verify it appears in the history view
  5. Verify that the sidebar footer consistently shows the "New task" button

Why make this change?

This change simplifies the user interface by consolidating multiple views into a single, more intuitive view. By removing the separate modes (history, pinned, folders) and integrating pinned tasks directly into the main view, the sidebar becomes more straightforward and requires fewer clicks to navigate between different types of tasks. This streamlined approach improves usability by keeping important tasks visible and accessible at all times.

Copy link
Contributor Author

k11kirky commented Jan 14, 2026

@k11kirky k11kirky marked this pull request as ready for review January 14, 2026 23:17
@k11kirky k11kirky requested a review from a team as a code owner January 14, 2026 23:17
@charlesvien charlesvien force-pushed the 01-14-feat_remove_sidebar_options_go_for_history_only_and_pin branch from d4414cb to 27b4a58 Compare January 15, 2026 06:02
Copy link
Contributor Author

k11kirky commented Jan 15, 2026

Merge activity

  • Jan 15, 7:11 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jan 15, 7:12 AM UTC: @k11kirky merged this pull request with Graphite.

@k11kirky k11kirky merged commit f38fcf3 into main Jan 15, 2026
12 checks passed
@k11kirky k11kirky deleted the 01-14-feat_remove_sidebar_options_go_for_history_only_and_pin branch January 15, 2026 07:12
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