bbovenzi commented on code in PR #47879:
URL: https://github.com/apache/airflow/pull/47879#discussion_r2001410730
##########
airflow/ui/src/layouts/Nav/UserSettingsButton.tsx:
##########
@@ -58,6 +61,22 @@ export const UserSettingsButton = () => {
</>
)}
</Menu.Item>
+ <Menu.Item
+ onClick={() => (dagView === "grid" ? setDagView("graph") :
setDagView("grid"))}
+ value={dagView}
+ >
+ {dagView === "grid" ? (
+ <>
+ <MdOutlineAccountTree />
Review Comment:
```suggestion
<MdOutlineAccountTree size="1.25rem" />
```
##########
airflow/ui/src/layouts/Nav/UserSettingsButton.tsx:
##########
@@ -58,6 +61,22 @@ export const UserSettingsButton = () => {
</>
)}
</Menu.Item>
+ <Menu.Item
+ onClick={() => (dagView === "grid" ? setDagView("graph") :
setDagView("grid"))}
+ value={dagView}
+ >
+ {dagView === "grid" ? (
+ <>
+ <MdOutlineAccountTree />
+ Default to graph view
+ </>
+ ) : (
+ <>
+ <FiGrid />
Review Comment:
```suggestion
<FiGrid size="1.25rem" />
```
--
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]