Commit 408123a
committed
fix: treat unknown VCS kind as supporting git workflow actions
The remoteUpdated fallback in applyGitStatusStreamEvent creates a
transient status with kind: 'unknown' when no local status snapshot
has arrived yet. resolveVcsActionPresentation was only returning
supportsGitWorkflowActions: true for 'git', null, or undefined,
causing the UI to incorrectly disable git commit/push/PR controls
during this transient state. Include 'unknown' in the supported set
so the controls remain enabled until a definitive non-git kind is
determined.1 parent 2df8ce2 commit 408123a
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
0 commit comments