Repository navigation
Chat - update Page-Level AI Assistant demo texts - #35936
vladaskorohodova merged 4 commits into
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
The changes are limited to consistent demo text and suggestion updates, with no identified blocking issues.
No open issues 🎉
What changed in this PR
Updates the Page-Level AI Assistant demo’s text consistently across Angular, React, Vue, and jQuery.
Changes:
- Clarifies empty-state guidance for updating Form information and changing DataGrid presentation.
- Renames the completed-task suggestion to “Review Completed Tasks” and places it after “Change State to Texas.”
- Refines the demo documentation and example prompt.
| File | Description |
|---|---|
| apps/demos/Demos/Chat/PageLevelAIAssistant/Vue/data.ts | Updates guidance and suggestions. |
| apps/demos/Demos/Chat/PageLevelAIAssistant/ReactJs/AiAssistant.js | Updates guidance and suggestions in JavaScript React. |
| apps/demos/Demos/Chat/PageLevelAIAssistant/React/AiAssistant.tsx | Updates guidance and suggestions in TypeScript React. |
| apps/demos/Demos/Chat/PageLevelAIAssistant/jQuery/index.js | Renames and reorders suggestions. |
| apps/demos/Demos/Chat/PageLevelAIAssistant/jQuery/data.js | Updates empty-state guidance. |
| apps/demos/Demos/Chat/PageLevelAIAssistant/description.md | Refines documentation wording and an example prompt. |
| apps/demos/Demos/Chat/PageLevelAIAssistant/Angular/app/data.ts | Updates guidance and suggestions. |
Review effort: Balanced
EugeniyKiyashko
left a comment
There was a problem hiding this comment.
The renamed suggestion breaks the demo's main scenario. The classifier treats "Review Completed Tasks" as unrelated to the Form and DataGrid (target: 'none'). So clicking the suggestion returns "This request doesn't appear to be related to Form or DataGrid. Please try rephrasing it." instead of filtering the grid. The classifier prompt counts only sorting, filtering and showing/hiding columns as grid operations, and "review" is none of them. The "Review completed tasks" example in description.md has the same problem.
"Show Completed Tasks", "Display Completed Tasks" and "Filter Completed Tasks" all filter by Completed as expected. Please use one of them in the five suggestion lists (Angular, React, ReactJs, Vue, jQuery) and in the description.
| ## Chat in a Popup | ||
|
|
||
| In this demo a [SpeedDialAction](/Documentation/ApiReference/UI_Components/dxSpeedDialAction/) button opens displays a [Popup](/Documentation/ApiReference/UI_Components/dxPopup/) that contains the Chat component. The popup is draggable and resizable, so users can keep the Form and DataGrid visible while they work with the assistant. A toolbar button within the popup header allows you to clear the conversation. | ||
| In this demo a [SpeedDialAction](/Documentation/ApiReference/UI_Components/dxSpeedDialAction/) button opens displays a [Popup](/Documentation/ApiReference/UI_Components/dxPopup/) that contains our Chat component. The popup is draggable and resizable, so users can keep the Form and DataGrid visible while working with the assistant. A toolbar button within the popup header allows you to clear the conversation. |
There was a problem hiding this comment.
Typo: "opens displays" has two verbs in a row.
| In this demo a [SpeedDialAction](/Documentation/ApiReference/UI_Components/dxSpeedDialAction/) button opens displays a [Popup](/Documentation/ApiReference/UI_Components/dxPopup/) that contains our Chat component. The popup is draggable and resizable, so users can keep the Form and DataGrid visible while working with the assistant. A toolbar button within the popup header allows you to clear the conversation. | |
| In this demo a [SpeedDialAction](/Documentation/ApiReference/UI_Components/dxSpeedDialAction/) button opens a [Popup](/Documentation/ApiReference/UI_Components/dxPopup/) that contains our Chat component. The popup is draggable and resizable, so users can keep the Form and DataGrid visible while working with the assistant. A toolbar button within the popup header allows you to clear the conversation. |
No description provided.