Skip to content

fix(ui): settings modal breadcrumb root, header button sizes, badges and labels - #37878

Merged
Rohit0301 merged 4 commits into
mainfrom
Rohit0301/platform-ui-issues
Nov 16, 2026
Merged

Rohit0301 merged 4 commits into
mainfrom
Rohit0301/platform-ui-issues

Conversation

@Rohit0301

@Rohit0301 Rohit0301 commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

These fix small UI-review findings in the settings modal (AI mode). There is no linked issue.

  • Breadcrumb root: the first crumb is now the sidebar group (Administration / Features / Workspace) and is not clickable, the same as Account › Profile. Before, panels hard-coded "Settings" (and Custom Properties used "Workspace"). ProfilePage now owns the root crumb for every panel, including contributed ones. The core Breadcrumbs component gets an optional isDisabled item flag so a crumb can render as plain text even when onAction is set.

  • Header button sizes: every settings header action is now xs. These were already xs: Add Bot, Add Role, Add Alert and Add Persona. These were changed: Export on Audit Logs had no size set, Reset on Theme, Add Announcement and Browse Apps were sm, and the persona-detail header buttons were also sm. Icons are unchanged.

  • Access block time: the value now shows "600 Seconds", like the JWT row below it. The help text said "milliseconds"; it now says "seconds" in all locales. The schema defines the value in seconds.

  • Badges: "Beta" on the Notifications landing is now brand blue (the Templates card), matching Data Asset Rules. The Intake Forms card in Governance now shows "Deprecated".

  • Title Case: "Revoke Token", "No {{entity}} Found", "View Changes".

  • Team tab sub-pages: a contributed team tab now gets onHeaderChange. When its sub-page sets a title (e.g. Collate's "Configure "), the header uses it as both the title and the last crumb, with a link back to the team. The root Organization team is not repeated after the Organization crumb. Without a title, the header stays as before.

Collate companion PR: Billing labels in Title Case, plus xs for the Add Template and Ingestion Runner header buttons.

Type of change:

  • Bug fix

High-level design:

N/A — small change.

Tests:

Use cases covered

  • Each panel's breadcrumb root reads its sidebar group and is not a link.
  • Login Configuration shows the access block time in seconds.
  • Only the Intake Forms card is marked Deprecated.

Unit tests

  • ProfilePage.test.tsx: a contributed panel's root crumb is replaced by the group label and marked disabled.
  • breadcrumbs.test.tsx (core): a disabled item renders as text even with onAction.
  • LoginSettings.test.tsx, GovernanceLanding.test.tsx updated.
  • All 165 suites under Profile/ pass (1462 tests).

Playwright

  • Updated assertions for the new text: LoginConfiguration.spec.ts ("500 Seconds") and AccessControlSettings.spec.ts ("No Teams Found"). Not run locally.

Screenshots

Breadcrumb root = sidebar group, access block time in seconds, Edit xs
Login configuration

Access block time in seconds: settings modal (help text and value)
Access block time in seconds, settings modal

Access block time in seconds: classic Settings › Preferences › Login Configuration
Access block time in seconds, classic page

Administration › Bots — Add Bot xs
Bots

Bot detail — "Revoke Token"
Bot detail

Audit Logs — Export xs
Audit logs

Theme — Reset and Edit at the same height
Theme

Features › Governance — Intake Forms marked Deprecated
Governance

Features › Applications — Browse Apps xs
Applications

Workspace › Personas
Personas

Workspace › Custom Properties
Custom properties

Team tab sub-page: the root Organization team is not repeated, and the title is the sub-page's (shown with Collate's SQL Studio tab)
Team sub-page, root team

Team tab sub-page under a child team: the team crumb links back to it
Team sub-page, child team

Clicking the team crumb opens the team
Back to team

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no new actionable issues were found.

Summary

