bito-code-review[bot] commented on code in PR #37058:
URL: https://github.com/apache/superset/pull/37058#discussion_r2682613231
##########
superset-frontend/src/features/datasets/AddDataset/DatasetPanel/DatasetPanel.tsx:
##########
@@ -49,8 +49,9 @@ interface StyledHeaderProps {
position: EPosition;
}
-const LOADER_WIDTH = 200;
-const SPINNER_WIDTH = 120;
+const LOADER_WIDTH = 120;
+const SPINNER_WIDTH = 40;
+const TEXT_WIDTH = 150;
Review Comment:
<div>
<div id="suggestion">
<div id="issue"><b>Layout overflow in loader</b></div>
<div id="fix">
The TEXT_WIDTH constant is set to 150px, but the StyledLoader container
width is 120px, causing the text div to overflow horizontally during loading.
This may clip or misalign the 'Refreshing columns' text.
</div>
<details>
<summary>
<b>Code suggestion</b>
</summary>
<blockquote>Check the AI-generated fix before applying</blockquote>
<div id="code">
````suggestion
const TEXT_WIDTH = 120;
````
</div>
</details>
</div>
<small><i>Code Review Run #e25e57</i></small>
</div>
---
Should Bito avoid suggestions like this for future reviews? (<a
href=https://alpha.bito.ai/home/ai-agents/review-rules>Manage Rules</a>)
- [ ] Yes, avoid them
--
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]