-
Notifications
You must be signed in to change notification settings - Fork 663
✨AI Column: Write JS Framework demos, React #31666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a React demo for the new DataGrid AI Column feature. The demo showcases how to integrate AI capabilities into a DataGrid to automatically generate content for a column using OpenAI's API.
- Implements a vehicle catalog DataGrid with AI-generated "Country of Origin" column
- Uses Azure OpenAI integration for AI responses
- Includes custom cell templates for trademark display with images and license info popup
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| App.tsx | Main demo component implementing DataGrid with AI column integration |
| data.ts | AI integration setup and vehicle data array (~70 items) |
| types.ts | TypeScript interfaces for Vehicle and AIMessage |
| Trademark.tsx | Custom cell component for trademark display with image |
| Category.tsx | Custom cell component for category badge rendering |
| LicenseInfo.tsx | Popup content component displaying image license information |
| index.tsx | React app entry point using ReactDOM.render |
| index.html | HTML template for the demo |
| styles.css | Component-specific styling |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 17 out of 17 changed files in this pull request and generated 3 comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 17 out of 17 changed files in this pull request and generated no new comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 35 out of 35 changed files in this pull request and generated 1 comment.
68fce6e to
abade2a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 35 out of 35 changed files in this pull request and generated no new comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 35 out of 35 changed files in this pull request and generated no new comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 35 out of 35 changed files in this pull request and generated no new comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 47 out of 47 changed files in this pull request and generated no new comments.
No description provided.