Updates the settings modal’s breadcrumbs, button sizes, badges, labels, and timeout units.

  • Settings panels show a disabled breadcrumb root that matches their sidebar group.
  • Team sub-pages can set their own header title while keeping a path back to the team.
  • Login settings show access block time with the unit seconds.
  • Settings header action buttons use the extra-small size.
  • Notifications shows a blue Beta badge, and Intake Forms shows Deprecated.
  • Several settings labels now use Title Case.

Reviews (6) · Last reviewed commit: "fix(ui): scope a team tab sub-page heade..." · Reviewed by Greptile

…and labels

- Root the settings breadcrumb at the sidebar group and make it non-navigable
- Use xs for every settings header action button
- Show the access block time in seconds, fix the help text unit in all locales
- Show Beta in brand blue on notifications and Deprecated on the Intake Forms card
- Title Case Revoke Token, No {{entity}} Found and View Changes
@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

- Show the placeholder without a unit when the access block time is unset
- Keep a disabled breadcrumb inert after it collapses into the overflow menu
- Record the breadcrumb-root contract (ADR) and document it on the override types
Team tabs now get onHeaderChange; a sub-page's title becomes the header title
and last crumb, under a link back to its team. The root Organization team is
not repeated after the Organization crumb.
Tag the override with its sub-page so a later sub-page that sets nothing never
shows a stale title, forward its header actions, and document that the team
header keeps its own trail.
@gitar-bot

gitar-bot Bot commented Nov 16, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk 4 closed / 4 findings

Changing contributed team sub-page header and breadcrumb handling could show incorrect titles or navigation when panels update their headers.

Settings modal fixes for breadcrumb roots, header button sizes, access block time in seconds, badges, and Title Case labels, plus team tab sub-page headers that show their own title and link back to the team. Resolved this session: missing access block time no longer renders as "-- Seconds", header overrides keep breadcrumbs[0] contract documented, team tab sub-page titles are cleared when no longer set, and team tab header changes preserve actions and breadcrumbs. No open issues remain.

✅ 4 closed
✅ Bug: Missing access block time renders as "-- Seconds"

📄 openmetadata-ui/src/main/resources/ui/src/pages/Configuration/LoginConfigurationDetails/LoginConfigurationPage.tsx:161-164
LoginConfigurationPage now always appends t('label.second-plural') after loginConfig?.accessBlockTime ?? NO_DATA_PLACEHOLDER. When the config hasn't loaded or has no value, the page shows the placeholder followed by a unit (e.g. "-- Seconds"). LoginSettings.tsx in this same PR avoids this by adding the unit only when the value is defined. Do the same check here.

✅ Quality: Header override silently drops breadcrumbs[0]; contract not recorded

📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/ProfilePage.tsx:236-243
ProfilePage now always throws away headerOverride.breadcrumbs[0] and puts a disabled sidebar-group crumb in its place. This changes the ProfileHeaderOverride / TabContribution extension contract that downstream (Collate) contributed tabs code against. The field docs at profileNavConfig.tsx:86-90 and ExtensionPointTypes.ts:74 still say a panel can simply override the breadcrumbs. The description says "ProfilePage owns the root crumb for every panel, including contributed ones", but no record in docs/decisions/ states this. 2026-10-12-platform-settings-pages-extension-point.md only says downstream pages get the header and breadcrumbs "for free".

The effect is concrete. A contributed panel that starts its trail with its own page crumb (the same shape getPageHeader returns, e.g. [{id:'email',…}]) loses that crumb without warning. An override with breadcrumbs: [] renders only the root.

The record should say: "ProfilePage renders the sidebar group (Administration / Features / Workspace) as the first, non-navigable breadcrumb. Panels' ProfileHeaderOverride.breadcrumbs must lead with a root crumb, which ProfilePage replaces." Better still, make the contract explicit: panels pass only the crumbs below the root, so nothing is sliced off by position. Either way, update the JSDoc on the override field.

✅ Bug: Tab sub-page title is never cleared and can show on a later sub-page

📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/members/MembersPanel.tsx:170-182 📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/members/MembersPanel.tsx:193-196 📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/members/MembersPanel.tsx:215 📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/members/MembersPanel.tsx:340
tabSubPageHeader is only set by the contributed tab, and nothing in MembersPanel resets it. The reset effect at L193-195 skips it, and the tab sub-page wrapper does not clear it on unmount. Here is how it goes stale: open a titled sub-page ("Configure trino"), go back to the team, then open a sub-page of a different tab or team that never calls onHeaderChange. Because view.type is still team-tab-subpage, the old title, description and Configure trino crumb are shown for the wrong page. ProfilePage avoids this by calling setHeaderOverride(null) whenever the tab changes. Here everything depends on each plugin clearing its own override. Fix: key the stored override to the view that set it, and ignore it when the view changes. Don't clear it in the parent effect, because child effects run first (the L189 comment explains this) and would be overwritten.

✅ Quality: Team tab's onHeaderChange silently drops actions and breadcrumbs

📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/members/MembersPanel.tsx:174-182 📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/members/MembersPanel.tsx:340 📄 openmetadata-ui/src/main/resources/ui/src/utils/ExtensionPointTypes.ts
TabContribution.onHeaderChange is documented as letting a tab override the header's "breadcrumbs, title, actions" (ExtensionPointTypes.ts). The handler passed at L340, handleTabSubPageHeader, keeps only title and description. A team tab whose sub-page passes actions (for example a Save or Test Connection button), breadcrumbs, or onBreadcrumbAction loses them without any warning, even though the same tab works in ProfilePage. Fix: either forward actions into panelHeaderActions (and say which fields are ignored), or give the team-tab host a narrower callback type, such as { title?: string; description?: string } | null, so plugins can't rely on fields this host drops.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@Rohit0301
Rohit0301 enabled auto-merge (squash) November 16, 2026 10:56
@Rohit0301
Rohit0301 disabled auto-merge November 16, 2026 10:59
@Rohit0301
Rohit0301 enabled auto-merge (squash) November 16, 2026 10:59
@Rohit0301
Rohit0301 merged commit 0f16c72 into main Nov 16, 2026
61 of 63 checks passed
@Rohit0301
Rohit0301 deleted the Rohit0301/platform-ui-issues branch November 16, 2026 11:03
Rohit0301 added a commit that referenced this pull request Nov 16, 2026
…adges and labels (backport 2.1 #37878) (#37895)

* fix(ui): settings modal breadcrumb root, header button sizes, badges and labels

- Root the settings breadcrumb at the sidebar group and make it non-navigable
- Use xs for every settings header action button
- Show the access block time in seconds, fix the help text unit in all locales
- Show Beta in brand blue on notifications and Deprecated on the Intake Forms card
- Title Case Revoke Token, No {{entity}} Found and View Changes

* fix(ui): address review on settings breadcrumb and access block time

- Show the placeholder without a unit when the access block time is unset
- Keep a disabled breadcrumb inert after it collapses into the overflow menu
- Record the breadcrumb-root contract (ADR) and document it on the override types

* fix(ui): let a team tab's sub-page name itself in the settings header

Team tabs now get onHeaderChange; a sub-page's title becomes the header title
and last crumb, under a link back to its team. The root Organization team is
not repeated after the Organization crumb.

* fix(ui): scope a team tab sub-page header to the sub-page that set it

Tag the override with its sub-page so a later sub-page that sets nothing never
shows a stale title, forward its header actions, and document that the team
header keeps its own trail.
harsh-vador added a commit that referenced this pull request Nov 17, 2026
…sing (#37938)

#37878 title-cased label.revoke-token to "Revoke Token", but createBot
still asserted the old "Revoke token" with a case-sensitive
toContainText, so Bots.spec failed on every main run since.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants