RabahAmrouche05 commented on PR #68544: URL: https://github.com/apache/airflow/pull/68544#issuecomment-5160091694
Thanks @bbovenzi @pierrejeambrun, switched the tree to the chakra TreeView component. No more onClick on divs, and we get keyboard navigation and the aria attributes for free. I also fixed two things I hit while testing with a real multi bundle setup: - Alignment: folders with children were shifted to the right compared to their siblings, because only they render an expand chevron. Leaf folders now render a hidden placeholder (same icon, visibility hidden + aria-hidden) so both line up on the same column. - Stale dags: the folders endpoint now filters them out (is_stale == false), to match the dag list which hides stale dags by default. Before that, a bundle that stopped being parsed kept its folders in the tree, and clicking one gave you an empty list. Both are covered by tests. Here is the setup I used, two bundles that both have a team_a/etl folder: <img width="241" height="251" alt="Capture d’écran 2026-08-01 à 23 42 31" src="https://github.com/user-attachments/assets/b50c7d67-3745-4712-841b-dfed7069ba4e" /> And the tree in the UI, each bundle keeping its own folders: https://github.com/user-attachments/assets/7ebab2ab-a28b-4e68-8925-da39945dc87d -- 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]
