Skip to content

Reveal selected Dag folders when names contain pipes - #75196

Merged
bbovenzi merged 2 commits into
apache:mainfrom
himanshuchawla0807-gif:fix/dag-folder-selection-key
Oct 21, 2026
Merged

bbovenzi merged 2 commits into
apache:mainfrom
himanshuchawla0807-gif:fix/dag-folder-selection-key

Conversation

@himanshuchawla0807-gif

@himanshuchawla0807-gif himanshuchawla0807-gif commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Switching from bundle a|b, folder c to bundle a, folder b|c leaves the newly selected folder hidden because both selections produce the same delimiter-joined change key. Serialize the selection fields as a tuple so the new bundle and selected folder expand correctly.

The regression checks selection and visibility after rerendering. It fails with the previous key construction and passes with this fix. Existing manual collapse/expansion behavior remains covered.

Validation:

  • 31 folder component/tree tests passed.
  • Full UI suite: 1,981 tests across 242 files passed. The first run exposed an unrelated timing-sensitive variable-form assertion; its unchanged scoped rerun and the full confirmation run passed.
  • Simple-auth UI test passed.
  • ESLint, TypeScript, commit hooks, regular and manual prek checks passed, including production asset compilation.

The initial shared-distribution and CI-image failures were caused by duplicate pyvespa entries in the upstream uv.lock, repaired upstream by #75200. Merged the repaired base into this branch without rewriting history; the 31 folder tests and regular/manual checks still pass. The UI source and dependency lockfile are unchanged by that base update.

Before/after below use the actual DagFolderTree component with local fixture folders, rather than a deployed Airflow API server.

Before After
Selected folder stays hidden Selected folder becomes visible

Was generative AI tooling used to co-author this PR?
  • Yes — OpenAI Codex

Generated-by: OpenAI Codex following the guidelines.


Drafted-by: OpenAI Codex (no human review before posting)

Distinct bundle and folder selections can share a delimiter-joined key, leaving the selected folder hidden during navigation.
@bbovenzi bbovenzi added the backport-to-v3-4-test Backport to v3-4-test label Oct 20, 2026
@bbovenzi bbovenzi added this to the Airflow 3.4.0 milestone Oct 20, 2026
@bbovenzi
bbovenzi merged commit 57aedbf into apache:main Oct 21, 2026
77 of 78 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Backport successfully created: v3-4-test

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
✅ v3-4-test PR Link

aws-airflow-bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Oct 22, 2026
…che#75196)

Distinct bundle and folder selections can share a delimiter-joined key, leaving the selected folder hidden during navigation.
(cherry picked from commit 57aedbf)

Co-authored-by: Himanshu Chawla <himanshuchawla0807@gmail.com>
Co-authored-by: Himanshu Chawla <241715894+himanshuchawla0807-gif@users.noreply.github.com>
vatsrahul1001 pushed a commit that referenced this pull request Oct 23, 2026
) (#75319)

Distinct bundle and folder selections can share a delimiter-joined key, leaving the selected folder hidden during navigation.
(cherry picked from commit 57aedbf)

Co-authored-by: Himanshu Chawla <himanshuchawla0807@gmail.com>
Co-authored-by: Himanshu Chawla <241715894+himanshuchawla0807-gif@users.noreply.github.com>
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. backport-to-v3-4-test Backport to v3-4-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants