[ZEPPELIN-6762] Fix truncated output alerts in the new UI #5591
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 325 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.346
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #5591"
general
weight: 0.35
jongyoul
What is this PR for?
Fix the unstyled “Output is truncated” alert and its non-functional close button in the new UI.
The alert HTML generated by the server relies on Bootstrap styles and dismissal behavior, which the new UI does not provide. This PR adds light/dark theme styling and close-button handling for both Angular and React.
What type of PR is it?
Bug Fix
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-6762
How should this be tested?
Automated tests
Manual verification
1. Create a notebook using the sh interpreter and run:
2. Verify that the “Output is truncated” alert below the output has a background, border, and close button.
3. Click × and verify that only the alert disappears; the output text should remain.
4. Run the paragraph again. Verify that the alert reappears and can also be dismissed by focusing its close button and pressing Enter.
5. Repeat in both light and dark themes.
6. Open the same paragraph in the React Published view and repeat:
To verify the row-limit alert with a PostgreSQL JDBC interpreter, set zeppelin.jdbc.maxResult to 1000 and run:
Verify that the row-limit alert following the table is styled correctly and can be dismissed.
Screenshots (if appropriate)
Angular dark theme
<img width="1280" height="420" alt="zeppelin-6762-angular-dark" src="https://github.com/user-attachments/assets/22343a9e-9aa1-47d8-86a6-6320b3f1d675" />
Angular light theme
<img width="1280" height="420" alt="zeppelin-6762-angular-light" src="https://github.com/user-attachments/assets/3498ac84-d76f-4ffe-a831-12d9c7e6e5e6" />
React dark theme
<img width="1600" height="525" alt="zeppelin-6762-react-dark" src="https://github.com/user-attachments/assets/d7f85139-e1bf-425e-b189-ffba5de510c5" />
React light theme
<img width="1280" height="420" alt="zeppelin-6762-react-light" src="https://github.com/user-attachments/assets/243408ef-3ae0-411f-83e0-5839d123deff" />
Questions:
Does the license files need to update? No.
Is there breaking changes for older versions? No.
Does this needs documentation? No.