Skip to content

Add a user settings page for cross-page UI defaults - #70687

Merged
bbovenzi merged 1 commit into
apache:mainfrom
astronomer:ui-user-settings-panel
Aug 11, 2026
Merged

bbovenzi merged 1 commit into
apache:mainfrom
astronomer:ui-user-settings-panel

Conversation

@pierrejeambrun

@pierrejeambrun pierrejeambrun commented Jul 29, 2026 •

Copy link
Copy Markdown
Member

Adds a browser-local Settings page (reachable from the user menu) that gathers cross-page UI defaults in one place. Several of these behaviors had no way to set a personal default before: graph layout direction and dependency scope are remembered per-Dag, and the clear / mark-as dialog selections reset to a fixed choice on every action, so users kept re-applying the same options.

Each preference is stored in localStorage only (no server-side profile) and is consumed as a fallback — a per-Dag or per-action choice still overrides it.

Settings included:

  • Graph — default graph layout direction
  • Clearing — default run-clear selection; default task-clear selection; "prevent clearing running tasks"
  • Marking — default mark-as selection (single task instance)

The redundant "Default to graph/grid view" quick-toggle is removed from the user menu — that preference (default_dag_view) is already set by the on-page grid/graph switcher, so the menu item was duplicative.

Screenshots:
Screenshot 2026-07-29 at 17 13 11
Screenshot 2026-08-10 at 12 52 58


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 4.8)

Generated-by: Claude Code (Opus 4.8) following the guidelines

@boring-cyborg boring-cyborg Bot added area:translations area:UI Related to UI/UX. For Frontend Developers. translation:default labels Jul 29, 2026
@pierrejeambrun pierrejeambrun added this to the Airflow 3.4.0 milestone Jul 29, 2026
@pierrejeambrun pierrejeambrun self-assigned this Jul 29, 2026
@bbovenzi

Copy link
Copy Markdown
Contributor

This is great!

We do have light/dark mode, timezone and language exist outside of this. i think it still makes sense to make those quickly accessible and this is for "Advanced" settings.

Several cross-page UI behaviors have no single place to set a personal default. Graph layout direction and dependency scope are remembered per-Dag, and the clear / mark-as dialog selections reset to a fixed choice every time, so users re-apply the same options over and over. Centralizing these as browser-local preferences lets a user set their default once and have the individual features fall back to it.
@pierrejeambrun
pierrejeambrun force-pushed the ui-user-settings-panel branch from eec2fdc to fa689d9 Compare August 10, 2026 15:48
@bbovenzi
bbovenzi merged commit 326c119 into apache:main Aug 11, 2026
88 checks passed
@bbovenzi
bbovenzi deleted the ui-user-settings-panel branch August 11, 2026 16:43
dabla pushed a commit to dabla/airflow that referenced this pull request Aug 14, 2026
Several cross-page UI behaviors have no single place to set a personal default. Graph layout direction and dependency scope are remembered per-Dag, and the clear / mark-as dialog selections reset to a fixed choice every time, so users re-apply the same options over and over. Centralizing these as browser-local preferences lets a user set their default once and have the individual features fall back to it.
imrichardwu pushed a commit to imrichardwu/airflow that referenced this pull request Sep 11, 2026
Several cross-page UI behaviors have no single place to set a personal default. Graph layout direction and dependency scope are remembered per-Dag, and the clear / mark-as dialog selections reset to a fixed choice every time, so users re-apply the same options over and over. Centralizing these as browser-local preferences lets a user set their default once and have the individual features fall back to it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:translations area:UI Related to UI/UX. For Frontend Developers. translation:default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants