guan404ming commented on code in PR #51564:
URL: https://github.com/apache/airflow/pull/51564#discussion_r2309903871


##########
airflow-core/src/airflow/ui/src/pages/TaskInstances/TaskInstances.tsx:
##########
@@ -249,6 +323,41 @@ export const TaskInstances = () => {
         onStateChange={setTableURLState}
         total={data?.total_entries}
       />
+      <ActionBar.Root closeOnInteractOutside={false} 
open={Boolean(selectedRows.size)}>
+        <ActionBar.Content>
+          <ActionBar.SelectionTrigger>
+            {selectedRows.size} {translate("common:selected")}
+          </ActionBar.SelectionTrigger>
+          <ActionBar.Separator />
+          <Tooltip
+            content={`${translate("common:modal.delete.button")} ${translate(
+              `common:${selectedRows.size > 1 ? "taskInstance_other" : 
"taskInstance_one"}`,
+            )}`}
+            disabled={selectedRows.size === 0}
+          >
+            <DeleteTaskInstancesButton

Review Comment:
   Sure, I think we got patch TI ready in backend. Would you prefer to add here 
or open another PR to handle that?



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