Skip to content

Commit

Permalink
getting-started: add compatibility report link
Browse files Browse the repository at this point in the history
The commit adds the "VS Code vs. Theia API Compatibility" report to the
`getting-started` page for easy access, and for newcomers interested in viewing
the report.

Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
  • Loading branch information
vince-fugnitto committed Sep 27, 2022
1 parent f11b661 commit 0f6c9d1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/getting-started/src/browser/getting-started-widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export class GettingStartedWidget extends ReactWidget {
* Collection of useful links to display for end users.
*/
protected readonly documentationUrl = 'https://www.theia-ide.org/docs/';
protected readonly compatibilityUrl = 'https://eclipse-theia.github.io/vscode-theia-comparator/status.html';
protected readonly extensionUrl = 'https://www.theia-ide.org/docs/authoring_extensions';
protected readonly pluginUrl = 'https://www.theia-ide.org/docs/authoring_plugins';

Expand Down Expand Up @@ -299,6 +300,15 @@ export class GettingStartedWidget extends ReactWidget {
{nls.localizeByDefault('Documentation')}
</a>
</div>
<div className='gs-action-container'>
<a
role={'button'}
tabIndex={0}
onClick={() => this.doOpenExternalLink(this.compatibilityUrl)}
onKeyDown={(e: React.KeyboardEvent) => this.doOpenExternalLinkEnter(e, this.compatibilityUrl)}>
{nls.localize('theia/getting-started/apiComparator', 'VS Code API Compatibility')}
</a>
</div>
<div className='gs-action-container'>
<a
role={'button'}
Expand Down

0 comments on commit 0f6c9d1

Please sign in to comment.