feat(DATAGO-104907): Suggest potential things I can do when launching a new chat#1282
Open
amir-ghasemi wants to merge 2 commits intomainfrom
Open
feat(DATAGO-104907): Suggest potential things I can do when launching a new chat#1282amir-ghasemi wants to merge 2 commits intomainfrom
amir-ghasemi wants to merge 2 commits intomainfrom
Conversation
✅ FOSSA Guard: Licensing (
|
✅ FOSSA Guard: Vulnerability (
|
WhiteSource Policy Violation Summary✅︎ No Blocking Whitesource Policy Violations found in solaceai/solace-agent-mesh-ui-pr-1282! |
|
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.


This pull request introduces a new "starter cards" feature to the chat interface, providing users with intelligent, LLM-generated (or default) suggestions to help them start a conversation. The implementation includes backend API integration, UI components for displaying and interacting with starter cards, and logic to handle the empty chat state with a personalized greeting. Additionally, tests and exports are updated to support the new feature.
Starter Cards Feature Implementation
useStarterSuggestions). [1] [2] [3] [4]ChatStarterCardscomponent, which displays a set of suggestion cards (either LLM-generated or default), handles user interactions (expanding cards, selecting options), and emits events to trigger chat input submission.ChatStarterCardsfrom the chat components index for use elsewhere in the app.Chat Page Integration and UX Enhancements
ChatStarterCardsinto theChatPagecomponent, displaying it in the empty chat state alongside a personalized greeting based on the user's name or email. Added logic to determine when the chat is empty and to handle starter card option clicks by dispatching a custom event. [1] [2] [3] [4]ChatInputAreato listen for the starter card submit event, automatically submitting the selected prompt as a user message.Testing and Mocks
ChatStarterCardscomponent, ensuring test coverage for the new feature. [1] [2]