Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions packages/getting-started/src/browser/getting-started-widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,13 @@ export class GettingStartedWidget extends ReactWidget {
}
{this.renderHeader()}
<hr className='gs-hr' />
{this.aiIsIncluded &&
<div className='flex-grid'>
<div className='col'>
{this.renderNews()}
</div>
</div>
}
<div className='flex-grid'>
<div className='col'>
{this.renderStart()}
Expand Down Expand Up @@ -403,6 +410,22 @@ export class GettingStartedWidget extends ReactWidget {
return <WelcomePreferences preferenceService={this.preferenceService}></WelcomePreferences>;
}

protected renderNews(): React.ReactNode {
return <div className='gs-section'>
<h3 className='gs-section-header'>🚀 AI Support in the Theia IDE is available (Alpha Version)! ✨</h3>
<div className='gs-action-container'>
<a
role={'button'}
style={{ fontSize: 'var(--theia-ui-font-size2)' }}
tabIndex={0}
onClick={() => this.doOpenAIChatView()}
onKeyDown={(e: React.KeyboardEvent) => this.doOpenAIChatViewEnter(e)}>
{'Open the AI Chat View now to learn how to start! ✨'}
</a>
</div>
</div>;
}

protected renderAIBanner(): React.ReactNode {
return <div className='gs-container gs-aifeature-container'>
<div className='flex-grid'>
Expand Down
Loading