theaadya commented on code in PR #35393:
URL: https://github.com/apache/airflow/pull/35393#discussion_r1401938426


##########
airflow/www/static/js/dag/details/dagRun/ClearRun.tsx:
##########
@@ -59,31 +60,57 @@ const ClearRun = ({ runId, ...otherProps }: Props) => {
     onQueue({ confirmed: true });
   };
 
-  useKeysPress(keyboardShortcutIdentifier.dagRunClear, clearExistingTasks);
+  const [showConfirmationModal, setShowConfirmationModal] = useState(false);
+  const [doNotShowAgain, setDoNotShowAgain] = useState(false);

Review Comment:
   Stored the do not show again in local storage. Took some time as was having 
trouble with testing the functionality. 



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

Reply via email to