-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat: add Action Button (Commit Button) support to scm #16803
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
|
I will review at the latest next week. |
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
sdirix
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR works well for me 👍
I have some minor comments but they should be easy to resolve.
I checked the code and it looks good to me, however I am not that familiar with the deep details of menus/commands, so if something could be streamlined there then it went over my head.
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
Signed-off-by: Fangxing Liu <fx.liu@tum.de>
What it does
VS Code exposes a SCM action button api that allows SCM providers (like the built-in Git extension) to provide and update an action button based on repository state.
fixes #16583
This PR introduces an SCM Action Button API in Theia, mirroring VS Code’s
extension model where SCM providers contribute and update the state of the SCM
action button.
Primary Command: Commit State

Secondary Commands: Commit State

Primary Command: Sync Changes State (no secondary commands)

How to test
Git Base (built-in)andGit (built-in)are installedBreaking changes
Attribution
Contributed under the supervision of @JonasHelming as part of the TUM Bachelor Thesis project "Enhancing Terminal Usability in Modern IDEs through AI-Assisted Interaction".
Review checklist
nlsservice (for details, please see the Internationalization/Localization section in the Coding Guidelines)Reminder for reviewers