Skip to content

[Optimization] Optimize DOM - improve the performance aiwidget#4601

Closed
Ajeett01 wants to merge 1 commit intosugarlabs:masterfrom
Ajeett01:at/optimise-dom-aiwidget-file
Closed

[Optimization] Optimize DOM - improve the performance aiwidget#4601
Ajeett01 wants to merge 1 commit intosugarlabs:masterfrom
Ajeett01:at/optimise-dom-aiwidget-file

Conversation

@Ajeett01
Copy link
Contributor

@Ajeett01 Ajeett01 commented Apr 2, 2025

issue : #4461

Repeated calls to document.getElementsByClassName, document.querySelectorAll, etc., without caching the results.
In aiwidget.js, the same calculations are performed repeatedly in loop.
Many event listeners are added without being removed when components are destroyed.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 2, 2025

✅ All Jest tests passed! This PR is ready to merge.

@walterbender
Copy link
Member

Not sure I understand this one. You define a const that is never used.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 5, 2025

This pull request has been open for more than 60 days without any activity. It will be closed in 3 days unless the stale label is removed or commented on.

@github-actions github-actions bot added the Stale label Jun 5, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jun 8, 2025

Closed pull request due to inactivity for more than 63 days.

@github-actions github-actions bot closed this Jun 8, 2025
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