Skip to content

Commit 403f00a

Browse files
authored
Axon 1785 add rovo dev to the top of the file context menu in vs code (#1701)
* Added the RovoDev button the top of the context, still need to test fully * Updated Changelog and package-lock * enabled feature in bby
1 parent ae6458a commit 403f00a

File tree

4 files changed

+25
-0
lines changed

4 files changed

+25
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121

2222
- **Rovo Dev**: Support new `plan` mode with `deferred_request` handling
2323

24+
- **Rovo Dev**: Added Rovo Dev icon to the editor title bar for quick access — clicking it focuses the existing Rovo Dev sidebar panel
25+
2426
### Cleanup
2527

2628
- **Rovo Dev**: Removed legacy `create_technical_plan` plan mode implementation in favor of new `deferred_request`-based plan mode

package.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,16 @@
591591
"command": "atlascode.rovodev.enable",
592592
"title": "Enable Rovo Dev",
593593
"category": "Rovo Dev"
594+
},
595+
{
596+
"command": "atlascode.rovodev.openChat",
597+
"title": "Open Rovo Dev",
598+
"icon": {
599+
"dark": "resources/dark/rovodev-icon.svg",
600+
"light": "resources/light/rovodev-icon.svg"
601+
},
602+
"category": "Rovo Dev",
603+
"enablement": "atlascode:rovoDevEnabled"
594604
}
595605
],
596606
"viewsContainers": {
@@ -666,6 +676,11 @@
666676
}
667677
],
668678
"editor/title": [
679+
{
680+
"command": "atlascode.rovodev.openChat",
681+
"when": "atlascode:rovoDevEnabled",
682+
"group": "navigation"
683+
},
669684
{
670685
"command": "atlascode.bb.toggleCommentsVisibility",
671686
"when": "resourceScheme == atlascode.bbpr",
@@ -1002,6 +1017,10 @@
10021017
"command": "atlascode.rovodev.addToContext",
10031018
"when": "false"
10041019
},
1020+
{
1021+
"command": "atlascode.rovodev.openChat",
1022+
"when": "false"
1023+
},
10051024
{
10061025
"command": "atlascode.extensionContext.showConfigPage",
10071026
"when": "false"

src/commands.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,9 @@ export function registerRovoDevCommands(vscodeContext: ExtensionContext) {
402402
commands.registerCommand(RovodevCommands.RovodevOpenHelp, () => {
403403
env.openExternal(Uri.parse('https://support.atlassian.com/rovo/docs/work-with-rovo-dev-in-the-ide/'));
404404
}),
405+
commands.registerCommand(RovodevCommands.RovodevOpenChat, () => {
406+
commands.executeCommand(RovodevCommands.FocusRovoDevWindow);
407+
}),
405408
commands.registerCommand(RovodevCommands.RovodevEnable, async () => {
406409
try {
407410
await configuration.updateEffective('rovodev.enabled', true);

src/rovo-dev/api/componentApi.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export const RovodevCommands = {
1717
RestartProcess: 'atlascode.rovodev.restartProcess',
1818
RovodevOpenHelp: 'atlascode.rovodev.openHelp',
1919
RovodevEnable: 'atlascode.rovodev.enable',
20+
RovodevOpenChat: 'atlascode.rovodev.openChat',
2021
} as const;
2122

2223
/**

0 commit comments

Comments
 (0)