Skip to content

Fixes #8065: Settings modal QA fixes - #36707

Merged
Rohit0301 merged 10 commits into
open-metadata:mainfrom
Rohit0301:Rohit0301/settings-page-failures-solutions
Nov 3, 2026
Merged

Rohit0301 merged 10 commits into
open-metadata:mainfrom
Rohit0301:Rohit0301/settings-page-failures-solutions

Conversation

@Rohit0301

@Rohit0301 Rohit0301 commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

Fixes open-metadata/openmetadata-collate#8065

This fixes the defects QA found across the new Settings modal (components/discovery/personal-space/Profile/tabs/**) and a few shared core components. The Billing, Weekly Emails and My Connections fixes, which are Collate-only, are in the companion Collate PR linked to the same issue.

Type of change:

  • Bug fix

High-level design:

These are targeted fixes; no new architecture.

  • Confirmations (core ConfirmPopover): revoking a bot token or a personal access token, deleting a policy rule, removing a persona user, moving a team, and audit-log export (which was a modal).
  • Flows:
    • Restore soft-deleted bots (new restoreBot API, gated on Edit All). Deleted bots open read-only.
    • The ingestion bot can't be deleted, and its disabled delete button shows a tooltip.
    • Creating a role or policy opens its detail page.
    • Edit → Cancel on an alert returns to the alert's detail page.
    • Cursor-based Next/Previous paging for the Admins and Online users lists.
    • Pagination stays visible at non-default page sizes.
    • Esc closes the settings modal; open popovers and dropdowns close first.
  • SSO:
    • The Overview/Configure tabs are now in the modal header.
    • Test Login opens as a sub page with a breadcrumb; the form stays mounted so edits survive.
    • Fields follow the group order, cards have titles, and LDAP uses the role widgets.
    • Additional Trusted Redirect URIs stays under Advanced Configuration, as on the classic page.
  • Core components:
    • Toggle and Checkbox roots are relative.
    • Filter chevrons stay neutral when a value is selected.
    • Table head gets an align option.
    • New Collate AI chat app icon.
  • Visual and dark mode:
    • Icons on empty states.
    • Equal padding on landing cards.
    • Table headers no longer wrap.
    • The persona, role and team selects show a "+N" overflow.
    • Muted variants on the permission-debugger accordions and on the Live Indexing, Logs and Reindex Failures tables.
    • Learning-resource filter chip in dark mode.
    • Schedule cards.
    • Task detail footer.
    • Persona navigation editor rows.

Tests:

Use cases covered

  • Each confirmation above: Cancel keeps the item, and Confirm calls the API.
  • Restore a soft-deleted bot.
  • Create a role or policy and land on its detail page.
  • Edit → Cancel on an alert returns to its detail page.
  • Add two owners to an alert.
  • SSO Test Login sub page, and LDAP role mappings saved.
  • "All" metrics in the profiler settings excludes every other metric.
  • Online users search by partial name, and admin Next/Previous paging.
  • Moving a team updates its parent.
  • Esc closes the settings modal.

Unit tests

  • Jest tests were added or updated next to every changed component. The render-only fixes (required markers, empty-state icons, tabs in the header, button order, the disabled tooltip wrapper) are covered here rather than in Playwright.
  • npx jest --findRelatedTests <changed files>: 1014 suites, 13,536 tests passed.
  • Core vitest: filter-select, tree-select, table and date pickers all pass.

Backend integration tests

  • Not applicable (no backend API changes).

Playwright (UI) tests

  • New and updated specs, all user flows:
    • Features/AccessControlSettings.spec.ts
    • Features/AIMode/ProfileNotificationTab.spec.ts
    • Features/AIMode/PersonaSettings.spec.ts
    • Features/ProfilePlatformSettings.spec.ts
    • Features/ProfileSsoSettings.spec.ts
    • Pages/BotsProfile.spec.ts
    • Pages/AIProfile/ProfileAccessToken.spec.ts (new)
    • Pages/AIProfile/ProfileMembers.spec.ts
    • Pages/AIProfile/ProfileTeam.spec.ts
    • Pages/AIProfile/ProfileUser.spec.ts
  • Local run: against this branch's UI with --workers=3 --no-deps.
    • chromium project: 94 passed.
    • Basic project (Access Control and Bots): 31 passed, 1 failed. The failure is the existing "Permission Debugger › should render debugger…" test. It fails the same way on main against the same backend, which reports 0 policies evaluated.
  • Re-run since: the Esc, admin paging and domain tests (3 passed).
  • yarn lint:playwright: 0 errors.

Merge-queue failures — fixed and re-run (run 41405754409: chromium-01, chromium-10, chromium-15, chromium-16)

Re-run locally after the fix (a0d30f79992) against this branch's UI with --no-deps --workers=3: all 9 previously failing tests pass.

Spec › test Project Before After Cause of the failure
Features/AIMode/ProfileNotificationTab.spec.ts › Edit cancel returns to the detail and the owner picker takes two users chromium ❌ ✅ The detail wait also matched the …/eventsRecord sub-request (400); it now matches only the alert GET
Pages/AIProfile/ProfileAccessToken.spec.ts › asks for confirmation before revoking the personal access token chromium ❌ ✅ An API-created token isn't shown by the panel, so there was no Revoke button; the token is now generated from the panel
Pages/BotsProfile.spec.ts › should ask for confirmation before revoking a bot token Basic ❌ ✅ The search wait looked for the term in q; the bot list sends an empty q and puts the term in query_filter
Pages/BotsProfile.spec.ts › should restore a soft-deleted bot from the list Basic ❌ ✅ Same search wait
Pages/BotsProfile.spec.ts › should search bots from list Basic ❌ ✅ Same search wait
Pages/BotsProfile.spec.ts › should show bot detail and edit description Basic ❌ ✅ Same search wait
Pages/BotsProfile.spec.ts › should show token section Basic ❌ ✅ Same search wait
Pages/BotsProfile.spec.ts › should verify system bot cannot be deleted Basic ❌ ✅ Same search wait
Pages/LearningResources.spec.ts › should send correct resourceType param when filtering by type chromium ❌ ✅ Found the chip by the removed filter-selection-chip class; it now uses the chip's test id
Local run output
✓ [chromium] Pages/LearningResources.spec.ts:607 › should send correct resourceType param when filtering by type (4.5s)
✓ [chromium] Pages/AIProfile/ProfileAccessToken.spec.ts:24 › asks for confirmation before revoking the personal access token (8.3s)
✓ [chromium] Features/AIMode/ProfileNotificationTab.spec.ts:634 › Edit cancel returns to the detail and the owner picker takes two users (8.4s)
  3 passed (12.4s)

✓ [Basic] Pages/BotsProfile.spec.ts:134 › should navigate to bots panel (5.6s)
✓ [Basic] Pages/BotsProfile.spec.ts:330 › should show bot detail and edit description (7.6s)
✓ [Basic] Pages/BotsProfile.spec.ts:191 › should restore a soft-deleted bot from the list (8.5s)
✓ [Basic] Pages/BotsProfile.spec.ts:142 › should verify system bot cannot be deleted (5.1s)
✓ [Basic] Pages/BotsProfile.spec.ts:346 › should show token section (5.5s)
✓ [Basic] Pages/BotsProfile.spec.ts:279 › should create bot via add form (5.7s)
✓ [Basic] Pages/BotsProfile.spec.ts:150 › should ask for confirmation before revoking a bot token (5.7s)
✓ [Basic] Pages/BotsProfile.spec.ts:355 › should toggle show deleted (4.1s)
✓ [Basic] Pages/BotsProfile.spec.ts:322 › should search bots from list (3.6s)
  9 passed (19.1s)

Manual testing performed

  1. Ran this branch's UI (Vite) against a local server and opened Settings from the AI-mode user menu.
  2. Walked each fixed screen in light mode, and in dark mode where colours changed. The screenshots below come from that run.

UI screen recording:

Not applicable: these are standalone bug and styling fixes, not a feature. Screenshots for each fix follow; open a section to view.

Applications

Landing cards with equal padding and the new Collate AI chat icon (light)

Landing cards with equal padding and the new Collate AI chat icon (light)

Landing cards (dark)

Landing cards (dark)

Schedule editor at 50% width (light)

Schedule editor at 50% width (light)

Schedule cards (dark)

Schedule cards (dark)

Smaller developer link in the app header

Smaller developer link in the app header

Alerts & Notifications

Summary bar visible on the Configuration tab

Summary bar visible on the Configuration tab

Header owner picker accepts multiple users

Header owner picker accepts multiple users

Bots

Disabled ingestion-bot delete shows its tooltip

Disabled ingestion-bot delete shows its tooltip

Impersonation warning alert (light)

Impersonation warning alert (light)

Impersonation warning alert (dark)

Impersonation warning alert (dark)

Bot token revoke confirmation

Bot token revoke confirmation

Restore a soft-deleted bot

Restore a soft-deleted bot

Governance

Glossary Term Relations: headers on one line, centred check

Glossary Term Relations: headers on one line, centred check

Required markers on Name, Display Name, RDF predicate

Required markers on Name, Display Name, RDF predicate

Intake form at full width

Intake form at full width

Custom properties / Access token

Edit01 icon

Edit01 icon

Personal access token revoke confirmation

Personal access token revoke confirmation

SSO

Overview / Configure tabs in the modal header

Overview / Configure tabs in the modal header

Titled, ordered field groups

Titled, ordered field groups

Test Login as a sub page with breadcrumb

Test Login as a sub page with breadcrumb

Roles & Policies

Role Teams tab empty state

Role Teams tab empty state

Role Users tab empty state

Role Users tab empty state

Policy Roles tab empty state

Policy Roles tab empty state

Policy Teams tab empty state

Policy Teams tab empty state

Rule delete confirmation

Rule delete confirmation

Permission Debugger / Audit Log / Profiler

Team permissions muted accordion (dark)

Team permissions muted accordion (dark)

Audit log loader at full width

Audit log loader at full width

Audit log export popover

Audit log export popover

Selecting All clears other metrics

Selecting All clears other metrics

Learning resources / Search

Filter chip (light)

Filter chip (light)

Filter chip (dark)

Filter chip (dark)

Resource header layout

Resource header layout

Term boost cards left-aligned

Term boost cards left-aligned

Narrow Actions column

Narrow Actions column

Personas

Remove user confirmation

Remove user confirmation

Add User popover picker

Add User popover picker

Navigation editor rows (light)

Navigation editor rows (light)

Navigation editor rows (dark)

Navigation editor rows (dark)

Persona select shows 3 chips and +N

Persona select shows 3 chips and +N

Members

Cursor Next/Previous pagination

Cursor Next/Previous pagination

User icon in the empty state

User icon in the empty state

Task detail footer (dark)

Task detail footer (dark)

Cancel before Save

Cancel before Save

Announcements

Neutral chevron on a selected filter

Neutral chevron on a selected filter

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>. The issue lives in the Collate repo, so the title uses the cross-repo reference.
  • My PR is linked to a GitHub issue via Fixes above.
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have added tests (unit / Playwright as applicable) and listed them above.
  • Bug fix: tests cover the exact scenarios being fixed.

🤖 Generated with Claude Code

Refs open-metadata/openmetadata-collate#8065

- Add confirmations for bot/personal token revoke, rule delete, persona
  user removal and team move; restore soft-deleted bots
- Navigate to detail after creating a role or policy; keep pagination at
  non-default page sizes; cursor Next/Previous for admins and online users
- SSO: header tabs, Test Login sub page, ordered and titled field groups,
  LDAP role widgets
- Alerts: edit-cancel returns to detail, multi-owner header picker, saved
  filter labels, destination dropdown in a popover
- Esc closes the settings modal; persona/roles/teams selects show "+N"
- Empty-state icons, landing card padding, table header wrapping,
  dark-mode colours, filter chevron, Collate AI chat icon
- Unit tests for render-only fixes; Playwright for user flows
The disabled delete button must be the Tooltip's direct child so core
Tooltip wraps it in a hover span. Button-variant filters no longer tint
their chevron when a value is selected.
@Rohit0301
Rohit0301 requested a review from a team as a code owner October 30, 2026 14:20
@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.

@github-actions github-actions Bot added the UI UI specific issues label Oct 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

@Rohit0301 Rohit0301 self-assigned this Oct 30, 2026
@Rohit0301 Rohit0301 added the safe to test Add this label to run secure Github workflows on PRs label Oct 30, 2026
@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 81%
81.11% (137422/169413) 68.03% (49356/72542) 71.09% (27776/39069)

- Alerts destination picker: checkbox and label on one row
- Date pickers: drop the outline that left corner artefacts
- App install: schedule step at 50% width, centred; gap after the
  developer link icon
- Audit log: wider export popover; learning resource header gap
- Members: Users/Admins/Online users write only page and pageSize to
  the URL, cursors stay in state
- Team Roles/Policies tabs: role and policy empty-state icons
- Team move: anchor the confirm popover to the drop row; anchoring it to
  the whole table pushed it off-screen on long lists, so drops looked
  like they did nothing
@github-actions github-actions Bot removed the safe to test Add this label to run secure Github workflows on PRs label Oct 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

…ge-failures-solutions

# Conflicts:
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/ko-kr.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/th-th.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-tw.json
@github-actions

Copy link
Copy Markdown
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

- Add ADR:2026-10-31-paged-settings-lists-keep-pagination-at-non-default-page-size
  and cite it where the five settings panels apply the rule
- Untrack vite.sparta.tmp.config.mjs (machine-specific paths) and ignore
  *.tmp.config.mjs in the UI folder
@github-actions

Copy link
Copy Markdown
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

@Rohit0301 Rohit0301 added the safe to test Add this label to run secure Github workflows on PRs label Oct 31, 2026
@github-actions github-actions Bot removed the safe to test Add this label to run secure Github workflows on PRs label Nov 1, 2026
@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

@Rohit0301 Rohit0301 added the safe to test Add this label to run secure Github workflows on PRs label Nov 1, 2026
@Rohit0301 Rohit0301 changed the title Fixes open-metadata/openmetadata-collate#8065: Settings modal QA fixes Fixes #8065: Settings modal QA fixes Nov 2, 2026
@Rohit0301
Rohit0301 added this pull request to the merge queue Nov 2, 2026
@anuj-kumary
anuj-kumary removed this pull request from the merge queue due to a manual request Nov 2, 2026
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

🚦 Removed from the merge queue — manual (2026-11-02T08:17:46Z)

Blocked the queue: playwright-summary

  • Postgresql PR Playwright E2E Tests — playwright-summary, playwright / playwright-ci (chromium-16), playwright / playwright-ci (chromium-15), playwright / playwright-ci (chromium-01), playwright / playwright-ci (chromium-10)

Failed Playwright tests:

  • Features/AIMode/ProfileNotificationTab.spec.ts › Edit cancel returns to the detail and the owner picker takes two users
  • Pages/AIProfile/ProfileAccessToken.spec.ts › asks for confirmation before revoking the personal access token
  • Pages/BotsProfile.spec.ts › should ask for confirmation before revoking a bot token
  • Pages/BotsProfile.spec.ts › should restore a soft-deleted bot from the list
  • Pages/BotsProfile.spec.ts › should search bots from list
  • Pages/BotsProfile.spec.ts › should show bot detail and edit description
  • Pages/BotsProfile.spec.ts › should show token section
  • Pages/BotsProfile.spec.ts › should verify system bot cannot be deleted
  • Pages/LearningResources.spec.ts › should send correct resourceType param when filtering by type

@Rohit0301 Rohit0301 added the safe to test Add this label to run secure Github workflows on PRs label Nov 2, 2026
@Rohit0301
Rohit0301 enabled auto-merge November 2, 2026 09:03
@sonarqubecloud

sonarqubecloud Bot commented Nov 2, 2026

Copy link
Copy Markdown

@Rohit0301
Rohit0301 added this pull request to the merge queue Nov 2, 2026
Rohit0301 added a commit that referenced this pull request Nov 2, 2026
- SettingsNavigationPage renders the nav icon and the drag-handle hover group
  on its own row content, so it no longer overrides core Tree icon colour or
  selects on react-aria's role=row.
- ADR:2026-11-02-persona-navigation-card-opens-the-editor-for-the-app-mode
  records the one-Navigation-card rule and its guards.
- ADR:2026-11-02-persona-customize-editor-tree-rows-are-styled-at-the-call-site
  (v5 amendment of the core-styling record) scopes the persona editor row
  and category card overrides carried from #36707.
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 2, 2026
@github-actions github-actions Bot added the merge conflict Conflicts with the latest main; removed from the merge queue label Nov 2, 2026
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

🚦 Removed from the merge queue — merge_conflict (2026-11-02T15:50:45Z)

The entry left the queue before it was built, so no checks ran against it.

Conflicts with the latest main — rebase, then re-queue.

…ge-failures-solutions

# Conflicts:
#	openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/members/MembersOnlineUsersPanel.tsx
#	openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/members/MembersTeamDetail.types.ts
#	openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/members/MembersTeamsTab.tsx
@github-actions github-actions Bot removed merge conflict Conflicts with the latest main; removed from the merge queue safe to test Add this label to run secure Github workflows on PRs labels Nov 2, 2026
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

@Rohit0301 Rohit0301 added the safe to test Add this label to run secure Github workflows on PRs label Nov 2, 2026
@Rohit0301
Rohit0301 enabled auto-merge November 2, 2026 15:58
@gitar-bot

gitar-bot Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 3 closed / 3 findings

🔴 High risk · Wiring LDAP role-mapping and role-selection widgets into editable SSO settings could misconfigure role assignments and grant users unintended permissions.

Adds confirmation popovers, restore-bot flow, SSO and settings UI fixes across the Settings modal, plus shared core component styling updates. Changes requested: the move-team confirmation closes on failure instead of staying open for retry, which violates the settings popover ADR and should return false from the handler on error. Resolved in this session: the pagination visibility at non-default page sizes and the committed local Vite config with absolute paths.

✅ 3 closed
✅ Quality: Unrecorded rule: pagination stays visible at non-default page size

📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/bots/BotsListPanel.tsx:125-131 📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/access-control/AccessControlAuditLogsPanel.tsx:132-135 📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/access-control/AccessControlAuditLogsPanel.tsx:769 📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/access-control/AccessControlRolesPanel.tsx:101 📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/access-control/AccessControlPoliciesPanel.tsx:103 📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/personas/PersonasLanding.tsx:73
This PR adds the same rule to six list panels: keep the pagination control visible whenever the page size isn't the default, even if every row fits on one page (pageSize !== PAGE_SIZE_BASE in BotsListPanel, AccessControlRolesPanel, AccessControlPoliciesPanel and PersonasLanding; pageSize !== PAGE_SIZE_MEDIUM in AccessControlAuditLogsPanel). The only place the rule is written down is the PR description ("Pagination stays visible at non-default page sizes"), and nothing in docs/decisions/ covers it. The repo squash-merges, so that wording won't reach git log, and the next settings list panel is likely to miss the rule.

The record would say: "A paged settings list keeps its pagination control visible whenever the selected page size differs from the panel's default, even if all rows fit on one page, so the user can switch the page size back." It should also say which constant counts as the default for each panel: PAGE_SIZE_BASE for most of them and PAGE_SIZE_MEDIUM for the audit log.

✅ Quality: Local dev Vite config with absolute /Users/rohitjain paths committed

📄 openmetadata-ui/src/main/resources/ui/vite.sparta.tmp.config.mjs:1-15
vite.sparta.tmp.config.mjs is a temporary local override. It imports the base config from /Users/rohitjain/conductor/workspaces/... and points the core-components aliases at that same developer's machine. The path exists on no other machine or CI runner, so any tool that loads the file will fail. It also leaks a local workspace path into the repo and ships a stray, unlicensed file. Delete it, and add a *.tmp.config.mjs ignore if this workflow keeps coming back.

Closed: Quality: Failed team move closes the popover instead of keeping it for retry

📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/members/MembersTeamDetail.types.ts:72 📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/members/MembersTeamsTab.tsx:180-194 📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/members/MembersTeamDetail.tsx
This commit replaces the move-team modal with a ConfirmPopover and types onMoveConfirm as () => Promise<void>. That breaks a rule in the accepted ADR settings confirms anchored popovers: "An action handler resolves to whether it succeeded: resolving false or rejecting keeps the popover open so the user can retry."

Here is what happens now. handleMoveConfirm in MembersTeamDetail.tsx catches errors from getTeamByName/patchTeamDetail, shows a toast, and calls setMovedTeam(undefined) in finally. It always resolves undefined, so isOpen becomes false whether the move worked or not. When the patch fails (for example a 403 or a cycle), the popover closes and the user has to drag the team again.

The fix is to have the handler return Promise<boolean>. It should clear movedTeam only after the move succeeds and return false from the catch block, so ConfirmPopover stays open for a retry.

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

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

⚠️ UI Checkstyle passed — lint findings in changed files

🔍 ESLint findings in this PR's files — 0 error(s), 8 warning(s)

Errors block the build. Warnings do not yet — they are rules whose backlog is still
being worked down, listed so this PR does not add to it. See docs/ui-code-quality-gate.md.

0 error(s), 8 warning(s) across 7 changed file(s).

Count Rule
6 openmetadata-imports/no-lower-layer-page-imports
1 openmetadata-ui-patterns/no-non-adaptive-palette
1 react-hooks/exhaustive-deps
All findings
Location Rule Message
🟡 src/components/discovery/personal-space/Profile/tabs/personas/customize/AiSidebarEditor.tsx:28:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/components/discovery/personal-space/Profile/tabs/personas/customize/SubCategoryGrid.tsx:16:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/components/observability/Alerts/AlertAiDestinationConfigFields.component.tsx:49:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/components/observability/Alerts/AlertAiFormFields.component.test.tsx:52:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/components/observability/Alerts/AlertAiFormFields.constants.ts:14:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/components/observability/Alerts/AlertAiFormFields.constants.ts:59:5 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:hover:text-error-600, tw:hover::data-icon:text-error-600, tw:focus:text-error-600, tw:focus::data-icon:text-error-600" is static — it do
🟡 src/components/observability/Alerts/AlertAiRuleSection.component.tsx:540:9 react-hooks/exhaustive-deps The 'selectedRules' logical expression could make the dependencies of useMemo Hook (at line 545) change on every render. To fix this, wrap the initialization of
🟡 src/utils/Alerts/AlertsUtil.test.tsx:40:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.

Fix locally (fast - only checks files changed in this branch):

make ui-checkstyle-changed

@Rohit0301
Rohit0301 added this pull request to the merge queue Nov 2, 2026
Merged via the queue into open-metadata:main with commit 30f04fd Nov 3, 2026
96 of 103 checks passed
@Rohit0301
Rohit0301 deleted the Rohit0301/settings-page-failures-solutions branch November 3, 2026 02:12
Vansh0310 pushed a commit to Vansh0310/OpenMetadata that referenced this pull request Nov 3, 2026
…pen while the drawer scrolls (open-metadata#36887)

* ui: keep the alert team/user receiver picker open when the drawer scrolls

The receiver picker became a portalled isNonModal Popover in open-metadata#36707.
React-aria closes such a popover on any scroll of an ancestor of its
trigger, so the add-alert drawer, still settling after a destination is
added, closed the picker right after it opened. That made
AiObservabilityAlerts "saves every destination kind" the top flaky
merge-queue test.

The picker already owns outside-press dismissal, so drop react-aria's
close request (as core TreeSelect and FilterSelect do) and handle Escape
in the same document listener.

* ui: close the receiver picker on a user scroll and respect IME Escape

With react-aria's close-on-scroll dropped, a wheel or touch scroll of the
form left the portalled picker floating over the wrong destination. Close
on a user-started scroll outside the picker; the settling scrolls behind
the flake fire neither event. Escape no longer closes the picker while it
ends an IME composition, matching react-aria.

* ui: close the receiver picker when focus moves outside it

React-aria's dropped close request also covered blur; close on a focusin
outside the picker and its trigger instead.

* chore(playwright): auto-refresh impact-map.generated.json

* ui: drop page-layer type imports from the alert destination fields

Fixes two openmetadata-imports/no-lower-layer-page-imports warnings: the
key list is a plain union, and the test takes its types from the sibling
AlertAiFormFields interface.

* ui: type the receiver picker test fixture instead of casting

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
harshach pushed a commit to harshach/OpenMetadata that referenced this pull request Nov 3, 2026
…n-metadata#36862)

* Merge persona Navigation and AI sidebar into one Navigation card

The persona Customize UI showed both a Navigation card (classic sidebar) and
an AI sidebar card. There is now one Navigation card: the settings modal
(AI mode) opens the AI sidebar editor, and the classic /settings/persona page
keeps the classic navigation editor.

The AI sidebar stays in getCustomizePageCategories so breadcrumbs and the
/customize-page/<persona>/askCollateSidebar route still resolve, and Collate's
same-key override is hidden by the same card filter.

Carries the navigation editor row styling from open-metadata#36707 unchanged so the two
PRs merge cleanly.

* Restore classic Navigation Menus header and readable icon size

The core Tree mutes item icons to 16px fg-quaternary, which made the classic
customize navigation icons faint. Render them at 24px in fg-secondary, as the
left sidebar does, and bring back the Navigation Menus card title.

* Put classic Navigation Menus on a white card with a light divider

The ghost Card has no border colour, so its header divider inherited the dark
text colour and the tree sat on the grey page. The default variant gives a
bg-surface card whose header divider inherits border-subtle.

* Keep the classic navigation drag handle out of the label's way

The hidden handle sat between icon and label and still took up space. Move it
into the left gutter, and reveal it on the row's own :hover: a non-selectable
react-aria tree item never gets data-hovered, so group-hover never fired.

* Address review: own the nav row icon, record the persona card rules

- SettingsNavigationPage renders the nav icon and the drag-handle hover group
  on its own row content, so it no longer overrides core Tree icon colour or
  selects on react-aria's role=row.
- ADR:2026-11-02-persona-navigation-card-opens-the-editor-for-the-app-mode
  records the one-Navigation-card rule and its guards.
- ADR:2026-11-02-persona-customize-editor-tree-rows-are-styled-at-the-call-site
  (v5 amendment of the core-styling record) scopes the persona editor row
  and category card overrides carried from open-metadata#36707.

* Show the classic navigation drag handle inside the row again

The handle sits in the row's hover box ahead of the icon, as the antd page had
it, instead of out in the card gutter.
shah-harshit added a commit that referenced this pull request Nov 6, 2026
Popover, hover card, date pickers and the field-doc popover now use
shadow-raised with the secondary_alt outline, matching dropdown and
select menus. Date pickers keep no outline (it leaked past the rounded
corners, see #36707). In dark mode shadow-raised is deepened to black
50%/30% so overlays read as lifted; Tailwind inlines shadow values, so
the override targets the utility under .dark-mode.
shah-harshit added a commit that referenced this pull request Nov 6, 2026
…w in core (#37235)

* Raise dark-mode overlay surfaces above drawer panels in core

Popover, dropdown, select, date picker, hover card, confirm popover and
field-doc popover now use bg-raised (gray-700 in dark, white in light)
instead of bg-overlay-surface, which they shared with modal and slideout
panels. A menu opened from a drawer now stands apart from it. Light mode
is unchanged. Adds a SlideoutMenu WithSelect story for the drawer case.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Give every floating overlay the same raised shadow and edge

Popover, hover card, date pickers and the field-doc popover now use
shadow-raised with the secondary_alt outline, matching dropdown and
select menus. Date pickers keep no outline (it leaked past the rounded
corners, see #36707). In dark mode shadow-raised is deepened to black
50%/30% so overlays read as lifted; Tailwind inlines shadow values, so
the override targets the utility under .dark-mode.

* Fix overlay text and button hover in dark, keep light frozen

Popover and HoverCard set dark:text-primary: they portal to body, which
sets no text colour, so Typography copy was black on the dark surface.
Secondary Button/ButtonUtility hover to bg-raised in dark, which now
equals the overlay; inside a shadow-raised overlay the hover steps one
lighter. DatePicker keeps shadow-xl in light and FieldDocPopover keeps
its border, so light is pixel-identical. Records the overlay surface
decision in an ADR and points the styling rule at bg-raised.

* Move app floating menus onto the raised overlay surface

Explore search suggestions drop the classes that re-applied the old
surface over the core SelectPopover. The table column filter uses the
core Popover (offset 8 keeps its position). The comment mention list and
the editor slash/mention menus cannot be core components (quill-mention
and tiptap own them), so they switch colour only to bg-raised.

* Make the activity feed mention list readable in dark

The FeedEditor mention list used legacy tokens that stay white with a
light-blue selection in dark, leaving near-white names on white. A
dark-only override puts it on bg-raised with secondary text and the
primary_hover selection, matching the other floating menus. Light is
unchanged.

* Use a dedicated bg-floating surface and overlay shadow in both themes

Design review found gray-700 too large a step. Floating overlays now sit
on a new bg-floating token: white in light, #2b2f37 in dark (gray-800
plus 4% white). shadow-raised, used only by floating overlays, becomes
the overlay shadow in both themes: near-black 14/8/6% in light, black
50/30/30% in dark. bg-raised keeps its other roles, so the overlay-only
button hover rule is no longer needed. App menus that cannot be core
components follow by colour. The decision record is renamed to match.

* Pin the overlay surface and shadow in the theme contract

The light overlay shadow is a deliberate design-review change, not a
regression: the theme-contract test now pins bg-floating in both themes,
the light shadow-raised values and the dark override, and the elevation
spec and decision record state the light-mode exception.

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants