rinimisinii opened a new pull request, #37709:
URL: https://github.com/apache/superset/pull/37709

   ### SUMMARY
   This PR fixes a UI issue where very long database error messages overflow 
the container and become difficult to read or copy.
   
   The problem commonly occurs during database validation or metadata 
migrations (e.g. SQLite → PostgreSQL), where error output can be verbose.
   The change ensures long error messages are rendered in a scrollable, 
readable way without truncation, improving usability while debugging database 
issues.
   
   This is a frontend-only change and does not affect backend behavior.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   BEFORE
   <img width="1917" height="1086" alt="Screenshot from 2026-02-05 17-12-14" 
src="https://github.com/user-attachments/assets/1dce87c0-838d-4407-a889-69ebf7a8bc63";
 />
   AFTER
   <img width="1917" height="1086" alt="Screenshot from 2026-02-05 17-14-25" 
src="https://github.com/user-attachments/assets/f1d180f3-16e0-4568-bdfe-687d580fcd94";
 />
   
   
   ### TESTING INSTRUCTIONS
   Configure or migrate a Superset metadata database in a way that produces a 
long database error message (e.g. schema mismatch during SQLite → PostgreSQL 
migration)
   
   1. Ensure a schema mismatch exists (for example, a foreign key constraint 
where column types differ, such as string vs uint)
   2. Verify that the error message:
   3. Does not overflow the UI
   4. Remains fully readable
   5. Can be selected and copied in full
   
   ### ADDITIONAL INFORMATION
   - [x] Has associated issue: #37707
   - [ ] Required feature flags:
   - [x] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


-- 
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]

Reply via email to