You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "justinpark (via GitHub)" <gi...@apache.org> on 2026/03/25 19:07:16 UTC

[PR] fix(sqllab): long cell content overflooding [superset]

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

   ### SUMMARY
   Fixes #38854
   
   Due to the pre-wrap added in #37036, an issue occurred where the SQL Lab result table cell content supporting the JSON viewer was overlapping with the content of the next line. This has been fixed by making pre-wrap configurable as a props option, so that pre-wrap is excluded for the result table.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   
   Before:
   
   <img width="609" height="464" alt="Screenshot 2026-03-25 at 12 00 46 PM" src="https://github.com/user-attachments/assets/19b57108-9e19-48c0-90a6-92630b37b2bf" />
   
   After:
   
   <img width="599" height="196" alt="Screenshot 2026-03-25 at 12 06 17 PM" src="https://github.com/user-attachments/assets/0f283553-e4f3-4d79-a9d3-e2b8c53ecd46" />
   
   ### TESTING INSTRUCTIONS
   
   locally tested
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] 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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(sqllab): long cell content overflooding [superset]

Posted by "codeant-ai-for-open-source[bot] (via GitHub)" <gi...@apache.org>.
codeant-ai-for-open-source[bot] commented on PR #38855:
URL: https://github.com/apache/superset/pull/38855#issuecomment-4129066837

   ## **Sequence Diagram**
   
   This PR makes JSON trigger text wrapping configurable in JsonModal and disables wrapping for SQL Lab result cells. The main flow now renders JSON cell previews without pre wrap, preventing overlap while preserving modal preview behavior.
   
   ```mermaid
   sequenceDiagram
       participant User
       participant ResultTable
       participant JsonModal
   
       User->>ResultTable: View SQL Lab results
       ResultTable->>ResultTable: Detect JSON cell content
       ResultTable->>JsonModal: Render JSON trigger with wrapContent false
       JsonModal->>JsonModal: Show trigger text without pre wrap
       User->>JsonModal: Open cell content modal
       JsonModal-->>User: Display formatted JSON content
   ```
   
   ---
   *Generated by [CodeAnt AI](https://codeant.ai)*
   


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(sqllab): long cell content overflooding [superset]

Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #38855:
URL: https://github.com/apache/superset/pull/38855#issuecomment-4129061882

   AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(sqllab): long cell content overflooding [superset]

Posted by "michael-s-molina (via GitHub)" <gi...@apache.org>.
michael-s-molina merged PR #38855:
URL: https://github.com/apache/superset/pull/38855


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(sqllab): long cell content overflooding [superset]

Posted by "netlify[bot] (via GitHub)" <gi...@apache.org>.
netlify[bot] commented on PR #38855:
URL: https://github.com/apache/superset/pull/38855#issuecomment-4129088203

   ### <span aria-hidden="true">✅</span> Deploy Preview for *superset-docs-preview* ready!
   
   
   |  Name | Link |
   |:-:|------------------------|
   |<span aria-hidden="true">🔨</span> Latest commit | c3dca325a0865a32580a1231cc393f7631d6a1e0 |
   |<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/projects/superset-docs-preview/deploys/69c432662a1ef40008674ef1 |
   |<span aria-hidden="true">😎</span> Deploy Preview | [https://deploy-preview-38855--superset-docs-preview.netlify.app](https://deploy-preview-38855--superset-docs-preview.netlify.app) |
   |<span aria-hidden="true">📱</span> Preview on mobile | <details><summary> Toggle QR Code... </summary><br /><br />![QR Code](https://app.netlify.com/qr-code/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2RlcGxveS1wcmV2aWV3LTM4ODU1LS1zdXBlcnNldC1kb2NzLXByZXZpZXcubmV0bGlmeS5hcHAifQ.KeKD7gCB3XH6cU2SlHu-v4ZQ73bxMISjwmgaC7XAcbw)<br /><br />_Use your smartphone camera to open QR code link._</details> |
   ---
   <!-- [superset-docs-preview Preview](https://deploy-preview-38855--superset-docs-preview.netlify.app) -->
   _To edit notification comments on pull requests, go to your [Netlify project configuration](https://app.netlify.com/projects/superset-docs-preview/configuration/notifications#deploy-notifications)._


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org