feat: Add Init Script Indicator visibility feature for worktrees

This commit introduces a new feature allowing users to toggle the visibility of the Init Script Indicator for each project. Key changes include:

1. **State Management**: Added `showInitScriptIndicatorByProject` to manage the visibility state per project.
2. **UI Components**: Implemented a checkbox in the WorktreesSection to enable or disable the Init Script Indicator, enhancing user control over the UI.
3. **BoardView Updates**: Modified the BoardView to conditionally render the Init Script Indicator based on the new visibility state.

These enhancements improve the user experience by providing customizable visibility options for the Init Script Indicator, streamlining project management workflows.
This commit is contained in:
Kacper
2026-01-10 23:03:29 +01:00
parent c24e6207d0
commit aeb5bd829f
4 changed files with 80 additions and 2 deletions

View File

@@ -595,6 +595,8 @@ export interface ProjectSettings {
// UI Visibility
/** Whether the worktree panel row is visible (default: true) */
worktreePanelVisible?: boolean;
/** Whether to show the init script indicator panel (default: true) */
showInitScriptIndicator?: boolean;
// Session Tracking
/** Last chat session selected in this project */