EnxDev commented on code in PR #36332:
URL: https://github.com/apache/superset/pull/36332#discussion_r2591828730
##########
superset-frontend/src/explore/components/SaveModal.test.jsx:
##########
@@ -520,3 +520,90 @@ test('onTabChange correctly updates selectedTab via
forceUpdate', () => {
value: 'tab2',
label: 'Analytics Tab',
});
+});
+
+test('chart placement logic finds row with available space', () => {
+ const GRID_COLUMN_COUNT = 12; // From the actual implementation
+ const chartWidth = 4; // From the actual implementation
Review Comment:
I also think we can put those constants inside
`superset-frontend/src/dashboard/constants.ts`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]