Skip to content

UI: Show Dag Run conf in list with compact preview#68904

Open
ashutosh264 wants to merge 5 commits into
apache:mainfrom
ashutosh264:ui-show-dag-run-conf-column
Open

UI: Show Dag Run conf in list with compact preview#68904
ashutosh264 wants to merge 5 commits into
apache:mainfrom
ashutosh264:ui-show-dag-run-conf-column

Conversation

@ashutosh264

@ashutosh264 ashutosh264 commented Jun 23, 2026

Copy link
Copy Markdown

Airflow 3 already exposed Dag Run conf in the API and defined a Conf column in the Dag Runs table, but the column was hidden by default (conf: false in columnVisibility). That broke AF2 parity for operators who trigger Dags with run conf and need to see it in the list without opening column settings.

This PR makes Conf visible by default and renders it as a compact derived column instead of inline Monaco JSON per row:

  • Empty conf (null or {}): single muted “Empty” state
  • Non-empty conf: key-count badge + truncated JSON preview; tooltip when truncated
  • Full payload: lazy-loaded in a dialog on click (lazyMount / unmountOnExit), so large configs do not hurt list performance
  • Sorting: disabled on the derived Conf column (enableSorting: false)
  • Filtering: existing conf_contains filter unchanged; covered by tests
  • Applies to both Browse → Dag Runs (/dag_runs) and Dag → Runs (/dags/:dagId/runs).

Closes: #53382


Was generative AI tooling used to co-author this PR?

Yes — Cursor (Auto)
Generated-by: Cursor (Auto) following the guidelines

Airflow 3 hid the conf column even though the API and column definition
already existed. Operators triggering Dags with run conf need that
context in the list view without toggling columns manually.
closes: apache#53382
@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Jun 23, 2026
@ashutosh264 ashutosh264 changed the title UI: Show Dag Run conf column by default in Dag Runs list UI: Show Dag Run conf in list with compact preview Jun 23, 2026
ashutosh264 and others added 4 commits June 23, 2026 19:40
Inline JSON editors made the Dag Runs table noisy when conf was shown by
default. Use a key-count badge and truncated preview in the list, with full
conf loaded only when the operator opens the dialog.
@ashutosh264

Copy link
Copy Markdown
Author

UI Screenshots

  • Empty conf
image
  • In runs tab
image
  • On Click
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parity with Airflow2 run_conf displayed in dag run list

1 participant