Skip to content

Commit d8a99ca

Browse files
Add Rovo Dev documentations link (#1246)
* add help button * AddedDocLink * exclude Bby * update name from help to Documentation * removing unecesssary change --------- Co-authored-by: Bryan Wieger <[email protected]>
1 parent e4f733a commit d8a99ca

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,11 @@
581581
"command": "atlascode.addRecommendedExtension",
582582
"title": "Add as Recommended Extension",
583583
"category": "Atlassian"
584+
},
585+
{
586+
"command": "atlascode.rovodev.openHelp",
587+
"title": "Documentation",
588+
"category": "Atlassian"
584589
}
585590
],
586591
"viewsContainers": {
@@ -747,6 +752,11 @@
747752
"when": "view == atlascode.views.rovoDev.webView",
748753
"group": "rovoDevContextMenu2@1"
749754
},
755+
{
756+
"command": "atlascode.rovodev.openHelp",
757+
"when": "view == atlascode.views.rovoDev.webView && !atlascode:bbyEnvironmentActive",
758+
"group": "rovoDevContextMenu2@2"
759+
},
750760
{
751761
"command": "atlascode.rovodev.restartProcess",
752762
"when": "view == atlascode.views.rovoDev.webView",

src/commands.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,9 @@ export function registerRovoDevCommands(vscodeContext: ExtensionContext) {
396396
commands.registerCommand(RovodevCommands.RovodevShareFeedback, () =>
397397
Container.rovodevWebviewProvider.executeTriggerFeedback(),
398398
),
399+
commands.registerCommand(Commands.RovodevOpenHelp, () => {
400+
env.openExternal(Uri.parse('https://support.atlassian.com/rovo/docs/work-with-rovo-dev-in-the-ide/'));
401+
}),
399402
commands.registerCommand(RovodevCommands.RovodevLogout, () => {
400403
Container.rovodevWebviewProvider.executeRovoDevLogout();
401404
}),

src/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export const enum Commands {
8888
DisableHelpExplorer = 'atlascode.disableHelpExplorer',
8989
CreateNewJql = 'atlascode.jira.createNewJql',
9090
ToDoIssue = 'atlascode.jira.todoIssue',
91+
RovodevOpenHelp = 'atlascode.rovodev.openHelp',
9192
InProgressIssue = 'atlascode.jira.inProgressIssue',
9293
DoneIssue = 'atlascode.jira.doneIssue',
9394
ShowOnboardingFlow = 'atlascode.showOnboardingFlow',

0 commit comments

Comments
 (0)