basantjamwal opened a new pull request, #77414: URL: https://github.com/apache/airflow/pull/77414
Follow-up to #74112, as discussed with @bbovenzi there. Long string XCom values are cut off by the `200px` max height in the XCom table. This adds a "View full" button that opens the full value in a dialog. - Strings over 200 characters or more than 5 lines get a "View full" button. - The dialog shows the full value with newlines and links preserved, scrolls inside the dialog, and has a copy button. It closes with Esc, a click outside, or the close button (existing `Modal` behaviour). - Short strings and JSON values are unchanged. - Adds `xcom.viewFull` to the English `browse.json`. The 200 characters / 5 lines thresholds are my choice and easy to adjust if you prefer different values. Tests: two new cases in `XComEntry.test.tsx` (long value opens the dialog with the full text and a copy button, short value has no button). I also checked it manually in the UI with a DAG that pushes long, short, link and JSON values. related: #74112 **Table with the "View full" button** <img width="1920" height="1080" alt="Screenshot 2026-11-21 012327" src="https://github.com/user-attachments/assets/11290d34-2475-4f86-81eb-a68050dac6d8" /> **Dialog** <img width="1920" height="1080" alt="Screenshot 2026-11-21 012340" src="https://github.com/user-attachments/assets/b8245890-443c-4b01-a9e6-8cdb60db6258" /> --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes (please specify the tool below) Generated-by: Claude (Anthropic) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) --- -- 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]
