Skip to content

Conversation

@k11kirky
Copy link
Contributor

@k11kirky k11kirky commented Jan 13, 2026

TL;DR

Added a new "Pinned" view to the sidebar that displays pinned tasks for quick access.

What changed?

  • Created a new PinnedView.tsx component to display pinned tasks
  • Added "Pinned" as a new view mode option in the sidebar view selector
  • Updated the SidebarMenu component to render the new pinned view when selected
  • Modified the useSidebarData hook to build and provide pinned task data
  • Updated the sidebar footer to show the "New task" button in both History and Pinned views
  • Reordered the view options to show History first, then Pinned, then Repositories

How to test?

  1. Pin some tasks by clicking the pin icon on any task
  2. Switch to the "Pinned" view in the sidebar using the view selector
  3. Verify that only pinned tasks appear in this view
  4. Test that clicking, context menu, deletion, and toggling pin status works correctly
  5. Verify the empty state appears when no tasks are pinned
  6. Confirm the "New task" button appears in the Pinned view

Why make this change?

This change improves task organization and accessibility by providing a dedicated view for pinned tasks. Users can now quickly access their most important or frequently used tasks without having to search through the history or repository views, enhancing productivity and workflow efficiency.

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
Base automatically changed from 01-12-feat_new_history_based_side_nav to main January 13, 2026 22:10
# Conflicts:
#	apps/array/src/renderer/features/sidebar/components/SidebarFooter.tsx
#	apps/array/src/renderer/features/sidebar/components/SidebarMenu.tsx
#	apps/array/src/renderer/features/sidebar/components/ViewModeSelector.tsx
#	apps/array/src/renderer/features/sidebar/hooks/useSidebarData.ts
#	apps/array/src/renderer/features/sidebar/stores/sidebarStore.ts
@k11kirky k11kirky merged commit 93c7cae into main Jan 13, 2026
12 checks passed
@k11kirky k11kirky deleted the 01-12-feat_new_pinned_sidenav branch January 13, 2026 22:40
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