Skip to content

New Demo: Chat - Page-Level AI Assistant - #35603

Open
16adianay wants to merge 2 commits into
mainfrom
feature/demo-page-level-ai-assistant
Open

16adianay wants to merge 2 commits into
mainfrom
feature/demo-page-level-ai-assistant

Conversation

@16adianay

Copy link
Copy Markdown
Contributor

Add a new demo: Page-Level AI Assistant for the Chat component

The demo shows how Chat can be used as a page-level AI assistant that interprets natural-language commands and drives other widgets on the page (Form, DataGrid) — e.g. filling form fields or filtering/updating grid data via chat

@16adianay 16adianay self-assigned this Oct 9, 2026
@16adianay
16adianay requested a review from a team as a code owner October 9, 2026 12:54
@16adianay 16adianay added the 26_2 label Oct 9, 2026
Copilot AI balanced review requested due to automatic review settings October 9, 2026 12:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Smart Paste timing and cross-framework routing inconsistencies can cause late mutations or incorrect failures.

13 open findings
What changed in this PR

Adds a cross-framework Chat demo where an AI assistant controls a Form and DataGrid through natural-language requests.

Changes:

  • Implements AI request routing, Smart Paste, and DataGrid commands.
  • Adds Angular, React, Vue, and jQuery variants.
  • Registers demo metadata, CSP access, and documentation.
File Description
apps/​demos/​utils/​server/​csp-server.js Allows demo AI connections and scripts.
apps/​demos/​menuMeta.json Registers the new demo.
.../​Vue/​TaskGrid.vue Implements the Vue task grid.
.../​Vue/​service.ts Configures Vue AI requests.
.../​Vue/​index.ts Mounts the Vue application.
.../​Vue/​index.html Hosts the Vue demo.
.../​Vue/​gridCommands.ts Implements Vue grid commands.
.../​Vue/​formCommands.ts Implements Vue form commands.
.../​Vue/​EmployeeForm.vue Implements the Vue employee form.
.../​Vue/​data.ts Defines Vue data and types.
.../​Vue/​chatRouter.ts Routes Vue chat requests.
.../​Vue/​App.vue Composes the Vue demo.
.../​Vue/​AiAssistant.vue Implements the Vue assistant UI.
.../​ReactJs/​TaskGrid.js Implements the JavaScript React grid.
.../​ReactJs/​styles.css Styles the JavaScript React demo.
.../​ReactJs/​service.js Configures JavaScript React AI requests.
.../​ReactJs/​index.js Mounts the JavaScript React app.
.../​ReactJs/​index.html Hosts the JavaScript React demo.
.../​ReactJs/​grid-commands.js Implements grid commands.
.../​ReactJs/​form-commands.js Implements form commands.
.../​ReactJs/​EmployeeForm.js Implements the employee form.
.../​ReactJs/​data.js Defines demo data.
.../​ReactJs/​chat-router.js Routes assistant requests.
.../​ReactJs/​App.js Composes the demo.
.../​ReactJs/​AiAssistant.js Implements the assistant UI.
.../​React/​TaskGrid.tsx Implements the typed React grid.
.../​React/​styles.css Styles the React demo.
.../​React/​service.ts Configures React AI requests.
.../​React/​index.tsx Mounts the React app.
.../​React/​index.html Hosts the React demo.
.../​React/​grid-commands.ts Implements typed grid commands.
.../​React/​form-commands.ts Implements typed form commands.
.../​React/​EmployeeForm.tsx Implements the React form.
.../​React/​data.ts Defines React data and types.
.../​React/​chat-router.ts Routes React requests.
.../​React/​App.tsx Composes the React demo.
.../​React/​AiAssistant.tsx Implements the React assistant UI.
.../​jQuery/​styles.css Styles the jQuery demo.
.../​jQuery/​index.js Implements the jQuery demo behavior.
.../​jQuery/​index.html Hosts the jQuery demo.
.../​jQuery/​data.js Defines jQuery demo data.
.../​description.md Documents the demo and APIs.
.../​Angular/​index.html Hosts the Angular demo.
.../​Angular/​app/​data.ts Defines Angular data and types.
.../​task-grid/​task-grid.component.ts Implements grid behavior.
.../​task-grid/​task-grid.component.html Defines the grid template.
.../​task-grid/​task-grid.component.css Styles the grid.
.../​employee-form/​employee-form.component.ts Implements form behavior.
.../​employee-form/​employee-form.component.html Defines the form template.
.../​employee-form/​employee-form.component.css Styles the form.
.../​ai-assistant/​ai-assistant.component.ts Implements assistant behavior.
.../​ai-assistant/​ai-assistant.component.html Defines the assistant template.
.../​ai-assistant/​ai-assistant.component.css Styles the assistant.
.../​commands/​grid-commands.ts Implements Angular grid commands.
.../​commands/​form-commands.ts Implements Angular form commands.
.../​Angular/​app/​app.service.ts Routes Angular requests.
.../​Angular/​app/​app.component.ts Bootstraps and coordinates the demo.
.../​Angular/​app/​app.component.html Composes Angular components.
.../​Angular/​app/​app.component.css Styles the demo container.
.../​Angular/​app/​ai/​ai.service.ts Configures Angular AI requests.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread apps/demos/Demos/Chat/PageLevelAIAssistant/React/chat-router.ts
Comment thread apps/demos/Demos/Chat/PageLevelAIAssistant/React/form-commands.ts
Comment thread apps/demos/Demos/Chat/PageLevelAIAssistant/Vue/formCommands.ts
Comment thread apps/demos/Demos/Chat/PageLevelAIAssistant/jQuery/index.js
Comment thread apps/demos/Demos/Chat/PageLevelAIAssistant/jQuery/index.js
Comment thread apps/demos/Demos/Chat/PageLevelAIAssistant/jQuery/index.js
Comment thread apps/demos/Demos/Chat/PageLevelAIAssistant/description.md
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants