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


##########
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:
   I've implemented the BulkMarkTaskInstancesAs feature, but it looks like our 
backend doesn't currently support the BulkClearTaskInstances feature. We'll 
need to implement the backend support in order to complete all bulk actions for 
task instances.
   
   
https://github.com/user-attachments/assets/1f24c725-45a8-4477-a3b8-0a5592b123b0
   
   
   



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