utkarsharma2 commented on code in PR #39636: URL: https://github.com/apache/airflow/pull/39636#discussion_r1601463232
########## airflow/www/static/js/main.js: ########## @@ -287,3 +287,18 @@ $(document).ready(() => { // Global Tooltip selector $(".js-tooltip").tooltip(); }); + +$(".reparse_dag").click((event) => { + console.log(event); + event.preventDefault(); + $.ajax({ + url: event.currentTarget.attributes.href.value, + type: "PUT", + done(response) { + console.log(response); Review Comment: Hey @bbovenzi, how do we usually inform users about the success/failures in the UI? I saw a flash methods but it's for Flask and since we are only making a ajax call to API Flask don't come into picture. -- 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-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org