bbovenzi commented on code in PR #35393:
URL: https://github.com/apache/airflow/pull/35393#discussion_r1394580368
##########
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:
We should store the do not show again in localstorage for it to be useful.
Otherwise it will be reset on a page refresh. If not, we should just remove it
entirely.
--
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]