Skip to content

UI: Wire advanced-search toggle for Grid Triggering User filter - #70567

Merged
bbovenzi merged 1 commit into
apache:mainfrom
dheerajturaga:ui-grid-triggering-user-toggle
Jul 28, 2026
Merged

UI: Wire advanced-search toggle for Grid Triggering User filter#70567
bbovenzi merged 1 commit into
apache:mainfrom
dheerajturaga:ui-grid-triggering-user-toggle

Conversation

@dheerajturaga

@dheerajturaga dheerajturaga commented Jul 27, 2026

Copy link
Copy Markdown
Member

The Grid endpoint accepts both the substring triggering_user and the index-friendly triggering_user_prefix variants of the Triggering User filter, and the pill on the Grid's filter bar already renders the substring/prefix advanced-search toggle. But the Grid query hooks were only ever sending the substring param regardless of toggle state — so the toggle effectively did nothing on the Grid.

Route the value through useAdvancedSearchArg in useGridRuns and useGridStructure so the toggle actually selects between the two variants on each request, matching the Run ID filter wiring landed in #70150 and the Dag Runs page.

image image
Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 4.8)

Generated-by: Claude Code (Opus 4.8) following the guidelines

The Grid endpoint accepts both the substring ``triggering_user`` and
the index-friendly ``triggering_user_prefix`` variants, and the pill
already exposes the substring/prefix toggle, but the Grid query hooks
were only ever sending the substring param regardless of toggle state.
Route the value through ``useAdvancedSearchArg`` so the toggle actually
selects between the two variants on each request, matching the Run ID
filter and the Dag Runs page.
@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Jul 27, 2026
@dheerajturaga dheerajturaga added this to the Airflow 3.3.1 milestone Jul 28, 2026
@dheerajturaga dheerajturaga added the ready for maintainer review Set after triaging when all criteria pass. label Jul 28, 2026
@bbovenzi
bbovenzi merged commit 1e7f553 into apache:main Jul 28, 2026
89 checks passed
@vatsrahul1001

Copy link
Copy Markdown
Contributor

Fixes issue introduced by #70150, moved 70150 to 3.4.0 so moving this one as well

dabla pushed a commit to dabla/airflow that referenced this pull request Aug 14, 2026
…he#70567)

The Grid endpoint accepts both the substring ``triggering_user`` and
the index-friendly ``triggering_user_prefix`` variants, and the pill
already exposes the substring/prefix toggle, but the Grid query hooks
were only ever sending the substring param regardless of toggle state.
Route the value through ``useAdvancedSearchArg`` so the toggle actually
selects between the two variants on each request, matching the Run ID
filter and the Dag Runs page.
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. ready for maintainer review Set after triaging when all criteria pass.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants