Skip to content

Fix UI instance name title on non-Dag pages#68288

Draft
hkc-8010 wants to merge 1 commit into
apache:mainfrom
hkc-8010:fix/ui-instance-name-title
Draft

Fix UI instance name title on non-Dag pages#68288
hkc-8010 wants to merge 1 commit into
apache:mainfrom
hkc-8010:fix/ui-instance-name-title

Conversation

@hkc-8010

@hkc-8010 hkc-8010 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes #68287.

Restores the configured [api] instance_name as the default browser tab title for non-Dag pages such as the home page.

Dag-specific pages using useDocumentTitle(...) still override the default title and render as <page title> - <instance_name>.

Tests

  • cd airflow-core/src/airflow/ui && pnpm install --frozen-lockfile
  • cd airflow-core/src/airflow/ui && pnpm exec vitest run src/layouts/BaseLayout.test.tsx
  • cd airflow-core/src/airflow/ui && npx -y -p node@22 node ./node_modules/vitest/vitest.mjs run
  • cd airflow-core/src/airflow/ui && pnpm lint
  • prek run --files airflow-core/src/airflow/ui/src/layouts/BaseLayout.tsx airflow-core/src/airflow/ui/src/layouts/BaseLayout.test.tsx airflow-core/src/airflow/ui/src/utils/index.ts airflow-core/src/airflow/ui/src/utils/useDocumentTitle.tsx
  • breeze ui compile-assets

GenAI Disclosure

This PR was developed with assistance from OpenAI Codex.

@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Jun 9, 2026
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Non-Dag pages no longer use instance_name for browser tab title

1 participant