Skip to content

Migrate persona settings into the AI-mode profile modal - #34916

Merged
Rohit0301 merged 33 commits into
mainfrom
persona-settings-migration
Oct 10, 2026
Merged

Rohit0301 merged 33 commits into
mainfrom
persona-settings-migration

Conversation

@Rohit0301

@Rohit0301 Rohit0301 commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

Fixes 6446
Fixes 35007

Screenshot 2026-10-08 at 1 27 31 PM Screenshot 2026-10-08 at 1 27 43 PM Screenshot 2026-10-08 at 1 27 55 PM Screenshot 2026-10-08 at 1 28 08 PM Screenshot 2026-10-08 at 1 28 18 PM Screenshot 2026-10-08 at 1 30 05 PM Screenshot 2026-10-08 at 1 30 38 PM Screenshot 2026-10-08 at 3 06 19 PM Screenshot 2026-10-08 at 3 06 43 PM

I moved the legacy persona settings into the AI-mode personal-space (profile) modal. This covers the persona list, add, detail, users and every customize page: Navigation, App Layout, AI Sidebar, Data Marketplace, Home page, and the Governance / Data Assets entity pages. I also removed antd from everything these screens render, so the new persona UI is consistent with the core design system.

Type of change:

  • New feature

High-level design:

  • Hash-driven panel: persona settings live under #personas/<fqn>[/customize/<category>] (useSettingsHash), inside PersonasPanel in the profile modal.
  • Full-page customize views: Home page and entity pages (governance/*, data-assets/*) are rendered by PersonaFullscreenPortal. AppShell hides its layout with display:none while they're open and renders the view in normal flow. Modals, toasts and popovers therefore stack above it with no z-index overrides, and closing restores the hash and reopens the modal over the untouched page.
  • Shared header chrome: a CustomizePageChrome context gives CustomizablePageHeader the persona breadcrumbs plus one guarded exit. Every way out (X, minimize, breadcrumbs, persona link) shows the unsaved-changes prompt and returns to the modal instead of the legacy /settings/persona route.
  • Customize store: CustomizeStore moved to hooks/useCustomizeStore (and two page-type utils to utils/CustomizePage). Entity customize pages wait for the store's page type before mounting, which fixes empty default widgets when switching entities.
  • antd removal: UnsavedChangesModal, CustomizeTabWidget, CustomiseHomeModal, Curated Assets modal and its fields (now react-hook-form), header theme, home search bar, recently-viewed carousel, empty-widget placeholders and AddWidgetTabContent now use @openmetadata/ui-core-components.
  • Other fixes:
    • Restored the bots/members profile nav ids, so those tabs work again in the modal.
    • Persona home header colour is now saved.
    • Widget size labels in AddWidgetTabContent render again.
  • Legacy routes: legacy /customize-page/* routes keep their look; persona-only spacing is scoped under .persona-settings-overlay.

Tests:

Use cases covered

  • Persona management: create, rename, edit description, set/remove default, add/remove users, delete, copy link.
  • Saves: each customize page saves (Navigation, App Layout, AI Sidebar, Marketplace, Home layout, header theme, Curated Assets widget, Table tab, Domain), with the API call asserted and the change verified after reload.
  • Navigation:
    • Governance/Data Assets sub-grids keep the Customize UI / Users tabs.
    • Entity and Home pages open full page and return to the modal.
    • Discarding unsaved changes returns to the modal, not the legacy route.
    • Switching entities shows default widgets.

Unit tests

  • Added tests for every new persona component, hook and editor (personal-space/Profile/tabs/personas/**, PersonaFullscreenPortal), plus updated tests for the migrated components.
  • Full UI suite: 1,855 suites / 21,345 tests passing. Coverage % not measured.

Backend integration tests

  • Not applicable (no backend API changes).

Ingestion integration tests

  • Not applicable (no ingestion changes).

Playwright (UI) tests

  • Added playwright/e2e/Features/AIMode/PersonaSettings.spec.ts (20 scenarios). It passed 100/100 locally with --repeat-each=5 --workers=4.
  • Updated helpers/specs for the new markup: utils/customizeLandingPage.ts, e2e/Features/CuratedAssets.spec.ts, e2e/Flow/ExploreDiscovery.spec.ts. These two specs were not run locally, because the local backend rejected the profile request and the entity-data setup was skipped.

Local Playwright run (head 32c995b0083, max 3 workers, no retries, PLAYWRIGHT_IS_OSS=true): 20 specs, 157 tests, all passing.

These 20 specs are a hand-picked subset of the impact map that exercises this PR's UI directly (persona settings, customize pages/widgets, landing-page widgets, marketplace, navigation blocker). The full make playwright_affected selection (~95 specs, mostly via shared files such as DataAssetsHeader) was not run locally.

Project Specs Tests Result
chromium 14 112 112 passed. 2 tests (CuratedAssets.spec.ts:554, PersonaAppLayout.spec.ts:183) failed on the first attempt on timing and passed on a rerun
Basic 6 45 45 passed

CuratedAssets.spec.ts runs on 1 worker because its tests share one persona's home layout.

Spec fixes in this PR: NavigationBlocker / CustomizeLandingPage target the core UnsavedChangesModal instead of antd selectors; CuratedAssets "Complex nested groups" closes the Owners popup before clicking Add New Field.

chromium summary

Basic summary

Rerun of the 2 timing failures

Per spec

PersonaSettings.spec.ts (20 tests, chromium)

PersonaSettings

CustomizeDetailPage.spec.ts (25 tests, Basic)

CustomizeDetailPage

PersonaAppLayout.spec.ts (8 tests, chromium)

PersonaAppLayout

PersonaFlow.spec.ts (11 tests, chromium)

PersonaFlow

CustomizeLandingPage.spec.ts (4 tests, Basic)

CustomizeLandingPage

CustomizeWidgets.spec.ts (9 tests, chromium)

CustomizeWidgets

CuratedAssets.spec.ts (23 tests, chromium)

CuratedAssets

NavigationBlocker.spec.ts (5 tests, Basic)

NavigationBlocker

DataMarketplace.spec.ts (5 tests, Basic)

DataMarketplace

DataAssetsWidget.spec.ts (7 tests, chromium)

DataAssetsWidget

DomainDataProductsWidgets.spec.ts (6 tests, chromium)

DomainDataProductsWidgets

DomainWidgetFilter.spec.ts (2 tests, chromium)

DomainWidgetFilter

FollowingWidget.spec.ts (11 tests, chromium)

FollowingWidget

MyTaskWidgetStatus.spec.ts (1 tests, chromium)

MyTaskWidgetStatus

GlossaryPersonaCustomization.spec.ts (3 tests, chromium)

GlossaryPersonaCustomization

DataProductPersonaCustomization.spec.ts (2 tests, chromium)

DataProductPersonaCustomization

CustomPropertiesPersonaWidget.spec.ts (2 tests, chromium)

CustomPropertiesPersonaWidget

PersonaOverviewCardWidgets.spec.ts (4 tests, Basic)

PersonaOverviewCardWidgets

CustomizeNavigationNewItems.spec.ts (2 tests, Basic)

CustomizeNavigationNewItems

SettingsNavigationPage.spec.ts (8 tests, chromium)

SettingsNavigationPage

Manual testing performed

  1. Ran the UI dev server against a local backend in AI mode and opened Profile → Personas.
  2. Opened each customize page and checked the full-page views, light-blue canvas, breadcrumbs and minimize, the Add Widget / Add Tab / Curated Assets modals on top, and the discard prompt returning to the modal.
  3. Checked the legacy /customize-page/<persona>/{DataProduct,Domain,Table,GlossaryTerm,homepage} pages still render with their original layout.

UI screen recording / screenshots:

TODO: attach recording.

Checklist:

  • I have read the CONTRIBUTING document.

  • My PR title is Fixes <issue-number>: <short explanation>

  • My PR is linked to a GitHub issue via Fixes #<issue-number> above.

  • I have commented on my code, particularly in hard-to-understand areas.

  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed. (No schema changes.)

  • For UI changes: I attached a screen recording and/or screenshots above.

  • I have added tests (unit / integration / Playwright as applicable) and listed them above.

  • I have added tests around the new logic.

🤖 Generated with Claude Code

…ustomize

- Render persona fullscreen customize views in normal flow (no z-index overrides)
- Guard persona customize exits with the unsaved-changes prompt
- Wait for the customize store page type before mounting entity customize pages
- Migrate Curated Assets modal, header theme, search bar and carousel off antd
- Save persona home header colour; restore Members/Bots profile nav ids
- Move CustomizeStore and page-type utils out of pages/
- Add unit tests for persona settings and Playwright save coverage
@github-actions github-actions Bot added the UI UI specific issues label Oct 8, 2026
@github-actions

github-actions Bot commented Oct 8, 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!

…ation

# Conflicts:
#	openmetadata-ui/src/main/resources/ui/src/components/Customization/CustomizeTabWidget/CustomizeTabWidget.tsx
#	openmetadata-ui/src/main/resources/ui/src/components/Customization/GenericTab/LeftPanelContainer.tsx
#	openmetadata-ui/src/main/resources/ui/src/components/discovery/explore/ExploreHeader/ExploreSearchInput.tsx
@github-actions

github-actions Bot commented Oct 8, 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!

@github-actions

github-actions Bot commented Oct 8, 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 self-assigned this Oct 8, 2026
@Rohit0301
Rohit0301 marked this pull request as ready for review October 8, 2026 09:25
@Rohit0301 Rohit0301 added the safe to test Add this label to run secure Github workflows on PRs label Oct 8, 2026
@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR checks passed

The linked issue has a description and all required Shipping project fields set. Thanks!

@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

🔄 Playwright impact map auto-refreshed

This PR touched specs or UI source that changed the source→spec routing map. I regenerated .github/playwright/impact-map.generated.json and pushed the diff to this branch.

- source entries: 852 → 867
- 15 added, 0 removed, 41 changed spec-list

New source→spec entries:
  openmetadata-ui/src/main/resources/ui/playwright/support/fixtures/isolatedUser.ts
  openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/PersonaFullscreenPortal/PersonaFullscreenPortal.tsx
  openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/personas/PersonaAddForm.tsx
  openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/personas/PersonaDetail.tsx
  openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/personas/PersonaUsersTab.tsx
  openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/personas/PersonasLanding.tsx
  openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/personas/PersonasPanel.tsx
  openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/personas/customize/AppLayoutEditor.tsx
  openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/personas/customize/EntityCustomizeOverlay.tsx
  openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/personas/customize/LandingPageEditor.tsx
  … and 5 more

Entries whose spec list changed:
  openmetadata-ui/src/main/resources/ui/playwright/constant/config.ts
  openmetadata-ui/src/main/resources/ui/playwright/e2e/Utils/appMode.ts
  openmetadata-ui/src/main/resources/ui/playwright/e2e/fixtures/pages.ts
  openmetadata-ui/src/main/resources/ui/playwright/support/domain/DataProduct.ts
  openmetadata-ui/src/main/resources/ui/playwright/support/entity/BundleTestSuiteClass.ts
  openmetadata-ui/src/main/resources/ui/playwright/support/fixtures/userPages.ts
  openmetadata-ui/src/main/resources/ui/playwright/support/persona/PersonaClass.ts
  openmetadata-ui/src/main/resources/ui/playwright/support/user/UserClass.ts
  openmetadata-ui/src/main/resources/ui/playwright/utils/admin.ts
  openmetadata-ui/src/main/resources/ui/playwright/utils/advancedSearch.ts
  … and 31 more

What is this file? It is the auto-generated half of Playwright's PR planner. It routes "if source X changes, run specs Y" by walking spec imports and cross-referencing getByTestId strings. Hand-authored routing in impact-map.json always wins on conflict.

What if I want to regenerate locally instead? Run this before pushing your next change to skip the bot commit:

python3 .github/scripts/generate_playwright_impact_map.py
git add .github/playwright/impact-map.generated.json
git commit --amend --no-edit  # or a separate commit

@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 76%
76.52% (121733/159076) 62.48% (75343/120584) 64.01% (25261/39460)

Rohit0301 and others added 4 commits October 8, 2026 15:19
…s in CustomizeDetailPage spec

The Add Tab modal was migrated from antd Modal to SimpleModal, so
.ant-modal never renders. Drop the dead .ant-modal.waitFor and
waitForAntdModalToSettle calls; the existing getByRole('dialog') check
already gates the dialog, leaving only expect(addButton).toBeEnabled()
before the click.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
…on alignment, tailwind tokens for home widgets, revert import-only churn, stabilize curated assets e2e
…ation

# Conflicts:
#	.github/playwright/impact-map.generated.json
…ation

# Conflicts:
#	.github/playwright/impact-map.generated.json
#	openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/profileNavConfig.tsx
…ation

# Conflicts:
#	.github/playwright/impact-map.generated.json
@Rohit0301
Rohit0301 added this pull request to the merge queue Oct 10, 2026
@Rohit0301
Rohit0301 removed this pull request from the merge queue due to a manual request Oct 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🚦 Removed from the merge queue — manual (2026-10-10T01:50:59Z)

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

@Rohit0301
Rohit0301 added this pull request to the merge queue Oct 10, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🚦 Removed from the merge queue — failed_checks (2026-10-10T03:23:57Z)

Blocked the queue: playwright-summary

Failed Playwright tests:

  • Pages/DescriptionVisibility.spec.ts › Customized Table detail page Description widget shows long description

@Rohit0301
Rohit0301 enabled auto-merge October 10, 2026 03:25
@Rohit0301
Rohit0301 added this pull request to the merge queue Oct 10, 2026
@Rohit0301
Rohit0301 removed this pull request from the merge queue due to a manual request Oct 10, 2026
@Rohit0301
Rohit0301 added this pull request to the merge queue Oct 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🚦 Removed from the merge queue — manual (2026-10-10T04:20:44Z)

No required check failed — the entry may have timed out, or been dequeued while a required check was still pending.

@Rohit0301
Rohit0301 removed this pull request from the merge queue due to a manual request Oct 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🚦 Removed from the merge queue — manual (2026-10-10T04:22:13Z)

No failing check on merge-queue commit 4de2cb7 — invalidated by an entry ahead in the queue, or a required check timed out.

@Rohit0301
Rohit0301 enabled auto-merge October 10, 2026 04:23
@github-actions

Copy link
Copy Markdown
Contributor

🔄 Playwright impact map auto-refreshed

This PR touched specs or UI source that changed the source→spec routing map. I regenerated .github/playwright/impact-map.generated.json and pushed the diff to this branch.

- source entries: 905 → 905
- 0 added, 0 removed, 1 changed spec-list

Entries whose spec list changed:
  openmetadata-ui/src/main/resources/ui/src/utils/SearchUtils.tsx

What is this file? It is the auto-generated half of Playwright's PR planner. It routes "if source X changes, run specs Y" by walking spec imports and cross-referencing getByTestId strings. Hand-authored routing in impact-map.json always wins on conflict.

What if I want to regenerate locally instead? Run this before pushing your next change to skip the bot commit:

python3 .github/scripts/generate_playwright_impact_map.py
git add .github/playwright/impact-map.generated.json
git commit --amend --no-edit  # or a separate commit

@gitar-bot

gitar-bot Bot commented Oct 10, 2026 •

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

🟡 Medium risk · Migrating persona management and customization into the profile modal changes saving and navigation flows; regressions could misassign users or lose persona settings.

Migrates persona settings into the AI-mode profile modal, moving the customize pages to full-page views and removing antd from the persona UI. Resolved this session: the E2E Add Tab wait now targets SimpleModal, the committed Playwright HTML report artifacts were removed, and the Members tab and ProfileNavId ids were restored after the merge. No open findings remain. One save-before-exit issue was closed without a fix in this PR.

✅ 4 closed
✅ Bug: E2E still waits for .ant-modal after Add Tab moved to SimpleModal

📄 openmetadata-ui/src/main/resources/ui/src/components/Customization/CustomizeTabWidget/CustomizeTabWidget.tsx:697-711
This commit replaces the antd Modal for Add Tab with core SimpleModal, so the page never renders a .ant-modal element anymore. CustomizeDetailPage.spec.ts still calls adminPage.locator('.ant-modal').waitFor({ state: 'visible' }) and waitForAntdModalToSettle before it clicks Add. That wait will time out, and the custom-tab customization test will fail every time. To fix it, wait on the role-based dialog the test already uses (for example, wait until getByRole('dialog') is visible and the Add button is enabled), and drop the antd-specific settle helper.

✅ Quality: Local Playwright HTML report artifacts committed to the repo

📄 openmetadata-ui/src/main/resources/ui/playwright-report/index.html:1-15 📄 openmetadata-ui/src/main/resources/ui/playwright-report/data/156c45e66da5e366a86216ab04aa02f90c78fbd2.md:1-15 📄 openmetadata-ui/src/main/resources/ui/playwright-report/data/594e8ec36389319c31966792f9e21fdc61181aee.md:1-15
Commit fad326e adds the generated playwright-report/ folder: an ~840 KB bundled index.html and two page-snapshot .md files from failing test runs, which include generated user names and persona data. No .gitignore excludes playwright-report, so these files would be merged into source. Every later local run would also show them as modified. Remove the folder from the commit and add playwright-report/ to the UI .gitignore.

✅ Bug: Merge dropped Members tab and redefined ProfileNavId without new ids

📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/profileNavConfig.tsx:44-54 📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/profileNavConfig.tsx:221-233 📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/profileNavConfig.tsx:205 📄 openmetadata-ui/src/main/resources/ui/src/constants/Profile.constants.ts:20-34
Resolving the merge with origin/main went wrong in two ways. First, main's members entry in WORKSPACE_NAV_ITEMS (and the MembersPanel import) was replaced by personas, when both should be there. The Members tab is gone from the profile modal, even though #members hashes are still accepted by PROFILE_NAV_ID_LIST and still produced by tabs/members/profileHash.utils.ts, so those hashes fall back to the Profile tab. Second, the branch's old local ProfileNavId union came back in place of main's re-export from constants/Profile.constants. That union has no 'members', 'billing' or 'platform-settings', so the existing id: 'platform-settings' item no longer type-checks. The two ProfileNavId types (here and in useSettingsHash) now also disagree, which is the drift the comment in Profile.constants warns about. To fix it, re-export the type from Profile.constants again and add the members item back next to personas.

Closed: Bug: Save-before-exit leaves the editor even when the save fails

📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/personas/PersonasPanel.tsx:123-131 📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/personas/customize/NavigationEditor.tsx:96-110 📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/personas/customize/AppLayoutEditor.tsx:171-185
handleSaveExit runs the pending exit once await editorActions?.onSave() resolves. It assumes a failed save will throw. The in-modal editors don't throw on failure: NavigationEditor.handleSave and AppLayoutEditor.handleSave catch the error, show a toast and resolve normally. So if the user picks Save in the unsaved-changes prompt and the API call fails, the panel still navigates away (or closes the modal or switches tabs) and the unsaved edits are lost. Fix it in one of two ways: have onSave report success (return a boolean, or rethrow the way LandingPageEditor does) and run the exit only on success, or check canSave again after the save and keep the prompt open while it is still dirty.

Review coverage

📋 Rules No rules evaluated

🧪 Functional validation Not enabled · Set up

🤖 Auto-approval Not enabled · Set up

Options

Display: compact → Counting what did not apply, without listing it.

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

Copy link
Copy Markdown
Contributor

⚠️ UI Checkstyle passed — lint findings in changed files

🔍 ESLint findings in this PR's files — 0 error(s), 48 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), 48 warning(s) across 29 changed file(s).

Count Rule
27 openmetadata-imports/no-lower-layer-page-imports
21 react-hooks/exhaustive-deps
All findings
Location Rule Message
🟡 src/components/Customization/CustomizeTabWidget/CustomizeTabWidget.tsx:48: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/Customization/CustomizeTabWidget/CustomizeTabWidget.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/KnowledgeCenter/KnowledgeCenterWidget/KnowledgeCenterWidget.tsx:38: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/MyData/CustomizableComponents/AddWidgetModal/AddWidgetTabContent.tsx:26: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/MyData/CustomizableComponents/CustomiseLandingPageHeader/CustomiseSearchBar.test.tsx:22: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/MyData/CustomizableComponents/CustomizablePageHeader/CustomizablePageHeader.test.tsx:23: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/MyData/CustomizableComponents/CustomizablePageHeader/CustomizablePageHeader.tsx:34: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/MyData/CustomizableComponents/EmptyWidgetPlaceholder/EmptyWidgetPlaceholderV1.tsx:33:6 react-hooks/exhaustive-deps React Hook useCallback has missing dependencies: 'handleOpenAddWidgetModal', 'handlePlaceholderWidgetKey', and 'widgetKey'. Either include them or remove the de
🟡 src/components/MyData/CustomizableComponents/WidgetCard/WidgetCard.tsx:20: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/MyData/FeedWidget/FeedWidget.component.tsx:29: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/MyData/FeedWidget/FeedWidget.component.tsx:71:6 react-hooks/exhaustive-deps React Hook useCallback has a missing dependency: 'handleRemoveWidget'. Either include it or remove the dependency array. If 'handleRemoveWidget' changes too oft
🟡 src/components/MyData/FeedWidget/FeedWidget.component.tsx:135:6 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array.
🟡 src/components/MyData/FeedWidget/FeedWidget.component.tsx:161:6 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array.
🟡 src/components/MyData/FeedWidget/FeedWidget.component.tsx:197:5 react-hooks/exhaustive-deps React Hook useMemo has missing dependencies: 'navigate' and 'userActivityFeedLink'. Either include them or remove the dependency array.
🟡 src/components/MyData/MyDataWidget/MyDataWidget.component.tsx:38: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/MyData/MyDataWidget/MyDataWidget.component.tsx:160:6 react-hooks/exhaustive-deps React Hook useCallback has unnecessary dependencies: 'applySortToData', 'getSortField', and 'getSortOrder'. Either exclude them or remove the dependency array.
🟡 src/components/MyData/MyDataWidget/MyDataWidget.component.tsx:184:5 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array.
🟡 src/components/MyData/MyDataWidget/MyDataWidget.component.tsx:255:6 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array.
🟡 src/components/MyData/MyDataWidget/MyDataWidget.component.tsx:289:5 react-hooks/exhaustive-deps React Hook useMemo has missing dependencies: 'currentUser?.name' and 'navigate'. Either include them or remove the dependency array.
🟡 src/components/MyData/RightSidebar/AnnouncementsWidget.tsx:20: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/MyData/RightSidebar/AnnouncementsWidget.tsx:107:6 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array.
🟡 src/components/MyData/RightSidebar/FollowingWidget.tsx:38: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/MyData/RightSidebar/FollowingWidget.tsx:175:5 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array.
🟡 src/components/MyData/RightSidebar/FollowingWidget.tsx:252:6 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array.
🟡 src/components/MyData/RightSidebar/FollowingWidget.tsx:281:5 react-hooks/exhaustive-deps React Hook useMemo has missing dependencies: 'currentUser?.name' and 'navigate'. Either include them or remove the dependency array.
🟡 src/components/MyData/Widgets/Common/WidgetHeader/WidgetHeader.tsx:24: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/MyData/Widgets/CuratedAssetsWidget/AdvancedAssetsFilterField/AdvancedAssetsFilterField.component.tsx:122:37 react-hooks/exhaustive-deps React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead.
🟡 src/components/MyData/Widgets/CuratedAssetsWidget/AdvancedAssetsFilterField/AdvancedAssetsFilterField.component.tsx:170:6 react-hooks/exhaustive-deps React Hook useEffect has missing dependencies: 'config', 'fqn', 'onTreeUpdate', and 'queryFilter'. Either include them or remove the dependency array.
🟡 src/components/MyData/Widgets/CuratedAssetsWidget/CuratedAssetsWidget.test.tsx:18: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/MyData/Widgets/DataProductsWidget/DataProductsWidget.component.tsx:35: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/MyData/Widgets/DataProductsWidget/DataProductsWidget.component.tsx:101:6 react-hooks/exhaustive-deps React Hook useCallback has a missing dependency: 't'. Either include it or remove the dependency array. Outer scope values like 'getSortField' aren't valid depe
🟡 src/components/MyData/Widgets/DomainsWidget/DomainsWidget.tsx:34: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/MyData/Widgets/DomainsWidget/DomainsWidget.tsx:119:6 react-hooks/exhaustive-deps React Hook useCallback has a missing dependency: 't'. Either include it or remove the dependency array. Outer scope values like 'getSortField' aren't valid depe
🟡 src/components/MyData/Widgets/MyTaskWidget/MyTaskWidget.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/MyData/Widgets/MyTaskWidget/MyTaskWidget.tsx:117:5 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 'navigate'. Either include it or remove the dependency array.
🟡 src/components/MyData/Widgets/TotalDataAssetsWidget/TotalDataAssetsWidget.component.tsx:326:6 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array.
🟡 src/components/MyData/Widgets/TotalDataAssetsWidget/TotalDataAssetsWidget.component.tsx:332:6 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'selectedDate'. Either include it or remove the dependency array.
🟡 src/components/MyData/Widgets/TotalDataAssetsWidget/TotalDataAssetsWidget.component.tsx:360:5 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 'navigate'. Either include it or remove the dependency array.
🟡 src/components/discovery/personal-space/Profile/tabs/personas/customize/AiSidebarEditor.tsx:26: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/EntityCustomizeOverlay.test.tsx:23: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/EntityCustomizeOverlay.tsx:18: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/LandingPageEditor.test.tsx:23: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/LandingPageEditor.tsx:19: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/MarketplaceEditor.test.tsx:27: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/MarketplaceEditor.tsx:36: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/PersonaCustomizeView.test.tsx:19: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/PersonaCustomizeView.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.

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

make ui-checkstyle-changed

@sonarqubecloud

Copy link
Copy Markdown

@Rohit0301
Rohit0301 added this pull request to the merge queue Oct 10, 2026
Merged via the queue into main with commit 20b760b Oct 10, 2026
71 checks passed
@Rohit0301
Rohit0301 deleted the persona-settings-migration branch October 10, 2026 05:25
shrabantipaul-collate pushed a commit that referenced this pull request Oct 13, 2026
…bar search popover

Two merge-queue failures came from the new home page meeting main's
persona-settings specs (#34916).

PersonaSettings "a configured Curated Assets widget is saved": in AI mode
the persona customize view hides the routed page instead of unmounting it
(AppShell's tw:hidden!), so the live home page stays in the DOM under the
editor. Its cells carry the same KnowledgePanel.* keys, and every key
lookup matched two elements; isVisible() threw a strict-mode violation
that the helper swallowed as "not visible", and the poll ran out its
minute. Landing helpers now resolve widgets through getLandingPageWidget,
which keeps only what is on screen, and the poll aborts at once with a
named error if two visible widgets still share a key. Adding a Curated
Assets card, which the default layout already holds, goes through one
shared addCuratedAssetsWidget that removes the default copy first.

ExploreDiscovery "soft deleted assets in search suggestions": the spec
waited for customise-search-popover, the old home-page search bar's
popover. The new home has only the navbar search, so its popover now
carries global-search-popover — present even with no suggestions, which
is this test's case — and the spec waits for that.
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.

Migrate Persona Settings into the AI Mode Profile Modal

3 participants