More Git panel refinements (#21928)
- Add and wire through git method stubs - Organize render methods - Track modifier changes - Swap commit buttons when `option`/`alt` is held - More TODOs Release Notes: - N/A
This commit is contained in:
parent
ee6f834028
commit
573e096fc5
3 changed files with 230 additions and 42 deletions
|
@ -1,10 +1,21 @@
|
|||
use ::settings::Settings;
|
||||
use gpui::AppContext;
|
||||
use gpui::{actions, AppContext};
|
||||
use settings::GitPanelSettings;
|
||||
|
||||
pub mod git_panel;
|
||||
mod settings;
|
||||
|
||||
actions!(
|
||||
git_ui,
|
||||
[
|
||||
StageAll,
|
||||
UnstageAll,
|
||||
DiscardAll,
|
||||
CommitStagedChanges,
|
||||
CommitAllChanges
|
||||
]
|
||||
);
|
||||
|
||||
pub fn init(cx: &mut AppContext) {
|
||||
GitPanelSettings::register(cx);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue