Show recent chat sessions in the AI Chat Welcome screen#16894
Open
cdamus wants to merge 2 commits intoeclipse-theia:masterfrom
Open
Show recent chat sessions in the AI Chat Welcome screen#16894cdamus wants to merge 2 commits intoeclipse-theia:masterfrom
cdamus wants to merge 2 commits intoeclipse-theia:masterfrom
Conversation
cdamus
commented
Jan 29, 2026
packages/ai-ide/src/browser/chat-sessions-welcome-message-provider.tsx
Outdated
Show resolved
Hide resolved
This comment was marked as outdated.
This comment was marked as outdated.
Refactor the welcome provider as a ContributionProvider extension point with the main welcome content as the prime contribution. Part of eclipse-theia#16562 Signed-off-by: Christian W. Damus <cdamus@eclipsesource.com>
18d7eac to
9c68fb7
Compare
Show up to three rows of cards for the most recent chats in the persistent store, if the store is enabled and has chats to show, along with a "Browse all chats..." link. Let the user configure the number of rows to show or choose not to show any recent chats. Fixes eclipse-theia#16562 Signed-off-by: Christian W. Damus <cdamus@eclipsesource.com>
9c68fb7 to
7739d9b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What it does
Shows recent chat sessions from persistent storage as cards in the Welcome screen of the AI Chat view to get the user started by resuming a previous chat, if applicable. Clicking a card resumes that chat. A "Browse all chats..." link is provided to open the quick picker to see the full history of persisted chats.
A new preference in the Settings lets the user choose the number of rows of cards to show. The default is 3 rows. A value of 0 suppresses the showing of chats in the welcome screen. A maximum of 10 rows seems to me to be plenty and is typical of recents lists in most document-based applications, but is strictly unnecessary; I can remove the limit if reviewers would prefer not to have one.
🆕 The recent session cards seemed likely to be a UI pattern that might be repeated in other "welcome" or overview type content in Theia and Theia-based applications so a simple
Cardcomponent is introduced in Core on which the session cards are based.How to test
For best test coverage, make sure that you have some sessions in the global store (via the global storage scope preference for chat sessions) that are different to what you might have in any workspace.
Follow-ups
None identified for now.
Breaking changes
Attribution
None.
Review checklist
nlsservice (for details, please see the Internationalization/Localization section in the Coding Guidelines)Reminder for reviewers