IKholopov opened a new pull request #20730:
URL: https://github.com/apache/airflow/pull/20730


   related: #19944
   
   - Rename "tree" view to "grid" view
   - Update URL routes and add redirects from old path:
     - `/tree` -> `/dags/<dag_id>/grid`
     - `/graph` -> `/dags/<dag_id>/graph`
     - `/landing_times` -> `/dags/<dag_id>/landing_times`
     - `/duration` -> `/dags/<dag_id>/duration`
     - `/tries` -> `/dags/<dag_id>/tries`
     - `/calendar` -> `/dags/<dag_id>/calendar`
     - `/gantt` -> `/dags/<dag_id>/gantt`
     - `/code` -> `/dags/<dag_id>/code`
     - `/dag_details` -> `/dags/<dag_id>/details`
   - New redirect - `/dags/<dag_id>` -> `/dags/<dag_id>/grid`
   
   Once a new single DAG page is ready, the subroutes can be dropped and 
transformed into redirects to single `/dags/<dag_id>` page (with proper query 
params).  As alternative, only single view could've been renamed (`/tree` -> 
`/dags/<dag_id>`), but I thought that it would be better to keep routes 
self-consistent mid-flight (in case if single-page view won't make it into 
2.3.0).
   
   DAGs page before: ![Screenshot 2022-01-06 at 14-14-22 tutorial - Tree - 
Airflow](https://user-images.githubusercontent.com/2447492/148435122-46b69c57-de31-425d-ad63-87ae398375c4.png)
   DAGs page after: ![Screenshot 2022-01-06 at 14-02-14 tutorial - Tree - 
Airflow](https://user-images.githubusercontent.com/2447492/148435142-f534aeb0-ab7f-4a43-ae54-823233aca5ce.png)
   
   
   ---


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