Skip to content

Conversation

@Vignesh050801
Copy link
Collaborator

@Vignesh050801 Vignesh050801 commented Sep 25, 2025

Bug description

Need to add more sample with ai grid and planned for sp release.

Root cause

Added new sample

Reason for not identifying earlier

Find how it was missed in our earlier testing and development by analyzing the below checklist. This will help prevent similar mistakes in the future.

  • Guidelines/documents are not followed

  • Common guidelines / Core team guideline

  • Specification document

  • Requirement document

  • Guidelines/documents are not given

  • Common guidelines / Core team guideline

  • Specification document

  • Requirement document

Reason:

NA

Action taken:

SB automation has been covered in this case.

Related areas:

Sorting, Alignment, Touch, RTL, resizing

Is it a breaking issue?

No.

Solution description

Get response from open ai to generate query for data operation and assigned to grid query.

Output screenshots

NA.

Areas affected and ensured

NA.

Additional checklist

This may vary for different teams or products. Check with your scrum masters.

  • Did you run the automation against your fix? - No.

  • Is there any API name change? - No

  • Is there any existing behavior change of other features due to this code change? - No

  • Does your new code introduce new warnings or binding errors? - No

  • Does your code pass all FxCop and StyleCop rules? a- No

  • Did you record this case in the unit test or UI test? - No.

const toolbarOptions: object[] = [{ tooltipText: 'AI Assist', prefixIcon: 'e-assistview-icon', id: 'ai-assist-btn', align: 'Left' }];

// Handles the Grid toolbar button click action. If the AI Assist button clicked shows the AI Assist dialog.
const toolbarClick = (args: any) => {

Choose a reason for hiding this comment

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

don't use any type here

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we need to use any bcoz of eventTarget possibly null.


// Handles prompt request execution.
const onPromptRequest = (args: PromptRequestEventArgs) => {
(assistView as any).stopResponding.classList.remove('e-btn-active');

Choose a reason for hiding this comment

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

don't use any here

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We need to use any type here bcoz of accessing the private method

Copy link

@rajapandiyan-settu rajapandiyan-settu left a comment

Choose a reason for hiding this comment

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

provide a proper PR template for this implementation

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants