basantjamwal commented on issue #73237: URL: https://github.com/apache/airflow/issues/73237#issuecomment-5703737490
I want to work on this. The plan: right now the calendar keeps its settings (granularity, date, view mode) in local state, saved to localStorage. I'll move that into the URL instead, using the same pattern Grid already uses (`useSearchParams`). That way the URL always matches what you're looking at and can be shared. Quick question: should we still fall back to your last-used localStorage settings when there's no URL param, or just always default to daily/today? Keeping localStorage as a fallback feels nicer for users but adds a second source of truth. Small optimization: I'll use `replace: true` when updating granularity/view-mode so clicking around doesn't fill up your browser history, but keep normal history entries for date navigation (prev/next). Let me know if you'd rather I take a different approach — happy to start once we agree on this. -- 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]
