Skip to content

Show the current page name in the browser tab title - #69622

Merged
kaxil merged 1 commit into
apache:mainfrom
astronomer:document-title-all-pages
Jul 9, 2026
Merged

Show the current page name in the browser tab title#69622
kaxil merged 1 commit into
apache:mainfrom
astronomer:document-title-all-pages

Conversation

@pierrejeambrun

Copy link
Copy Markdown
Member

Only Dag pages set a page-specific browser tab title today, so every other page shows just the instance name — multiple open Airflow tabs are indistinguishable. This wires the existing useDocumentTitle hook into the remaining pages so each tab shows <Page> - <instanceName> in the selected language.

  • Top-level pages use the same localized labels as the navigation/menus (nav.*, admin.*, browse.*, dagRun_other, taskInstance_other).
  • Detail pages (Asset, Run, Task, Task Instance, mapped, group) use the entity identifier, mirroring the existing Dag page.
  • List components that are reused as nested tabs (Dag Runs, Task Instances, Audit Log, XComs, Required Actions) only set the title when rendered as their standalone page, so nested tabs keep the parent detail page's title.

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

Only Dag pages set a page-specific browser tab title today, so every other
page shows just the instance name and multiple open Airflow tabs cannot be
told apart. Set a localized, page-aware title on the remaining pages so each
tab identifies the page it is showing.
@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Jul 8, 2026
@pierrejeambrun
pierrejeambrun marked this pull request as ready for review July 9, 2026 09:53
@pierrejeambrun

Copy link
Copy Markdown
Member Author

All nav items/pages are covered

Screenshot 2026-07-09 at 11 53 30

@amoghrajesh amoghrajesh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, LGTM!

@kaxil
kaxil merged commit 493312b into apache:main Jul 9, 2026
168 checks passed
@kaxil
kaxil deleted the document-title-all-pages branch July 9, 2026 11:19
@pierrejeambrun pierrejeambrun added the backport-to-v3-3-test Backport to v3-3-test label Jul 9, 2026
@pierrejeambrun pierrejeambrun added this to the Airflow 3.3.1 milestone Jul 9, 2026
pierrejeambrun added a commit that referenced this pull request Jul 9, 2026
Only Dag pages set a page-specific browser tab title today, so every other
page shows just the instance name and multiple open Airflow tabs cannot be
told apart. Set a localized, page-aware title on the remaining pages so each
tab identifies the page it is showing.

(cherry picked from commit 493312b)
vatsrahul1001 pushed a commit that referenced this pull request Aug 5, 2026
Only Dag pages set a page-specific browser tab title today, so every other
page shows just the instance name and multiple open Airflow tabs cannot be
told apart. Set a localized, page-aware title on the remaining pages so each
tab identifies the page it is showing.

(cherry picked from commit 493312b)
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-3-test Backport to v3-3-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants