wayblink opened a new pull request, #77772:
URL: https://github.com/apache/airflow/pull/77772

   ## Why
   
   The Dag list currently gives no way to tell which Dag bundle a Dag comes 
from, even though the API already returns `bundle_name` on every Dag. In a 
deployment that loads several bundles, that makes it hard to tell similar Dags 
apart and impossible to narrow the list down to a single bundle.
   
   ## What
   
   - **Dag table**: new `Bundle` column (not sortable; the value is 
informational).
   - **Dag cards**: show `Bundle: <name>` next to the Dag name, styled like the 
existing tags.
   - **Filters**: a `Bundle` filter, populated from `/api/v2/dagBundles` (so it 
only offers bundles the signed-in user may read and respects the `Plugins`/Dag 
read permissions). When both the bundle filter and the folder tree bundle 
selection are set, the filter wins.
   - New `useDagBundles` query hook (60s `staleTime`, auto-refresh aware).
   - i18n entries for `en` and `zh-CN`.
   
   ## Tests
   
   - `DagsListColumns.test.tsx`: asserts the bundle column exists and is not 
sortable.
   - `DagsFilters.test.tsx`: asserts the bundle filter is offered in the filter 
menu.
   
   `pnpm exec tsc --noEmit -p tsconfig.app.json` and the three affected test 
files pass locally.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — DeepSeek Agent
   
   Generated-by: DeepSeek Agent 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]

Reply via email to