hkc-8010 opened a new pull request, #68288:
URL: https://github.com/apache/airflow/pull/68288

   ## 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.
   


-- 
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]

Reply via email to