Andrushika opened a new pull request, #1580:
URL: https://github.com/apache/airflow-site/pull/1580

   Closes https://github.com/apache/airflow/issues/51455
   
   ## Why
   The issue mentioned two problems in the docs version selector:
   
   1. The list is long.
   2. Not easy to see if you are on Airflow 2 or Airflow 3 docs.
   
   ## What
   
   - Add a filter input on top of the dropdown, and I applied "prefix match". 
So when you type `1.`, it only shows `1.x`. 
   I don't use substring match because it also matches `3.11.x` for `1.` which 
is confusing.
   - Highlight the current version in the dropdown so you know which one you're 
on.
   - For the main `apache-airflow` package, prefix the toggle with the major 
version (e.g. `Airflow 3 · 3.2.2`). Providers docs will not have `Airflow 3 ·` 
prefix.
   
   The screen recording of the result shown below:
   
   
https://github.com/user-attachments/assets/9b8866b4-a53b-4d22-a20e-ed76dc7b3c32
   
   


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