You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "vanmik (via GitHub)" <gi...@apache.org> on 2024/11/02 12:34:36 UTC

[I] Add Custom Title to the Header in UI [airflow]

vanmik opened a new issue, #43605:
URL: https://github.com/apache/airflow/issues/43605

   ### Description
   
   Add custom title in the UI header, next to Airflow logo
   
   ### Use case/motivation
   
   Usually Airflow is deployed as several independent instances: one for test purpose, one for stage, one for production etc. As a result when using UI it's hard to tell which version is actually used. How about adding some label to the header next to airflow logo?
   
   It could be configurable with UI ENV parameters like:
   `VITE_HEADER_TAG=dev/prod/local/anything`
   `VITE_HEADER_TAG_COLOR=red`
   
   And here is example how it might look:
   ![airflow-env](https://github.com/user-attachments/assets/d9c49c32-630a-4915-9e1a-1edfca4aef7f)
   
   If this will be greenlighted i'm willing to write the code
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add Custom Title to the Header in UI [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #43605:
URL: https://github.com/apache/airflow/issues/43605#issuecomment-2453335016

   Indeed.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add Custom Title to the Header in UI [airflow]

Posted by "bbovenzi (via GitHub)" <gi...@apache.org>.
bbovenzi commented on issue #43605:
URL: https://github.com/apache/airflow/issues/43605#issuecomment-2454755178

   Yes, this is already a task to pass the config to the new UI: https://github.com/apache/airflow/issues/43166


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add Custom Title to the Header in UI [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #43605: Add Custom Title to the Header in UI
URL: https://github.com/apache/airflow/issues/43605


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add Custom Title to the Header in UI [airflow]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #43605:
URL: https://github.com/apache/airflow/issues/43605#issuecomment-2452976741

   Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add Custom Title to the Header in UI [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #43605:
URL: https://github.com/apache/airflow/issues/43605#issuecomment-2452983508

   @bbovenzi @pierrejeambrun  > something maybe to consider for Airflow 3 new UI if not already there?


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add Custom Title to the Header in UI [airflow]

Posted by "jscheffl (via GitHub)" <gi...@apache.org>.
jscheffl commented on issue #43605:
URL: https://github.com/apache/airflow/issues/43605#issuecomment-2453090575

   Is it the same like INSTANCE_NAME we have in Airflow 2 to be carried-over to Airflow 3?
   In-deed this should be planned. Adding this to the UI project.
   
   https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#instance-name


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add Custom Title to the Header in UI [airflow]

Posted by "eladkal (via GitHub)" <gi...@apache.org>.
eladkal commented on issue #43605:
URL: https://github.com/apache/airflow/issues/43605#issuecomment-2453324913

   Following what @jscheffl see the docs:
   https://airflow.apache.org/docs/apache-airflow/stable/howto/customize-ui.html#id2
   
   ![Screenshot 2024-11-03 at 9 17 59](https://github.com/user-attachments/assets/a3d8165a-eb3c-4562-a972-1a01ae4c698f)
   
   
   I think we can close this issue as solved
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org