ADR-0235: An estate level above the clusters has its own sidebar
- Status: accepted
- Date: 2026-12-02
- Deciders: Mahdi Amirabdollahi
- Supersedes: ADR-0188 item 4 (no sidebar outside a cluster)
- Amends: ADR-0034, ADR-0070, ADR-0109
Context
The sidebar existed only inside a cluster (ADR-0034, ADR-0188 item 4). Pages about the whole installation (Administration, the inbox, approvals, the account) had no navigation of their own and a single line back to the last cluster view. Settings was a cluster's page although every Rahdar setting is installation-wide, so an operator with ten clusters saw the same settings under each. An operator with several brokers, often of different systems, had no place to stand that was not a cluster, and the planned estate dashboard, plugin estate pages, search across clusters and an estate audit page had nowhere to go. ADR-0188 rejected a sidebar outside a cluster because it "would only hold a cluster picker"; that is no longer true once the estate has pages of its own.
Decision
- Two levels, one shell. Every signed-in page has a sidebar. On a cluster's pages it lists that cluster's views (ADR-0034, ADR-0070); on every other page it lists the estate's entries. A navigation entry belongs to one level, never both. The shell chooses by the address; there is no estate layout route.
- Closed estate headings. Overview (Dashboard, Clusters, Alerts), Messaging, Activity (Inbox, Approvals), Plugins, Administration (Administration, Settings). A heading with no entry is not shown. Adding a heading is a kernel change, like a cluster navigation group.
estateNavis the contribution point. A feature contributes estate entries withestateNav, separate from a cluster'snav. A plugin's estate entries are always listed under Plugins, inside its namespace, without a keyboard letter.- The breadcrumb and the switcher replace the back line. The breadcrumb starts at Estate on every page (Estate › cluster › group › view, or Estate › group › page). The cluster switcher heads both sidebars and reads "All clusters" outside a cluster; choosing a cluster from the estate returns to the view last left on it.
g eopens the estate from anywhere; a cluster's Events view moves tog v. - Administration is two rows. Administration keeps its grouped section list (ADR-0185, ADR-0188 items 1–3) and Settings is a page beside it. Neither is in the user menu.
- Settings splits. Rahdar's categories, plugin categories and installation-wide sections are the estate's Settings page. A cluster's Settings holds only what is about that cluster. The slot
settings.sectionsis a cluster's;estate.settings.sectionsis the estate's and is never scoped to a broker system. - No estate permission scope. An estate entry is gated by a global permission, disabled with its reason when refused; what an estate page lists is filtered per cluster by the server, as the estate Alerts page is.
Consequences
- Installation-wide pages have one home, and 39 (dashboard), 40 (plugin estate pages), 42/43 (search) and the estate audit page add entries and slot contributions without changing the shell.
- Contract 19:
home.estatebecameestate.dashboard,SETTINGS_GROUPSsplit intoCLUSTER_SETTINGS_GROUPSandESTATE_SETTINGS_GROUPS, andestateNavwas added. Plugin authors move Rahdar-wide settings sections toestate.settings.sections. - Pages outside a cluster lose some width to the sidebar; the rail is what a narrow window gets.
g echanged meaning; operators used to it for Events useg v.
Alternatives considered
- Keep pages outside a cluster bare (ADR-0188 item 4). The estate has pages of its own now; a line back is not navigation.
- One
navwith a scope flag. Every consumer of cluster navigation (groups, current view, hotkeys, palette, plugin validation) would need a filter, and one miss lists an estate page inside a cluster. - A pathless estate layout route. The navbar is chosen in the shell anyway, and a new parent route would change
RouteContributionsfor plugin authors for nothing. - A sidebar row per Administration section. Thirteen or more rows without icons for the rail, and every
admin.tabscontribution would need an icon and a permission.