KatalKavya96 opened a new pull request, #56083: URL: https://github.com/apache/airflow/pull/56083
UI: Restore “Expand/Collapse all” on XComs page closes: #56061 ### What’s changed - Added Expand all / Collapse all controls to the XComs page toolbar, matching the Audit Logs page. - Plumbed a boolean open state (via Chakra’s useDisclosure) into the XComs table and forwarded it to each row’s value renderer. - Updated XComEntry to accept an optional open prop and pass collapsed: !open to RenderedJsonField so JSON objects/arrays expand or collapse globally. - Kept scalar values rendering as plain text; added lightweight URL auto-linking for better readability. ### Rationale - The Audit Logs page exposes a global expand/collapse control for JSON content, but XComs did not. This restores UI parity and improves usability when scanning large XCom payloads. ### Implementation notes - No API or backend changes. - Reused existing i18n keys from Audit Logs for button labels (auditLog.actions.expandAllExtra, auditLog.actions.collapseAllExtra). - No changes to table sorting, pagination, or filters. ### Demo Video https://github.com/user-attachments/assets/ef7273bd-2169-488a-88c0-2fc1d9f59043 -- 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]
