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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to