Use default action by maoyama · Pull Request #178 · maoyama/Changes (original) (raw)
added 7 commits
- Introduced state for expandAllFiles in GitClientApp.
- Implemented command buttons to expand and collapse all files in the toolbar.
- Added environment value to pass expandAllFiles state to FileDiffsView.
- Updated FileDiffsView to react to changes in expandAllFiles and expand all file diffs when triggered.
- Introduced a new state variable
collapseAllFilesinGitClientAppto manage the collapse action for file views. - Updated the UI to include a button for collapsing all files with the keyboard shortcut option + left arrow.
- Added collapseAllFiles environment variable to GitClientApp
- Removed onSelectAllExpanded closure from FileDiffView
- Updated FileDiffsView to handle collapsing and expanding of file diffs based on the new collapseAllFiles variable.
- Removed manual expand/collapse buttons from StagedView and UnstagedView.
- Added environment variables to handle expand/collapse actions.
- Implemented onChange handlers in StagedFileDiffView to expand or collapse file diffs based on environment changes.
Updated keyboard shortcuts in the CreateNewBranchSheet, CreateNewTagSheet, RenameBranchSheet, and StashChangedContentView to replace .return with .defaultAction for better consistency and user experience.
maoyama changed the title
Default action Use default action
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})