jscheffl commented on code in PR #50100:
URL: https://github.com/apache/airflow/pull/50100#discussion_r2071469294
##########
airflow-core/src/airflow/ui/src/pages/Events/Events.tsx:
##########
@@ -41,6 +42,43 @@ const eventsColumn = (
skeletonWidth: 10,
},
},
+ {
+ accessorKey: "event",
+ enableSorting: true,
+ header: "Event",
+ meta: {
+ skeletonWidth: 10,
+ },
+ },
+ {
+ accessorKey: "owner",
+ enableSorting: true,
+ header: "User",
+ meta: {
+ skeletonWidth: 10,
+ },
+ },
+ {
+ accessorKey: "extra",
+ cell: ({ row: { original } }) => {
+ if (original.extra !== null) {
+ try {
+ const parsed = JSON.parse(original.extra) as Record<string, unknown>;
+
+ return <RenderedJsonField content={parsed} jsonProps={{ collapsed:
true }} />;
Review Comment:
That might be a good idea. Collapsed by default and a button to
expand/collapse all...
--
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]