fix(embedded): register AG Grid modules for view-as-table modal - #41632
Conversation
Code Review Agent Run #a11336Actionable Suggestions - 0Additional Suggestions - 1
Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
5eb84a7 to
825160c
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #41632 +/- ##
==========================================
+ Coverage 64.45% 64.47% +0.02%
==========================================
Files 2670 2670
Lines 147343 147344 +1
Branches 33988 33988
==========================================
+ Hits 94966 95002 +36
+ Misses 50650 50615 -35
Partials 1727 1727
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
5dd8453 to
5a73c2e
Compare
Code Review Agent Run #08892fActionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
|
Thanks @durgaprasadml! Confirmed the main app registers AG Grid modules in |
SUMMARY
Fixes an issue where the “View as table” action fails in Embedded Dashboard mode with the following error:
AG Grid: error #272 No AG Grid modules are registered!
The embedded dashboard application uses a separate bootstrap entrypoint from the main Superset application. While the main application initializes AG Grid modules during startup, the embedded bootstrap flow did not initialize them before AG Grid components were mounted.
This change ensures AG Grid modules are initialized during embedded application startup, aligning the embedded initialization flow with the main application and allowing the “View as table” modal to render correctly inside embedded dashboards.
Fixes #41630.
⸻
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before
After
⸻
TESTING INSTRUCTIONS
EMBEDDED_SUPERSET = True
Additionally: