bbovenzi commented on code in PR #39636:
URL: https://github.com/apache/airflow/pull/39636#discussion_r1603747223
##########
airflow/www/templates/airflow/dags.html:
##########
@@ -398,6 +398,10 @@ <h2>{{ page_title }}</h2>
class="btn btn-sm btn-default btn-icon-only{{ ' disabled'
if not dag.can_delete }}">
<span class="material-icons text-danger"
aria-hidden="true">delete_outline</span>
</a>
+ <a href="{{
url_for('/api/v1.airflow_api_connexion_endpoints_dag_parsing_reparse_dag_file',
file_token=dag.file_token) }}" title="Reparse DAG" aria-label="Reparse DAG"
+ class="btn btn-sm btn-default btn-icon-only{{ ' disabled'
if not dag.can_edit }} reparse_dag">
+ <span class="material-icons">cached</span>
+ </a>
Review Comment:
Actually, let's put the button in between Trigger and Delete. That was the
old UX too.
--
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]