Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c42d436

Browse files
author
Alberto Iannaccone
committed
update learn more url
1 parent f3e5de9 commit c42d436

File tree

3 files changed

+6
-15
lines changed

3 files changed

+6
-15
lines changed

‎arduino-ide-extension/src/browser/auth/authentication-client-service.ts‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,6 @@ export class AuthenticationClientService
8585
registry.registerCommand(CloudUserCommands.LOGOUT, {
8686
execute: () => this.service.logout(),
8787
});
88-
registry.registerCommand(CloudUserCommands.REGISTER, {
89-
execute: () =>
90-
this.windowService.openNewWindow(
91-
this.arduinoPreferences['arduino.auth.registerUri'],
92-
{ external: true }
93-
),
94-
});
9588
}
9689

9790
notifySessionDidChange(session: AuthenticationSession | undefined): void {

‎arduino-ide-extension/src/browser/auth/cloud-user-commands.ts‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ export namespace CloudUserCommands {
1111
label: 'Sign Out',
1212
};
1313

14-
export const REGISTER: Command = {
15-
id: 'arduino-cloud--register',
16-
label: 'Register',
17-
};
18-
1914
export const OPEN_PROFILE_CONTEXT_MENU: Command = {
2015
id: 'arduino-cloud-sketchbook--open-profile-menu',
2116
label: 'Contextual menu',

‎arduino-ide-extension/src/browser/widgets/cloud-sketchbook/cloud-sketchbook-tree-widget.tsx‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ import { CompositeTreeNode } from '@theia/core/lib/browser';
1212
import { shell } from 'electron';
1313
import { SketchbookTreeWidget } from '../sketchbook/sketchbook-tree-widget';
1414

15+
const LEARN_MORE_URL =
16+
'https://docs.arduino.cc/software/ide-v2/tutorials/ide-v2-cloud-sketch-sync';
17+
1518
@injectable()
1619
export class CloudSketchbookTreeWidget extends SketchbookTreeWidget {
1720
@inject(AuthenticationClientService)
@@ -129,9 +132,9 @@ export class CloudSketchbookTreeWidget extends SketchbookTreeWidget {
129132
<div
130133
className="link sign-in-learnmore"
131134
onClick={() =>
132-
this.commandRegistry.executeCommand(
133-
CloudUserCommands.REGISTER.id
134-
)
135+
this.windowService.openNewWindow(LEARN_MORE_URL,{
136+
external: true,
137+
})
135138
}
136139
>
137140
Learn more

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /