Chat: Prompt Suggestions demo - Update options class names#33338
Merged
r-farkhutdinov merged 3 commits intoDevExpress:26_1from Apr 17, 2026
Merged
Chat: Prompt Suggestions demo - Update options class names#33338r-farkhutdinov merged 3 commits intoDevExpress:26_1from
r-farkhutdinov merged 3 commits intoDevExpress:26_1from
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Chat → Prompt Suggestions demos across frameworks to use consistent, less ambiguous option panel CSS class names and adjusts empty-state prompt styling.
Changes:
- Renamed the demo options wrapper classes (
options-container→options, inneroptions→suggestions-options) across jQuery/Angular/React/ReactJS/Vue implementations. - Added styling for
.dx-chat-messagelist-empty-promptto constrain empty-state prompt width.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| apps/demos/Demos/Chat/PromptSuggestions/jQuery/styles.css | Renames options panel selectors and adds empty-prompt max-width styling. |
| apps/demos/Demos/Chat/PromptSuggestions/jQuery/index.html | Updates option panel class names to match renamed CSS selectors. |
| apps/demos/Demos/Chat/PromptSuggestions/Vue/App.vue | Updates option panel class names and adds empty-prompt styling (note: scoped-style applicability issue). |
| apps/demos/Demos/Chat/PromptSuggestions/ReactJs/styles.css | Renames options panel selectors and adds empty-prompt max-width styling. |
| apps/demos/Demos/Chat/PromptSuggestions/ReactJs/App.js | Updates option panel class names to match renamed CSS selectors. |
| apps/demos/Demos/Chat/PromptSuggestions/React/styles.css | Renames options panel selectors and adds empty-prompt max-width styling. |
| apps/demos/Demos/Chat/PromptSuggestions/React/App.tsx | Updates option panel class names to match renamed CSS selectors. |
| apps/demos/Demos/Chat/PromptSuggestions/Angular/app/app.component.html | Updates option panel class names to match renamed CSS selectors. |
| apps/demos/Demos/Chat/PromptSuggestions/Angular/app/app.component.css | Renames options panel selectors and adds empty-prompt max-width styling (with ::ng-deep). |
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 9 out of 11 changed files in this pull request and generated 2 comments.
Comments suppressed due to low confidence (1)
apps/demos/Demos/Chat/PromptSuggestions/jQuery/styles.css:1
- Using a very generic class name like
.optionsincreases the chance of CSS collisions (especially in demos where multiple components may share the same page/global stylesheet). Consider scoping the selector (e.g.,.demo-container .options) or using a more specific name (e.g.,.prompt-suggestions-options) to reduce unintended styling interactions.
.demo-container {
marker-dao
approved these changes
Apr 17, 2026
79e6c91 to
0f898bb
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.
No description provided.