Skip to content
Merged
Changes from 1 commit
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
Next Next commit
Add news section with AI to welcome page
  • Loading branch information
JonasHelming committed Mar 24, 2025
commit c85ac3a542d70acdd9e044dbd1267ea8c6956d27
16 changes: 16 additions & 0 deletions packages/getting-started/src/browser/getting-started-widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,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