Skip to content

[v3-2-test] UI: Show deactivated state for stale DAGs (#65214)#65218

Merged
pierrejeambrun merged 1 commit intov3-2-testfrom
backport-2d42641-v3-2-test
Apr 14, 2026
Merged

[v3-2-test] UI: Show deactivated state for stale DAGs (#65214)#65218
pierrejeambrun merged 1 commit intov3-2-testfrom
backport-2d42641-v3-2-test

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

When a DAG becomes stale or deactivated, the UI still shows
active-oriented controls like the pause toggle, parse action, and
next-run information. This change makes the deactivated state explicit
by showing a badge and hiding controls that imply the DAG is still
schedulable.

  • Add reusable DagDeactivatedBadge component
  • Show badge instead of pause toggle for stale DAGs in header and
    breadcrumb
  • Hide next-run stat and parse action for stale DAGs
  • Add regression test for stale DAG header behavior

Fixes #63800
(cherry picked from commit 2d42641)

Co-authored-by: Pierre Jeambrun pierrejbrun@gmail.com

When a DAG becomes stale or deactivated, the UI still shows
active-oriented controls like the pause toggle, parse action, and
next-run information. This change makes the deactivated state explicit
by showing a badge and hiding controls that imply the DAG is still
schedulable.

- Add reusable DagDeactivatedBadge component
- Show badge instead of pause toggle for stale DAGs in header and
  breadcrumb
- Hide next-run stat and parse action for stale DAGs
- Add regression test for stale DAG header behavior

Fixes #63800
(cherry picked from commit 2d42641)

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
@pierrejeambrun
Copy link
Copy Markdown
Member

Unrelated CI failure, merging.

@pierrejeambrun pierrejeambrun merged commit 778c688 into v3-2-test Apr 14, 2026
61 of 62 checks passed
@pierrejeambrun pierrejeambrun deleted the backport-2d42641-v3-2-test branch April 14, 2026 15:52
vatsrahul1001 pushed a commit that referenced this pull request Apr 15, 2026
When a DAG becomes stale or deactivated, the UI still shows
active-oriented controls like the pause toggle, parse action, and
next-run information. This change makes the deactivated state explicit
by showing a badge and hiding controls that imply the DAG is still
schedulable.

- Add reusable DagDeactivatedBadge component
- Show badge instead of pause toggle for stale DAGs in header and
  breadcrumb
- Hide next-run stat and parse action for stale DAGs
- Add regression test for stale DAG header behavior

Fixes #63800
(cherry picked from commit 2d42641)

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
@vatsrahul1001 vatsrahul1001 added the type:bug-fix Changelog: Bug Fixes label Apr 15, 2026
@vatsrahul1001 vatsrahul1001 added this to the Airflow 3.2.1 milestone Apr 15, 2026
vatsrahul1001 pushed a commit that referenced this pull request Apr 15, 2026
When a DAG becomes stale or deactivated, the UI still shows
active-oriented controls like the pause toggle, parse action, and
next-run information. This change makes the deactivated state explicit
by showing a badge and hiding controls that imply the DAG is still
schedulable.

- Add reusable DagDeactivatedBadge component
- Show badge instead of pause toggle for stale DAGs in header and
  breadcrumb
- Hide next-run stat and parse action for stale DAGs
- Add regression test for stale DAG header behavior

Fixes #63800
(cherry picked from commit 2d42641)

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
vatsrahul1001 pushed a commit that referenced this pull request Apr 15, 2026
When a DAG becomes stale or deactivated, the UI still shows
active-oriented controls like the pause toggle, parse action, and
next-run information. This change makes the deactivated state explicit
by showing a badge and hiding controls that imply the DAG is still
schedulable.

- Add reusable DagDeactivatedBadge component
- Show badge instead of pause toggle for stale DAGs in header and
  breadcrumb
- Hide next-run stat and parse action for stale DAGs
- Add regression test for stale DAG header behavior

Fixes #63800
(cherry picked from commit 2d42641)

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
vatsrahul1001 pushed a commit that referenced this pull request Apr 15, 2026
When a DAG becomes stale or deactivated, the UI still shows
active-oriented controls like the pause toggle, parse action, and
next-run information. This change makes the deactivated state explicit
by showing a badge and hiding controls that imply the DAG is still
schedulable.

- Add reusable DagDeactivatedBadge component
- Show badge instead of pause toggle for stale DAGs in header and
  breadcrumb
- Hide next-run stat and parse action for stale DAGs
- Add regression test for stale DAG header behavior

Fixes #63800
(cherry picked from commit 2d42641)

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:translations area:UI Related to UI/UX. For Frontend Developers. translation:default type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants