Repository navigation
feat(ui): add persona General Preferences with default landing page - #34189
Conversation
Replace the persona App Mode customization card with a General Preferences card. Its page holds: - App Mode, redesigned as three radio cards (No default / Classic / AI). - Default Landing Page, a grouped dropdown of routes. Classic-mode users of the persona are redirected there after signing in; unset means Home. Schema: add `defaultLandingPage` to personaPreferences and regenerate the TS types. Core Select: - Add `Select.Section` / `Select.SectionHeader` for grouped options. - Add a `labelWeight` prop to bold the item label. - Close the list on an outside click or a second trigger click. The non-modal popover disables react-aria's outside dismissal, and the trigger reopened the list on press start, so a Select opened by mistake could only be closed by picking an option. The opt-in `isDismissable` popover prop fixes this; ComboBox does not use it.
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
…-login View Mode (persona General Preferences): - Admins pick the layout each page with a view toggle opens in for users of the persona: Domains (Table/Grid/Tree), Sub Domains, Data Products and Learning Resources (Table/Grid). A page with no entry opens in Table, and the user's own toggle still switches it for the visit. - Schema: add `defaultViewModes` to personaPreferences and regenerate the TS types. ViewToggle now uses the generated `PageViewMode` enum (same members and values) so the saved value and the toggle share a type. - The pages read it through `usePersonaViewMode`, which shares the persona document cache slot, so no extra request. - Core ButtonGroup gains a `segmented` variant for the pill-style Table/Grid/Tree switch. Landing page fix: - After an in-app logout, signing back in ignored the persona's default landing page and stayed on Home. The memoized `handleSuccessfulLogin` kept a `handledVerifiedUser` whose `location.pathname` was the page the app first loaded on, so the "already on a protected route" check returned early. It now reads the existing `pathnameRef`. Tests: page and utils unit tests for View Mode; Playwright covers the persona default view on Domains/Data Products and re-login landing. The spec is renamed to PersonaGeneralPreferences.spec.ts.
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
…ons to a footer bar
Rename:
- The persona customization card and page are now "App Layout",
served at /customize-page/<persona>/app-layout. The page component,
its types and helpers, the page key, i18n keys, icon, test ids and the
Playwright spec (PersonaAppLayout.spec.ts) are renamed to match.
- New wording for the label, subtitle and card description in all 20
locales.
Layout, per the design:
- Breadcrumbs (Settings / Personas / <persona> / App Layout), title and
subtitle replace the CustomizablePageHeader card, so the close button
goes too; the breadcrumbs cover navigating back.
- A footer bar pinned to the bottom holds the save status ("All changes
saved" / "Unsaved changes"), Discard and Save changes. Discard reverts
unsaved edits to the saved values, replacing the old reset-to-defaults.
- Drop CustomizablePageHeader's branch for this page, now unused.
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
…ayout spec" This reverts commit 881feeb.
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
- Remove the @Features/@Platform tags from the persona App Layout spec; nothing in the Playwright config or CI selects tests by them. - Sort the imports left out of order by the constants merge.
…' into feat/persona-general-preferences # Conflicts: # openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/PersonaAppLayout.spec.ts
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
| test('lands on the default landing page after sign-in', async ({ | ||
| browser, | ||
| }) => { | ||
| const { page, afterAction } = await performUserLogin(browser, classicUser); |
There was a problem hiding this comment.
we should not use login like this, we should have page level fixtures, check other specs for idea
| await page.goto('/explore', { waitUntil: 'domcontentloaded' }); | ||
| await waitForAllLoadersToDisappear(page); | ||
| await classicUser.logout(page); |
… persona spec - PersonaUtils.test: the App Layout card's icon is now the core AppLayout icon component, not an SVG asset, so assert on that component. This was failing the Jest coverage job. - PersonaAppLayout.spec: persona users get signed-in page fixtures (classicUserPage / aiUserPage), as in PersonaSessionPersistence.spec, so no test logs in or out itself. Drop the sign-out/sign-in test; the in-app-logout routing is covered by AuthProvider.test.
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
A signed-in persona user who enters / in the address bar lands on the persona's default landing page again, without signing out. The test first moves to /explore so the final check proves / redirected.
…' into feat/persona-general-preferences
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
… per test Sign each persona user in once in beforeAll and save the session (storageState with IndexedDB, where the auth token lives). The classicUserPage / aiUserPage fixtures open the app at / from that saved session, so tests no longer call browser.newPage() + login, which the "prefer the page fixture" lint rule warned about.
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
Code Review ✅ Approved 3 closed / 3 findings🟡 Medium risk · Persona preferences alter app-entry routing and default list layouts across the UI. Adds persona General Preferences with configurable default landing page, view modes for list pages, and app mode defaults. Landing page redirect is now positioned after sign-in to fix stale pathname issues. E2E test coverage for re-login landing and Select dismissal workaround were removed during development; the landing page and view mode behaviors are covered by other E2E tests and unit tests. ✅ 3 closed✅ Quality: E2E test for re-login landing (stale pathname fix) was dropped
✅ Quality: Sign-in landing is no longer asserted by any E2E test
Closed: Edge Case: Select dismissal fix reverted; tabIndex workaround is partial and untested
OptionsDisplay: compact → Counting what did not apply, without listing it. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|
| Count | Rule |
|---|---|
| 29 | no-restricted-imports |
| 20 | react-hooks/exhaustive-deps |
| 5 | openmetadata-imports/no-cross-page-imports |
| 2 | openmetadata-imports/no-lower-layer-page-imports |
| 1 | openmetadata-ui-patterns/no-non-adaptive-palette |
| 1 | openmetadata-imports/review-sequential-api-calls |
All findings
| Location | Rule | Message | |
|---|---|---|---|
| 🟡 | src/components/AppModeSwitcher/InterfaceModeMenuItem.tsx:29:3 |
openmetadata-ui-patterns/no-non-adaptive-palette |
Raw palette class "tw:hover:bg-blue-50" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:bg-utility-blue-50) or a semant |
| 🟡 | src/components/Auth/AuthProviders/AuthProvider.tsx:300:9 |
react-hooks/exhaustive-deps |
The 'onLoginHandler' function makes the dependencies of useMemo Hook (at line 954) change on every render. Move it inside the useMemo callback. Alternatively, w |
| 🟡 | src/components/Auth/AuthProviders/AuthProvider.tsx:380:6 |
react-hooks/exhaustive-deps |
React Hook useCallback has missing dependencies: 'navigate', 'setApplicationLoading', 'setCurrentUser', and 'setIsAuthenticated'. Either include them or remove |
| 🟡 | src/components/Auth/AuthProviders/AuthProvider.tsx:435:9 |
react-hooks/exhaustive-deps |
The 'resetUserDetails' function makes the dependencies of useMemo Hook (at line 954) change on every render. To fix this, wrap the definition of 'resetUserDetai |
| 🟡 | src/components/Auth/AuthProviders/AuthProvider.tsx:552:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has missing dependencies: 'handleStoreProtectedRedirectPath', 'resetUserDetails', and 'setIsAuthenticated'. Either include them or remove t |
| 🟡 | src/components/Auth/AuthProviders/AuthProvider.tsx:554:9 |
react-hooks/exhaustive-deps |
The 'handleFailedLogin' function makes the dependencies of useMemo Hook (at line 954) change on every render. Move it inside the useMemo callback. Alternatively |
| 🟡 | src/components/Auth/AuthProviders/AuthProvider.tsx:610:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has missing dependencies: 'authConfig?.provider', 'handledVerifiedUser', 'navigate', and 'resetUserDetails'. Either include them or remov |
| 🟡 | src/components/Auth/AuthProviders/AuthProvider.tsx:660:9 |
react-hooks/exhaustive-deps |
The 'initializeAxiosInterceptors' function makes the dependencies of useMemo Hook (at line 954) change on every render. To fix this, wrap the definition of 'ini |
| 🟡 | src/components/Auth/AuthProviders/AuthProvider.tsx:943:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'fetchAuthConfig'. Either include it or remove the dependency array. |
| 🟡 | src/components/DataProduct/DataProductListPage.tsx:391:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has missing dependencies: 'dataProductColumns', 'dataProductListing.handleSelect', and 'dataProductListing.handleSelectAll'. Either include t |
| 🟡 | src/components/Domain/SubDomainsTable/SubDomainsTable.component.tsx:121:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'subdomainListing'. Either include it or remove the dependency array. |
| 🟡 | src/components/Domain/SubDomainsTable/SubDomainsTable.component.tsx:193:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has missing dependencies: 'subDomainColumns', 'subdomainListing.handleSelect', and 'subdomainListing.handleSelectAll'. Either include them or |
| 🟡 | src/components/DomainListing/DomainListPage.tsx:288:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has missing dependencies: 'domainColumns', 'domainListing.handleSelect', and 'domainListing.handleSelectAll'. Either include them or remove t |
| 🟡 | 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: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/MyData/CustomizableComponents/CustomizablePageHeader/CustomizablePageHeader.tsx:100:5 |
react-hooks/exhaustive-deps |
React Hook useMemo has missing dependencies: 'currentPageType' and 't'. Either include them or remove the dependency array. |
| 🟡 | src/components/Settings/Persona/CustomizeUI/CustomizeUI.tsx:53:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'navigate'. Either include it or remove the dependency array. Outer scope values like 'history' aren't valid de |
| 🟡 | src/pages/CustomizablePage/CustomizablePage.tsx:58:1 |
openmetadata-imports/no-cross-page-imports |
Page features must not import another page feature. Move shared code to components, hooks, interfaces, or pure utilities. |
| 🟡 | src/pages/CustomizablePage/CustomizablePage.tsx:59:1 |
openmetadata-imports/no-cross-page-imports |
Page features must not import another page feature. Move shared code to components, hooks, interfaces, or pure utilities. |
| 🟡 | src/pages/CustomizablePage/CustomizablePage.tsx:60:1 |
openmetadata-imports/no-cross-page-imports |
Page features must not import another page feature. Move shared code to components, hooks, interfaces, or pure utilities. |
| 🟡 | src/pages/CustomizablePage/CustomizablePage.tsx:61:1 |
openmetadata-imports/no-cross-page-imports |
Page features must not import another page feature. Move shared code to components, hooks, interfaces, or pure utilities. |
| 🟡 | src/pages/CustomizablePage/CustomizablePage.tsx:62:1 |
openmetadata-imports/no-cross-page-imports |
Page features must not import another page feature. Move shared code to components, hooks, interfaces, or pure utilities. |
| 🟡 | src/pages/CustomizablePage/CustomizablePage.tsx:473:28 |
openmetadata-imports/review-sequential-api-calls |
Review these sequential API requests. If they are independent, start them together with Promise.all/Promise.allSettled; keep sequencing only when data-dependent |
| 🟡 | src/pages/CustomizablePage/CustomizablePage.tsx:505:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'initializeCustomizeStore'. Either include it or remove the dependency array. |
| 🟡 | src/pages/Persona/PersonaDetailsPage/PersonaDetailsPage.tsx:127:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array. |
| 🟡 | src/pages/Persona/PersonaDetailsPage/PersonaDetailsPage.tsx:145:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'fetchPersonaDetails'. Either include it or remove the dependency array. |
| 🟡 | src/pages/Persona/PersonaDetailsPage/PersonaDetailsPage.tsx:163:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has missing dependencies: 'location.hash', 'location.pathname', 'location.search', and 'navigate'. Either include them or remove the depend |
| 🟡 | src/pages/Persona/PersonaDetailsPage/PersonaDetailsPage.tsx:299:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has a missing dependency: 'handleRemoveUser'. Either include it or remove the dependency array. |
| 🟡 | src/pages/Persona/PersonaDetailsPage/PersonaDetailsPage.tsx:329:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array. |
| 🟡 | src/utils/PersonaClassBase.ts:15:1 |
no-restricted-imports |
'../assets/svg/api-collection-colored.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the desig |
| 🟡 | src/utils/PersonaClassBase.ts:16:1 |
no-restricted-imports |
'../assets/svg/api-endpoints-colored.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the design |
| 🟡 | src/utils/PersonaClassBase.ts:17:1 |
no-restricted-imports |
'../assets/svg/chart-colored.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abs |
| 🟡 | src/utils/PersonaClassBase.ts:18:1 |
no-restricted-imports |
'../assets/svg/classification-colored-new.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the d |
| 🟡 | src/utils/PersonaClassBase.ts:19:1 |
no-restricted-imports |
'../assets/svg/dashboard-colored-new.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the design |
| 🟡 | src/utils/PersonaClassBase.ts:20:1 |
no-restricted-imports |
'../assets/svg/dashboard-data-models-colored.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use th |
| 🟡 | src/utils/PersonaClassBase.ts:21:1 |
no-restricted-imports |
'../assets/svg/data-assets-colored-new.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the desi |
| 🟡 | src/utils/PersonaClassBase.ts:22:1 |
no-restricted-imports |
'../assets/svg/data-marketplace-colored.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the des |
| 🟡 | src/utils/PersonaClassBase.ts:23:1 |
no-restricted-imports |
'../assets/svg/data-product-colored.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designa |
| 🟡 | src/utils/PersonaClassBase.ts:24:1 |
no-restricted-imports |
'../assets/svg/database-colored-new.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designa |
| 🟡 | src/utils/PersonaClassBase.ts:25:1 |
no-restricted-imports |
'../assets/svg/database-schema-colored.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the desi |
| 🟡 | src/utils/PersonaClassBase.ts:26:1 |
no-restricted-imports |
'../assets/svg/directory-colored-new.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the design |
| 🟡 | src/utils/PersonaClassBase.ts:27:1 |
no-restricted-imports |
'../assets/svg/domain-colored.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated ab |
| 🟡 | src/utils/PersonaClassBase.ts:28:1 |
no-restricted-imports |
'../assets/svg/file-colored-new.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated |
| 🟡 | src/utils/PersonaClassBase.ts:29:1 |
no-restricted-imports |
'../assets/svg/glossary-term-colored-new.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the de |
| 🟡 | src/utils/PersonaClassBase.ts:30:1 |
no-restricted-imports |
'../assets/svg/governance.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abstra |
| 🟡 | src/utils/PersonaClassBase.ts:31:1 |
no-restricted-imports |
'../assets/svg/homepage.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abstract |
| 🟡 | src/utils/PersonaClassBase.ts:32:1 |
no-restricted-imports |
'../assets/svg/messaging-colored-new.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the design |
| 🟡 | src/utils/PersonaClassBase.ts:33:1 |
no-restricted-imports |
'../assets/svg/metric-colored-new.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designate |
| 🟡 | src/utils/PersonaClassBase.ts:34:1 |
no-restricted-imports |
'../assets/svg/ml-models-colored-new.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the design |
| 🟡 | src/utils/PersonaClassBase.ts:35:1 |
no-restricted-imports |
'../assets/svg/navigation.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abstra |
… and 8 more. Run make ui-checkstyle-changed locally for the full list.
Fix locally (fast - only checks files changed in this branch):
make ui-checkstyle-changed
|
|



Describe your changes:
Fixes #31776
The persona App Mode card in Customize UI is replaced by an App Layout card (
/customize-page/<persona>/app-layout). Admins pick three defaults for everyone on a persona:/: after signing in, on a reload, or in a new tab, in both Classic and AI mode. Unset means Home (My Data).The page uses the same header card as the other persona customize pages: Reset (back to defaults after a confirmation; nothing is saved until Save), Save and close.
Why: admins had no way to choose where a persona starts, or how its list pages open. Everyone landed on My Data and every list page opened as a table. #31776 asks for exactly this on the Data Products page.
Also fixed along the way:
Type of change:
High-level design:
Storage (schema-first)
type/personaPreferences.jsongains two optional fields:defaultLandingPage(string)defaultViewModes: one optional field per page (domains,subDomains,dataProducts,learningResources), each apageViewMode(table|card|tree).personaPreferences.ts,user.ts,uiCustomization.ts).data.personaPreferences[]) throughupdatePersonaAppLayout. A default choice (No default, Home, no pages) removes the field instead of storing a value.Default Landing Page
constants/platform/personaLandingPage.constants.ts.resolvePersonaLandingPagefalls back to Home for any value not in that list, so a removed route can't strand users and nothing can redirect to an outside URL.components/platform/persona/PersonaLandingRedirectwraps both route trees inAuthenticatedApp. It redirects only the first page the app opens on, and only when that page is/:/(the logo, the AI home) are left alone;AuthProviderstill routes to/after sign-in. Its only change is the re-login fix:handledVerifiedUserreadspathnameRef(the ref already used for the redirect-path cookie) instead of the memoized handler's stalelocation.hooks/platform/usePersonaDocumentreads the selected persona's document through the same React Query cache key asuseCustomPages, so it adds no request.View Mode
constants/platform/personaViewMode.constants.tslists the pages with a toggle (VIEW_MODE_PAGE) and the layouts each offers.resolvePersonaViewModefalls back to Table when the saved layout isn't offered (e.g. Tree outside Domains).hooks/platform/usePersonaViewModefeeds the four list pages:const view = selectedView ?? personaView, so a click on the page's own toggle still wins for that visit.ViewToggleand the list pages use the generatedPageViewModedirectly, so the saved value and the toggle share one type.Page
pages/platform/persona/PersonaAppLayoutPage/replacesSettingsAppModePage(DEVELOPER_HANDBOOK layout; props inPersonaAppLayoutPage.types.ts).RadioGroup,Select,Tabs,Dropdown,Card) and the sharedCustomizablePageHeader.CustomizablePagepasses it the persona document it already loaded, the same way other customize pages getcurrentPage, so it doesn't import another page's store.Selectas is. Groups come from react-aria'sListBoxSection/Headerin the page, and the route fromSelect.Item'ssupportingText.tabIndex={-1}the same way, so a click on the page closes the list.Selectis unchanged.Core components (
openmetadata-ui-core-components)icons-custom/app-layout.svg→AppLayoutin@openmetadata/ui-core-components/icons).Alternatives considered
FilterSelectwith newsupportingText/groupoption fields: rejected; no new core props.Backward compatibility
appModevalues keep working.dataaccepts any properties, and nothing validates it against this schema./customize-page/<persona>/app-modeURL are replaced by App Layout.Tests:
Use cases covered
/in a new tab. A deep link in a new tab stays on that page.Unit tests
pages/platform/persona/PersonaAppLayoutPage/PersonaAppLayoutPage.test.tsx: all three sections, grouped landing options, save payloads, Reset, failed save.components/platform/persona/PersonaLandingRedirect/PersonaLandingRedirect.test.tsx(new):/redirects, Home stays, deep links untouched, a stored deep link wins, a later in-app/isn't redirected, no persona means no fetch.hooks/platform/usePersonaViewMode.test.ts(new).components/Auth/AuthProviders/AuthProvider.test.tsx: re-login after an in-app logout routes to/(regression for the stale pathname).utils/CustomizePage/PersonaPage.utils.test.ts: preference writes, landing page and view resolution.CustomizablePageHeader.test.tsx,utils/PersonaClassBase.test.ts,utils/Persona/PersonaUtils.test.ts: the App Layout card and subtitle.pages/SettingsAppModePage/SettingsAppModePage.test.tsx: removed with the page.Backend integration tests
Ingestion integration tests
Playwright (UI) tests
openmetadata-ui/.../ui/playwright/for UI changes.playwright/e2e/Features/PersonaAppLayout.spec.ts(new):/opens the landing page; a deep link stays put;playwright/utils/persona.ts:createPersonaAppLayoutDocandsetDefaultPersonahelpers.AppMode/AppModePrecedence.spec.ts,AppMode/AppModeAiPersonaLandsAtRoot.spec.ts: comments updated.Manual testing performed
:3000against a local backend.localhost:3000in a new tab and landed there too; did the same with the persona in AI mode.UI screen recording / screenshots:
<attach recording / screenshots>
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 migration: both fields are optional additions, docStore
dataaccepts any properties, and existing documents stay valid.)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.
The issue properly describes why the new feature is needed, what's the goal, and how we are building it. Any discussion or decision-making process is reflected in the issue.
I have updated the documentation.
I have added tests around the new logic.