You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Chan Ho Lee (Jira)" <ji...@apache.org> on 2025/07/07 13:14:00 UTC

[jira] [Created] (ZEPPELIN-6214) Web app is not handling carriage return (`\r`)

Chan Ho Lee created ZEPPELIN-6214:
-------------------------------------

             Summary: Web app is not handling carriage return (`\r`)
                 Key: ZEPPELIN-6214
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-6214
             Project: Zeppelin
          Issue Type: Bug
            Reporter: Chan Ho Lee
         Attachments: image-2025-07-07-22-05-40-945.png, image-2025-07-07-22-06-16-143.png

* Summary
 ** The new UI (`zeppelin-web-angular`) does not currently handle carriage return (`\r`) characters properly, causing certain outputs to appear unnecessarily long.
 * Description
 ** In the classic UI (`zeppelin-web`), we used to handle the carriage return character by replacing lines accordingly - this helped render outputs like progress bars or overwrite-style logs in a concise, readable form.
 ** However, the new UI does not currently implement similar logic, so outputs that rely on `\r` appear overly long and cluttered.
 ** We may need to add logics similar to what's in the `zeppelin-web`, specifically in files like [result.controller.js|https://github.com/apache/zeppelin/blob/8ca6e57f27324b1e74fc78bea5cabd176b607408/zeppelin-web/src/app/notebook/paragraph/result/result.controller.js#L527] , [result.js|https://github.com/apache/zeppelin/blob/8ca6e57f27324b1e74fc78bea5cabd176b607408/zeppelin-web/src/app/notebook/paragraph/result/result.js#L23] to properly process carriage returns.
 * Example

 * 
 ** Classic UI (zeppelin-web),
 *** !image-2025-07-07-22-05-40-945.png!
 ** New UI (zeppelin-web-angular)
 *** !image-2025-07-07-22-06-16-143.png!

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)