M4.5: branch status-bar item and branches popup
The status bar shows the current branch (short hash when detached). Its popup lists local, then remote branches with a filter and New branch; checkout runs flushDirty first and toasts git's refusal. Commands vcs.branches, vcs.newBranch and vcs.checkout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b3642e53ea
commit
149a6c7049
18 changed files with 1585 additions and 17 deletions
|
|
@ -45,7 +45,8 @@ const usedKeys = sourceFiles(SRC).flatMap((file) =>
|
|||
* `settings.list`, the `messageKey` of
|
||||
* `notification` events (engine and desktop host), the keys the
|
||||
* notifications store passes through a constant, and the Changes
|
||||
* window's commit toasts (M4.2), passed as `messageKey`.
|
||||
* window's commit toasts (M4.2) and the branch toasts (M4.5), passed as
|
||||
* `messageKey`.
|
||||
*/
|
||||
const RUNTIME_KEYS = new Set([
|
||||
"notification.command.failed",
|
||||
|
|
@ -59,8 +60,13 @@ const RUNTIME_KEYS = new Set([
|
|||
"notification.recovery.unavailable",
|
||||
"notification.recovery.writeFailed",
|
||||
"notification.save.failed",
|
||||
"notification.vcs.branchCreated",
|
||||
"notification.vcs.checkedOut",
|
||||
"notification.vcs.checkoutFailed",
|
||||
"notification.vcs.checkoutNotSaved",
|
||||
"notification.vcs.commitNotSaved",
|
||||
"notification.vcs.committed",
|
||||
"notification.vcs.newBranchFailed",
|
||||
"notification.settings.corrupt",
|
||||
"notification.settings.corruptNotMoved",
|
||||
"notification.settings.unavailable",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue