You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@zeppelin.apache.org by "miinhho (via GitHub)" <gi...@apache.org> on 2026/10/26 17:39:19 UTC
[PR] [ZEPPELIN-6762] Fix truncated output alerts in the new UI [zeppelin]
miinhho opened a new pull request, #5591:
URL: https://github.com/apache/zeppelin/pull/5591
### 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
- Run the following commands from the repository root:
```bash
cd zeppelin-web-angular
npm run test:shell -- src/app/pages/workspace/share/result/result.component.spec.ts --maxWorkers=1
npm --prefix projects/zeppelin-react test -- src/components/renderers/HTMLRenderer.spec.tsx --maxWorkers=1
```
Manual verification
1. Create a notebook using the sh interpreter and run:
```sh
%sh
for i in $(seq 1 20000); do echo "line_$i"; done
```
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:
```text
/#/notebook/<noteId>/paragraph/<paragraphId>?react=true
```
To verify the row-limit alert with a PostgreSQL JDBC interpreter, set zeppelin.jdbc.maxResult to 1000 and run:
```sql
%jdbc
SELECT generate_series(1, 2000);
```
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.
--
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: reviews-unsubscribe@zeppelin.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [ZEPPELIN-6762] Fix truncated output alerts in the new UI [zeppelin]
Posted by "voidmatcha (via GitHub)" <gi...@apache.org>.
voidmatcha commented on PR #5591:
URL: https://github.com/apache/zeppelin/pull/5591#issuecomment-6440981069
Merged into master (9799b263).
--
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: reviews-unsubscribe@zeppelin.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [ZEPPELIN-6762] Fix truncated output alerts in the new UI [zeppelin]
Posted by "voidmatcha (via GitHub)" <gi...@apache.org>.
voidmatcha merged PR #5591:
URL: https://github.com/apache/zeppelin/pull/5591
--
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: reviews-unsubscribe@zeppelin.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org