Skip to content

Persist active worktree filter#290

Merged
Jinwoo-H merged 1 commit intomainfrom
Jinwoo-H/active-filter
Apr 4, 2026
Merged

Persist active worktree filter#290
Jinwoo-H merged 1 commit intomainfrom
Jinwoo-H/active-filter

Conversation

@Jinwoo-H
Copy link
Copy Markdown
Contributor

@Jinwoo-H Jinwoo-H commented Apr 4, 2026

Problem

The sidebar's "Active only" worktree filter lived only in renderer state, so closing and reopening Orca always reset the filter to off.

Solution

Add showActiveOnly to the persisted UI state, restore it during renderer hydration, include it in the UI save effect, and add a focused store test covering hydration of the persisted flag.

@Jinwoo-H Jinwoo-H merged commit c031455 into main Apr 4, 2026
1 check 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