Jasperora commented on code in PR #53064:
URL: https://github.com/apache/airflow/pull/53064#discussion_r2217080251


##########
airflow-core/src/airflow/ui/src/pages/Dag/Header.tsx:
##########
@@ -108,7 +111,34 @@ export const Header = ({
               />
             )}
             <FavoriteDagButton dagId={dag.dag_id} withText={true} />
-            <ParseDag dagId={dag.dag_id} fileToken={dag.file_token} />
+            <Menu.Root>
+              <Menu.Trigger asChild>
+                <Button aria-label={translate("dag:header.buttons.advanced")} 
variant="outline">
+                  <LuMenu />
+                </Button>
+              </Menu.Trigger>
+              <Portal>
+                <Menu.Positioner>
+                  <Menu.Content>
+                    <Menu.Item value="reparse">
+                      <div style={{ width: "100%" }}>
+                        <ParseDag dagId={dag.dag_id} 
fileToken={dag.file_token} width="100%" />
+                      </div>
+                    </Menu.Item>
+                    <Menu.Item closeOnSelect={false} value="delete">
+                      <div style={{ width: "100%" }}>
+                        <DeleteDagButton
+                          dagDisplayName={dag.dag_display_name}
+                          dagId={dag.dag_id}
+                          variant="outline"

Review Comment:
   Have removed it.



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