mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-31 06:42:03 +00:00
This commit introduces several improvements to the ShellSyntaxEditor and WorktreesSection components: 1. **ShellSyntaxEditor**: Added a `maxHeight` prop to allow for customizable maximum height, enhancing layout flexibility. 2. **WorktreesSection**: - Introduced state management for original script content and existence checks for scripts. - Implemented save, reset, and delete functionalities for initialization scripts, providing users with better control over their scripts. - Added action buttons for saving, resetting, and deleting scripts, along with loading indicators for improved user feedback. - Enhanced UI to indicate unsaved changes, improving user awareness of script modifications. These changes improve the user experience by providing more robust script management capabilities and a more responsive UI.