mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-31 06:42:03 +00:00
feat: Add auto-dismiss functionality for Init Script Indicator
This commit introduces an auto-dismiss feature for the Init Script Indicator, enhancing user experience by automatically hiding the indicator 5 seconds after the script completes. Key changes include: 1. **State Management**: Added `autoDismissInitScriptIndicatorByProject` to manage the auto-dismiss setting per project. 2. **UI Components**: Updated the WorktreesSection to include a toggle for enabling or disabling the auto-dismiss feature, allowing users to customize their experience. 3. **Indicator Logic**: Implemented logic in the SingleIndicator component to handle auto-dismiss based on the new setting. These enhancements provide users with more control over the visibility of the Init Script Indicator, streamlining project management workflows.
This commit is contained in:
@@ -601,6 +601,8 @@ export interface ProjectSettings {
|
||||
// Worktree Behavior
|
||||
/** Default value for "delete branch" checkbox when deleting a worktree (default: false) */
|
||||
defaultDeleteBranchWithWorktree?: boolean;
|
||||
/** Auto-dismiss init script indicator after completion (default: true) */
|
||||
autoDismissInitScriptIndicator?: boolean;
|
||||
|
||||
// Session Tracking
|
||||
/** Last chat session selected in this project */
|
||||
|
||||
Reference in New Issue
Block a user