bbovenzi commented on code in PR #53216:
URL: https://github.com/apache/airflow/pull/53216#discussion_r2794563055
##########
airflow-core/src/airflow/ui/src/layouts/Details/DetailsLayout.tsx:
##########
@@ -79,6 +80,12 @@ export const DetailsLayout = ({ children, error, isLoading,
tabs }: Props) => {
);
const [showGantt, setShowGantt] =
useLocalStorage<boolean>(`show_gantt-${dagId}`, false);
+ // Global setting: applies to all Dags (intentionally not scoped to dagId)
+ const [showVersionIndicatorMode, setShowVersionIndicatorMode] =
+ useLocalStorage<VersionIndicatorDisplayOptions>(
+ `version_indicator_display_mode`,
Review Comment:
I wonder if we should make a `src/constants/localStorage.ts` file to keep
track of how many localStorage values we have.
--
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]