Skip to content

Allow configuring the default landing page - #70754

Open
dsuhinin wants to merge 5 commits into
apache:mainfrom
dsuhinin:dsuhinin/default-landing-page-configuration
Open

Allow configuring the default landing page#70754
dsuhinin wants to merge 5 commits into
apache:mainfrom
dsuhinin:dsuhinin/default-landing-page-configuration

Conversation

@dsuhinin

Copy link
Copy Markdown
Contributor

Some deployments barely use the Home dashboard — people open Airflow and immediately click through to the Dag list, every single time. This adds a small knob so the root URL can open the page they actually work in.

New [api] default_landing_page config option, defaulting to home — nothing changes unless you opt in. Setting it to dags makes / redirect to the Dag list, while the Home dashboard stays reachable at /home, so nobody loses anything. The value is exposed through the existing UI config endpoint, and a tiny LandingPage component picks between rendering the dashboard and redirecting, so there's no server-side routing involved.

Tests cover both the config endpoint exposing the new option and the landing component's behaviour for each value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:ConfigTemplates area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant