diff --git a/apps/web/src/components/GitActionsControl.tsx b/apps/web/src/components/GitActionsControl.tsx index 2822621c7fa85..bb89514b2f0a1 100644 --- a/apps/web/src/components/GitActionsControl.tsx +++ b/apps/web/src/components/GitActionsControl.tsx @@ -1651,28 +1651,36 @@ export default function GitActionsControl({ ) : ( - - - + + } > - {quickAction.label} - - + + + {quickAction.label} + + + {quickAction.label} + )} {gitActionProgress ? ( - + + } + disabled={isGitActionRunning || !hasGitMenuContent} + /> + } + > + + + Git action options + {gitItems} diff --git a/apps/web/src/components/ProjectScriptsControl.tsx b/apps/web/src/components/ProjectScriptsControl.tsx index 29eaab6adf793..8fae9515fe4e8 100644 --- a/apps/web/src/components/ProjectScriptsControl.tsx +++ b/apps/web/src/components/ProjectScriptsControl.tsx @@ -330,21 +330,29 @@ export default function ProjectScriptsControl({ setActionsMenuOpen({ presentation, scripts: open, imports: false }) } > - + + } + /> + } + > + - } - > - - + + Script actions + { + if (!preferredEditor) return; + const label = editorLabelForPlatform(preferredEditor, navigator.platform); + void openInEditor(preferredEditor).then((opened) => { + if (opened) announce(`Opened in ${label}`); + }); + }} + > + {primaryOption?.Icon ? ( +