Repository navigation
test(it): accept multi-select testCaseStatus[] URL in DQ dashboard pie nav - #31880
Conversation
…ard pie nav PR #31662 made the test-case status filter multi-select and changed BINARY_STATUS_PIE_SEGMENT_ORDER to TestCaseStatus[][]. The Entity Health pie segment now navigates with an array of statuses, serialized with bracket array syntax (testCaseStatus[]=Failed&testCaseStatus[]=Aborted, URL-encoded as testCaseStatus%5B%5D=), instead of a bare testCaseStatus=. The Java IT page object still waited on the old testCaseStatus= regex, so waitForURL never matched and the flow timed out after 20s. Widen the pattern to accept the bare, literal-bracket, and encoded-bracket forms so both single- and multi-status pies satisfy the navigation contract, mirroring the TS spec update that shipped in the same PR.
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
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 |
✅ Playwright Results — workflow succeededValidated commit ✅ 554 passed · ❌ 0 failed · 🟡 0 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky PerformanceBlocking targets: ✅ met · Optimization targets: 🟡 in progress Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting. 🕒 Full workflow signal wall (to summary) 51m 15s ⏱️ Max setup 5m 19s · max shard execution 16m 19s · max shard-job elapsed before upload 20m 26s · reporting 3s 🌐 217.94 requests/attempt · 2.83 app boots/UI scenario · 24.82% common-shard skew Optimization targets still in progress:
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
🚦 Removed from the merge queue —
|
Code Review ✅ ApprovedUpdates the Playwright integration test page object to accept multi-select bracketed URL parameters for the DQ dashboard entity health pie navigation. No issues found. OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
…ard pie nav (#31880) PR #31662 made the test-case status filter multi-select and changed BINARY_STATUS_PIE_SEGMENT_ORDER to TestCaseStatus[][]. The Entity Health pie segment now navigates with an array of statuses, serialized with bracket array syntax (testCaseStatus[]=Failed&testCaseStatus[]=Aborted, URL-encoded as testCaseStatus%5B%5D=), instead of a bare testCaseStatus=. The Java IT page object still waited on the old testCaseStatus= regex, so waitForURL never matched and the flow timed out after 20s. Widen the pattern to accept the bare, literal-bracket, and encoded-bracket forms so both single- and multi-status pies satisfy the navigation contract, mirroring the TS spec update that shipped in the same PR. Co-authored-by: Teddy <[email protected]>
…etadata#32252) * feat(ui): unify Owner rendering into a single core-components component (#6041) Introduces `Owner` in `@openmetadata/ui-core-components` as the single canonical component for all owner display and editing across widgets, entity headers, and form inputs. All three previous entry-points (`OwnerLabel`, `OwnerLabelV2`, `OwnersSection`) and their ~10 internal sub-components are removed in favour of the one import. - Add `OwnerRef`, `OwnerKind`, `AvatarSize` types to core-components `types.ts` - Add `Owner`, `OwnerChip`, `OwnerAvatarStack` components to core-components under `components/application/owner/` — built on `Avatar`, `Popover`, and `@untitledui/icons` primitives; no Ant Design - Add `toOwnerRef`/`toOwnerRefs` conversion utilities in `utils/Owner/` - Migrate ~50 call sites (widgets, headers, summary panels, forms, utils) to `<Owner owners={toOwnerRefs(...)} selectorContent={<UserTeamSelectableList />} />` - Delete `OwnerLabel/`, `OwnerLabelV2/`, `OwnersSection/`, `NoOwner/`, `OwnerAvtar/`, `OwnerItem/`, `OwnerUserList/`, `OwnerTeamList/`, `OwnerUserTeamList/`, `RemainingOwner/` Co-Authored-By: Claude Sonnet 4.6 <[email protected]> * feat(ui): move toOwnerRef/toOwnerRefs into core-components Adds `OwnerLike`, `toOwnerRef`, and `toOwnerRefs` to `@openmetadata/ui-core-components` so Collate (and any other consumer) can import the conversion utilities from the same package as `Owner`, without defining their own. `OwnerLike` is a structural interface that both OpenMetadata and Collate's generated `EntityReference` types satisfy — no cross-repo type imports needed. The main UI's `ownerConversionUtils.ts` now re-exports from core-components so all existing import paths remain valid. Co-Authored-By: Claude Sonnet 4.6 <[email protected]> * fix(profiler): resolve remaining Databricks SQL failures (#32238) * fix(profiler): handle Databricks profiling edge cases * fix(profiler): retain verified Databricks changes * fix(ingestion): handle RootModel fields in _sort_array_entity_fields (#32009) _sort_array_entity_fields crashed with 'list object has no attribute root' when an EntityReferenceList field (domains, dataProducts) was passed in array_entity_fields. Two issues: iterating a RootModel yields tuples not items, and setattr with a plain list breaks model_dump_json for RootModel-typed fields. Extract .root before iteration and re-wrap via model_copy when the field is a RootModel subclass. * test(it): accept multi-select testCaseStatus[] URL param in DQ dashboard pie nav (#31880) PR #31662 made the test-case status filter multi-select and changed BINARY_STATUS_PIE_SEGMENT_ORDER to TestCaseStatus[][]. The Entity Health pie segment now navigates with an array of statuses, serialized with bracket array syntax (testCaseStatus[]=Failed&testCaseStatus[]=Aborted, URL-encoded as testCaseStatus%5B%5D=), instead of a bare testCaseStatus=. The Java IT page object still waited on the old testCaseStatus= regex, so waitForURL never matched and the flow timed out after 20s. Widen the pattern to accept the bare, literal-bracket, and encoded-bracket forms so both single- and multi-status pies satisfy the navigation contract, mirroring the TS spec update that shipped in the same PR. Co-authored-by: Teddy <[email protected]> * ci: scope ui-checkstyle pull_request_target to main (#32248) This workflow currently answers pull_request_target for every base branch, so release-branch PRs are validated by main's definition rather than their own. It assumes tooling that older branches do not carry, and the step runs under `bash -e`, so it dies before reaching the check that judges the contributor's code: Cannot find module '.../ui/scripts/eslint-pr-report.js' Cannot find module '.../ui/scripts/tw-audit.js' Cannot find module '.../ui/scripts/tw-deprecation-guard.js' error Command "check-i18n-all" not found. Every 1.13 PR touching a UI file is unmergeable through this check as a result, and 2.0 has the same gap. Scope the trigger to main so each branch is validated by the definition that ships with it. 2.0 already names its jobs checkstyle/ui-checkstyle and never calls the missing scripts, so it needs nothing further. 1.13 pairs with #32247, which routes its same-repo PRs through pull_request. Co-authored-by: anuj-kumary <[email protected]> Co-authored-by: Claude Opus 5 (1M context) <[email protected]> * Decompose CollectionDAO & EntityRepository; fix lineage/usage/isBot bugs (#28778) * refactor(service): split CollectionDAO & EntityRepository; fix lineage/usage/isBot bugs Decompose the two backend god-classes into cohesive, single-responsibility collaborators (behavior-preserving) and fix several DAO-layer perf/correctness bugs. CollectionDAO (15,040 -> 433 lines): split into 17 same-package domain aggregator interfaces it `extends` (composite-interface-inheritance, zero call-site change): RdfInfraDAOs, SearchReindexDAOs, AiGovernanceDAOs, FeedDAOs, ClassificationTagDAOs, TimeSeriesDAOs, ActivityAuditDAOs, GovernanceDAOs, EventSubscriptionDAOs, KnowledgeAssetDAOs, SystemTokenDAOs, DataAssetServiceDAOs, EntityDataDAOs, AccessControlDAOs, WorkflowDocStoreDAOs, OAuthDAOs, CoreRelationshipDAOs. Added CollectionDAOCompositionTest guarding the JDBI wiring of inherited accessors. EntityRepository (12,797 -> ~9,950 lines): extracted 7 collaborators with delegators preserving the public/protected API for 81 subclasses: EntityTaskWorkflows, EntityCacheLoaders, EntityCaches, EntityCacheInvalidator, InheritanceParentCache, BulkFieldFetcher, BulkImportService. Perf/correctness fixes: - Lineage findTo/FromPipeline operator-precedence bug (restores the relation filter) - entity_usage(entityType,usageDate) index for UsageDAO.computePercentile (2.0.0 migration) - Postgres isBot generated column read $.deleted instead of $.isBot (2.0.0 migration); bots were counted as daily-active users on Postgres - getMaxLastActivityTime / user-list isBot filters use the indexed columns - deleted dead, malformed EntityExtensionDAO.update Full openmetadata-service test suite passes (5,800 tests, 0 failures). * feat(ui): paginate glossary terms with cursor Prev/Next and paged expand-all (#32223) * feat(ui): paginate glossary terms with cursor Prev/Next and paged expand-all * fix bot comments * fix(ui): use singular term-count label for count=1 (i18next) Addresses the gitar-bot review finding: a parent with one nested term rendered '1 terms'. Pick label.count-term (singular) vs label.count-term-plural based on the count. Adds count-term across locales. Co-Authored-By: Claude Opus 4.8 <[email protected]> * test(ui): drive glossary pagination test via cursor Prev/Next The large-glossary test asserted infinite-scroll behaviour (scroll to bottom, expect the directChildrenOf+after fetch, then 100 appended rows). Cursor pagination replaced infinite scroll, so that fetch never fires on scroll and the test timed out. Rewrite it to click Next (which triggers the directChildrenOf+after fetch), assert the page is replaced (still 50 rows, Previous now enabled), then Prev back to the first page. Co-Authored-By: Claude Opus 4.8 <[email protected]> * fix(ui): keep glossary hierarchy intact across partial expand-all pages Two defects flagged in review on the paginated glossary terms table: 1. buildTree promoted parentless descendants to roots. Progressive expand-all paginates all levels by name (backend orders by name,id), so a nested term can arrive on an earlier page than its parent term. buildTree then rendered that orphan as a top-level row, corrupting the hierarchy. Hold such orphans back until the page carrying their parent loads, at which point they attach correctly. 2. The Expand/Collapse-All control desynced on partial loads. The action was chosen by an expandedRowKeys === expandableKeys equality that a partially loaded tree never satisfies, and toggleExpandBtn was blindly flipped. So a second click (or one after a manual row collapse) re-ran the expand path, reset the accumulated pages, and hid the only Load More control. Drive the action, label, and icon off the explicit expand-all mode flag instead. Co-Authored-By: Claude Opus 4.8 <[email protected]> * fix checkstyle * fix(ui): address gitar review on glossary expand-all hierarchy - buildTree: push the live node into its parent's children instead of a shallow snapshot. With lazy child-array creation, a snapshot kept the node's original (undefined) children array, so a grandchild attached on a later page bound to the original node and vanished from the tree. - buildTree: hold an orphan back based on the parent FQN's presence (excluding an explicit glossary parent) rather than a populated parent.type, which the API may omit and would otherwise let the orphan become a spurious root. - toggleExpandAll: list the fetch helpers (and handlePagingChange) it actually calls in its dependency array so the memoized callback can't invoke a stale closure. Adds regression tests for the missing-parent-type orphan and the intermediate-with-no-inline-children grandchild cases. Co-Authored-By: Claude Opus 4.8 <[email protected]> * fix(ui): don't hold back a term view's direct children in buildTree The orphan guard treated any term whose parent term is absent from the fetched data as an orphan. That is correct in the glossary view (top-level terms have no term parent), but wrong when expanding a glossary term: fetchExpadedTree loads that term's descendants, so the term itself is not in the data and its direct children reference an absent parent — they were wrongly held back, leaving the expanded table empty. Pass the view's root FQN (the glossary or the term being viewed) to buildTree so its direct children are recognised as genuine roots. Fixes the 'Verify Expand All For Nested Glossary Terms' e2e regression. Co-Authored-By: Claude Opus 4.8 <[email protected]> * fix checkstyle --------- Co-authored-by: Claude Opus 4.8 <[email protected]> * feat(ui): move AI-assistant shell + shared routes into OSS app-mode framework (#31911) * feat(ui): add AppModeSwitcher component Popover switcher for Classic/AI app mode with 'Open in {mode} when I log in' checkbox. Routes are prop-configurable (default '/'); no Electron/desktop gating (that lives in downstream shells). * feat(ui): make Explore mode-aware; move AI explore header into discovery domain The AI Explore presentation (search header + quick filters) moves from the Collate ai-chat plugin into openmetadata-ui under components/discovery/explore. ExplorePageV1's default export now selects its presentation from the active app mode: classic renders the shared page unchanged, AI mode wraps it with the AI search header. Both modes mount the same /explore route. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * refactor(ui): drop AI prefixes from moved Explore header (OSS naming) Renames ExploreAiHeader/AIExplore* to ExploreHeader/Explore* and neutralizes testids, class-name constants, i18n keys, and the header asset. Adds the renamed explore-* i18n keys and syncs locales. Presentation is still selected by app mode inside ExplorePageV1; the naming no longer carries an AI prefix. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * feat(ui): port app-mode shell + nav-module framework into OSS (platform/ai-shell) Adds the mode-aware assistant shell (AssistantLayout, Sidebar tree, KeepAliveRoutes, AppModeRoutes) and the AppModule/SubNav contract under components/platform/ai-shell, plus app-mode.* extension points so downstream plugins contribute nav+routes without OSS importing them. Neutral naming (no AI prefixes); sharedAppModules starts empty and is populated as domains migrate. Additive — nothing consumes it yet. Also: add optional isNLPActive to UserPreferences and fix Explore wrapper pageTitle forwarding surfaced by the moved Explore header. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * feat(ui): move observability, context-center, marketplace into OSS app-mode framework Wave 1 of the domain migration: ports the shared AI-mode helpers (LiveRefreshBoundary, PermissionedLiveRoute, ListPageHeader) and section layouts, and moves the observability, context-center, and marketplace surfaces into OSS as AppModule descriptors registered in sharedAppModules. Presentations live under their handbook domains with neutral naming; routes are mode-selected by the shell. Pipeline/Alert observability pages remain in Collate for a later wave (served via the app-mode fallback). Syncs new i18n keys. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * feat(ui): move entity and personal-space (inbox/my-data) into OSS app-mode framework Wave 2: entity-detail and personal-space surfaces become OSS AppModules in sharedAppModules (both icon-less; reached via deep links / a header entry point). The entity wrapper resolves the OSS entity-detail component; the inbox/my-data shell exposes triageContent/myDataContent injection slots (the proprietary feed bodies stay in Collate and render via those slots, placeholder until wired). Adds inbox i18n keys. Governance is intentionally NOT moved — it stays Collate. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * feat(ui): add classicV1 app mode; rename useIsAiMode -> useIsClassicV1Mode First step of turning the migrated AI-mode shell into a generic ClassicV1 layout: renames the AI_APP_MODE constant to CLASSIC_V1_APP_MODE ('classicV1') and useIsAiMode to useIsClassicV1Mode across every caller in the OSS UI, so downstream tasks can build the generic ClassicV1 layout on top of it. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * feat(ui): AppRouter renders ClassicV1 shell by stored mode; drop routes-registry lookup * refactor(ui): delete useResolvedAppMode (dead after AppRouter mode switch) AppRouter now switches on the stored app mode directly (no route registry/install-gate consultation), leaving useResolvedAppMode with zero callers in OSS. Delete it and its test rather than gutting it. useAppRoutesRegistry itself is NOT deleted: CustomizeUI, AppModeSwitcher, SettingsAppModePage, and PersonaDetailsPage still read registry.routes to gate "is a non-default mode installed" UI (unrelated to AppRouter's routing decision). See task-3-report.md for the full BLOCKED analysis. Also fixes the now-stale AppModeRoutes doc comment (no more plugin-registration mechanism; OSS AppRouter renders the shell directly by mode) and a dangling comment reference to the deleted hook. * refactor(ui): delete useAppRoutesRegistry; ClassicV1 always available ClassicV1 now ships in-tree in OSS (AppRouter switches on the stored mode directly, no install-gate) so the registry's "is a non-default mode installed" read is always true. Migrate the 4 real consumers (AppModeSwitcher, SettingsAppModePage, CustomizeUI, PersonaDetailsPage) to an unconditional `true` and remove the now-dead import, then delete the registry and its test. Update the 2 consumer tests that asserted gated behavior to assert the mode is always available instead. Also fixes the 2 remaining comment-only references in appMode.constants.ts so the module is what AppRouter actually does now: match the resolved mode string against CLASSIC_V1_APP_MODE directly, no registry involved. * feat(ui): AppPlugin.getModeModules; ClassicV1 shell merges shared + plugin modules * feat(schema): allow classicV1 app mode value (default unchanged; regenerate in full env) * feat(ui): AppModeSwitcher Classic <-> ClassicV1, always enabled, wire-token remember Rebrands AppModeSwitcher's AI toggle into the ClassicV1 app-mode switch: renames identifiers/testids/labels (isAiMode->isClassicV1Mode via the already-committed useIsClassicV1Mode hook, handleAiClick->handleClassicV1Click, app-mode-option-ai->app-mode-option-classic-v1, label.ai->label.classic-v1), renames app-mode-ai.svg->app-mode-classic-v1.svg, and removes the dead isAiInstalled disabled-gate now that ClassicV1 ships in-tree with no install-gate (Task 3 already hardcoded it to true). Fixes the pre-existing #31906 wire-contract bug: handleRememberToggle was writing the runtime mode string ("default"/"classicV1") straight to the AppModePreference.config.value preference, whose wire enum is actually ["ai","classic","classicV1",null]. Adds a local runtime->wire map ('default'->'classic', 'classicV1'->'classicV1' identity) and routes both the remember-checkbox write and its "is remembered" read through it. Also adds the genuinely-missing label.classic key to en-us.json (the component already called t('label.classic') with no key defined) and label.classic-v1, translated per-locale (classic-v1 stays untranslated like label.ai, since both are mode/product names). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ui): translate stored app-mode preference wire token to runtime on read Closes the symmetric read-side gap left by the AppModeSwitcher wire-token fix: resolveInitialAppMode and AuthProvider.hydrateAndResolveAppMode both read preferences.appMode and used it directly as a runtime mode string, but it now holds the AppModePreference wire token ("classic"/"classicV1", plus legacy "ai") written by the switcher's remember checkbox. A remembered Classic user stored "classic" and would have read back the literal string "classic" as the runtime mode instead of DEFAULT_APP_MODE. Adds RUNTIME_TO_PREFERENCE_WIRE (moved from AppModeSwitcher.tsx, now the single source of truth) and its inverse PREFERENCE_MODE_TO_RUNTIME plus a translatePreferenceMode wrapper in useAppMode.ts, co-located with the analogous CONFIG_MODE_TO_RUNTIME/translateWireMode pair for the tenant-wide appConfiguration wire vocabulary. Routes both resolveInitialAppMode and AuthProvider's boot-time preference read through the translation. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ui): reinstate persona-forced app-mode resolution in AuthProvider boot Task 3 deleted useResolvedAppMode, which also removed the only code that fetched the persona doc and resolved the persona-forced app mode. The boot path in AuthProvider.hydrateAndResolveAppMode was left calling resolveEffectiveAppMode(userPref, null, appDefault) with persona hard-coded null, so a persona with appMode set no longer forced the mode. Fold persona resolution into the boot path: fetch the persona's UICustomization doc (personaDocFqn + getDocumentByFQN) when the precedence chain actually needs to run, translate its appMode via a new pure resolvePersonaAppMode helper (reusing translatePreferenceMode: classic->default, classicV1/legacy AI/ai->classicV1), and pass the resolved mode into resolveEffectiveAppMode. No route-registry install-gate is reintroduced. Update the stale doc comments that referenced the deleted async resolver. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * feat(ui): add app-mode switcher to profile dropdown Mount the existing AppModeSwitcher in the user profile dropdown (UserProfileIcon) so users can switch between Classic and ClassicV1 interfaces from the navbar avatar menu, alongside the persona switcher. Add the three i18n keys the switcher needs to the OSS catalog (mode-label, switch-interface, open-in-mode-when-login), sync across all locales, and copy he-he/zh-cn translations from the Collate catalog. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * feat(ui): ClassicV1 standalone shell — nav modules, full page-table fallback, sidebar styling Make the ClassicV1 app-mode shell render standalone in OSS (no plugin required), so it works for every OpenMetadata user, not only when Collate contributes its surfaces. - AppModeRoutes: when no plugin contributes a routes fallback, render the shared page route table via `applicationRoutesClass.getRouteElements()` (OSS `AuthenticatedAppRouter`) as the catch-all — mirroring how the classic `AppContainer` renders its content, just wrapped in the ClassicV1 `AppShell` chrome instead of the classic sidebar. Every canonical page (Explore, Glossary, Settings, entity details) now renders inside the shell, and `/` -> `/my-data` comes from that table's own redirect. Replaces the earlier interim `/my-data` redirect fallback. - Add Home, Explore and Govern sidebar modules to `sharedAppModules`. Home and Explore are nav-only (content served by the fallback table); Govern carries the classic governance sub-nav (Glossary, Ontology Explorer, Classification, Metrics, Workflows). - Sidebar: port the full cosmetic sidebar styling (rail/panel widths, colors, spacing, hover/active) that the initial platform/ai-shell port left as a structural-only stub — the neutral shell rendered unstyled with no consumer. - vite: force-prebundle `react-hook-form` in `optimizeDeps.include`. Through a symlinked node_modules Vite otherwise serves it raw via `@fs`, pulling a second React copy and throwing "Invalid hook call" in every RHF form; `dedupe` alone does not cover the dev pre-bundle path. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * feat(ui): default OSS brand + user card in ClassicV1 sidebar The ClassicV1 sidebar header/footer rendered only plugin-contributed slots, so standalone OSS had no logo and no user card. Add OSS-native defaults, shown by MainPanel and Rail whenever no plugin contributes the matching slot (so a downstream Collate brand/user card still overrides them): - SidebarBrand (`ask-logo-btn`) — the OpenMetadata monogram via `brandClassBase.getMonogram()` (honours white-labeling), navigating home. - UserProfileCard (`ask-user-card`) — reuses the shared `UserProfileIcon` (avatar, name, and the profile dropdown that carries the mode switcher). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ui): ClassicV1 sidebar polish — icons, collapsed logo, user card, content panel Address review feedback on the ClassicV1 shell: - Home and Govern nav icons were off — use the UntitledUI `Home02` and `Scales01` line icons (Home02 matches the classic sidebar), replacing the mismatched raster/coloured SVGs. - Collapsed rail logo looked wrong: SidebarBrand hard-coded the MainPanel logo class (which sizes the SVG for a wide logo). Add a `variant` so the rail uses `ask-rail__logo-btn` and centers the square monogram. - User card now bottom-aligned (`ask-main-panel__footer { margin-top: auto }`) and carries the Classic/ClassicV1 AppModeSwitcher, mirroring Collate. The collapsed rail shows a compact avatar-only card (the switcher label can't fit the 65px rail). - AssistantLayout content panel had only a structural stub — give `.assistant-content` the white surface, flex column and relative positioning, and the layout a page background so the content reads as a framed panel. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * refactor(ui): source ClassicV1 modules from LeftSidebarClassBase, drop AppPlugin.getModeModules ClassicV1 is an app layout, not a plugin layout, so its sidebar modules should be owned by the app the same way the Classic sidebar is — not contributed by an installed plugin. - LeftSidebarClassBase gains `getAppModeModules()` / `setAppModeModules()`, the sibling of `getSidebarItems()` for the ClassicV1 layout. It holds the OSS app-mode modules (home, explore, entity, observability, govern, context center, marketplace, personal space). A downstream build overrides it to append its own, exactly like it extends the Classic sidebar. - `useAllAppModules()` now reads `leftSidebarClassBase.getAppModeModules()` and sorts by navOrder — no `ApplicationsProvider`/plugin merge. - Remove `AppPlugin.getModeModules` and its shell merge; update the docs on `ExtensionPointTypes` and `AppModule` and the `sharedAppModules` test. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ui): ClassicV1 Home/Govern icons + PageLayoutV1 top inset - Use the Collate nav-bar Home and Governance icons (default + active) for the ClassicV1 Home and Govern sidebar modules, replacing the UntitledUI stand-ins so they match the rest of the AI-shell icon set. - AssistantLayout: give default-variant PageLayoutV1 pages a 16px top inset (`.page-layout-v1:not([data-variant='compact'])`) — ClassicV1 has no top navbar, so pages otherwise render flush to the panel. Compact pages keep their own p-2; PageLayoutV1 owns all other page padding. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ui): Inbox page header uses the inbox nav icon, not @untitledui Inbox01 The ClassicV1 Inbox page header showed the generic @untitledui `Inbox01`, inconsistent with the sidebar/nav icon set (Marketplace, Observability, etc. already use their own svg). Use the `ask-collate-nav-bar/inbox-default.svg` icon so the header matches the rest of the shell. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * feat(ui): move AIUserMenu + Inbox launcher (and personal-space infra) into OSS The ClassicV1 user card was OSS-only chrome around the shared `UserProfileIcon`; the real AI user menu and the sidebar Inbox launcher lived in Collate. Move them (and the personal-space store + inbox helpers they need) into OSS so the OSS ClassicV1 shell has a first-class user card, and Collate reuses it. - New OSS: `components/discovery/personal-space/AIUserMenu/` (avatar, name, profile dropdown; uses OSS `NavbarUtilClassBase.getHelpItems()` — Collate's override is picked up automatically by the class-replacement plugin), `components/discovery/personal-space/InboxIconButton/` (inbox launcher with open-task + unread-activity badge), `hooks/usePersonalSpaceStore.ts`, `hooks/useUnreadInboxActivity.ts`, `InboxPage/inbox.utils.ts`, and `personal-space/inbox.constants.ts` (the two inbox query keys). - `UserProfileCard` now composes `AIUserMenu` + `InboxIconButton` + `AppModeSwitcher` (expanded) / a compact rail variant, replacing the `UserProfileIcon` placeholder. - All imports repointed to OSS relative paths; 52 moved unit tests pass. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(build): resolve.preserveSymlinks so linked/symlinked deps share one React `@openmetadata/ui-core-components` is a yarn `link:` dependency, and worktree dev setups (e.g. Conductor) symlink `node_modules` itself. With Vite's default symlink-following, such deps resolve to a real path OUTSIDE the project root and get served raw via `@fs`, pulling a SECOND React instance — every react-hook-form `useForm` page then throws "Invalid hook call" / "Cannot read properties of null (reading 'useRef')" on mount. Preserving symlinks keeps deps on their node_modules-relative path so their `import 'react'` resolves to the single optimized React. Benign for plain installs (no symlinks to follow). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ui): ClassicV1 sidebar polish — govern icons, collapsed rail card, logo, page bg - Govern sub-nav uses the proper nav-bar icons (default + active) for Glossary, Ontology, Classification, Metrics and Workflows; the old generic `workflow.svg` (a 10x10 stroke icon) rendered wrong. - Collapsed rail user card: `display: contents` in compact so the inbox / avatar / mode switcher stack directly in `.ask-rail__profile` instead of a nested card box crammed into the 65px rail. - SidebarBrand monogram sized to the 53x64 aspect (was squished square → oval). - Personal-space `:has()` rule no longer overrides the panel background with an undefined `--color-bg-primary` token; it only pins scrolling now. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * feat(ui): full brand wordmark in ClassicV1 header + install-gated plugin modules - SidebarBrand shows the full brand wordmark (`brandClassBase.getLogo()`) in the expanded panel and the compact monogram (`getMonogram()`) in the rail. Since `brandClassBase` is class-swapped downstream, the Collate wordmark now shows for every ClassicV1 user (not only when the ai-chat app is installed). The `__logo-btn svg` rule height-constrains the mark so any logo aspect fits. - Re-add `AppPlugin.getModeModules()` and merge installed-plugin modules in `useAllAppModules`. The `ApplicationsProvider` exposes installed plugins only, so plugin-contributed modules (AI Studio / AI Automations / AI Analytics) appear only when their app is installed; the always-present modules stay in `LeftSidebarClassBase.getAppModeModules()`. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * feat(ui): add Default App Mode tenant-default settings page Adds a Settings → Preferences → App Mode page where an admin sets the tenant-wide default app mode (No default / Classic / AI). The page reads and writes appConfiguration.defaultAppMode via the existing get/patchAppConfiguration APIs, gates Save until the selection changes, and is admin-protected through AdminProtectedRoute. Wires the GlobalSettingOptions.APP_MODE route into SettingsRouter, adds the Preferences menu entry in GlobalSettingsClassBase, and adds the label.default-app-mode, label.no-default, and message.default-app-mode-description locale keys (translated across all locales). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ui): color Inbox header icon with FeaturedIcon tile The Inbox page header passed a bare, hardcoded-grey inbox SVG to HeaderShell, so it rendered as a plain grey line icon instead of the brand-tiled icon every other page header gets via usePageHeader. Wrap the leading icon in FeaturedIcon (brand, dark, square) and point it at a new currentColor variant (inbox-header.svg) so it renders as a white glyph on the brand-blue tile. The grey nav-launcher icon (inbox-default.svg) is left untouched. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * feat(ui): add sidebar-specific brand getters for the app-mode sidebar The ClassicV1 (app-mode) sidebar rendered its brand via getLogo()/ getMonogram(), which are shared with the NavBar and login — so a build could not give the sidebar its own logo without changing those too. Add getSidebarLogo()/getSidebarMonogram() to BrandClassBase (defaulting to the existing getters) and have SidebarBrand use them, so a downstream build (e.g. Collate) can swap the sidebar brand independently. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * refactor(ui): revert app-mode "classicV1" back to "AI" mode The AI app-mode had been renamed to a distinct "classicV1" runtime vocabulary (CLASSIC_V1_APP_MODE / useIsClassicV1Mode) with extra translation maps and a legacy-"ai" migration path. That split is removed: the runtime mode is "ai" again, exposed via AI_APP_MODE / useIsAiMode / useAppMode, with the config/preference/persona maps collapsed to the plain ai|classic|default vocabulary (no classicV1, no back-compat alias). The App Mode switcher now offers Classic and AI, using app-mode-ai.svg (renamed from app-mode-classic-v1.svg) and label.ai; the label.classic-v1 key is removed. The persona/appConfiguration/appModePreference JSON schemas drop "classicV1" from their enums (backend POJO/Pydantic regen follows in the build; generated TS already omitted it). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * feat(ui): persona-customizable app-mode sidebar with "More" overflow The app-mode sidebar top-level nav is now persona-customizable. A new useCustomizedMainNav reads the selected persona's doc-store customization (order + visibility + top-level/More split, keyed appModeSidebar) and applies it to the module-derived nav items; with no customization it falls back to a default split (first N items visible, the rest under a "More" overflow popover). MainPanel and Rail render the resulting nodes, with the overflow behind MoreNavPopover in both the expanded panel and collapsed rail. Re-fetches on persona change and on the customize editor's change event so saves reflect live. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * feat(ui): app-mode sidebar recent-activity slot + idempotent contributions Add two sidebar extension points — app-mode.sidebar.recent (expanded panel, between the nav and footer) and app-mode.sidebar.recentRail (collapsed rail) — with reader hooks, and render them in MainPanel/Rail. A plugin (e.g. Collate's ai-chat) contributes a recent-chats list here so it appears only when installed; OSS core ships no recent content. Also make ExtensionPointRegistry.contribute idempotent for keyed contributions: the ApplicationsProvider effect can re-run contributeExtensions when the installed-apps list changes, and appending duplicates made keyed slots render twice (with a non-unique-key React warning). Same key now replaces rather than appends. sidebar.less carries the recent-chats list styles used by the contributed component. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ui): key AI-mode sidebar customization under `askCollateSidebar` Align the persona doc-store key the app-mode sidebar reads with the customize-page route the editor uses (`/customize-page/:persona/ askCollateSidebar`) — Classic mode keeps `/navigation` (`data.navigation`), AI mode uses `data.askCollateSidebar`. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * feat(ui): persona editor for the AI app-mode sidebar (askCollateSidebar) Add a customize-page editor for the AI (app-mode) sidebar, mounted on the existing CustomizablePage route mechanism at `/customize-page/:persona/askCollateSidebar` (Classic mode keeps the sibling `/navigation` editor). It's a drag-and-drop tree over the live module-derived nav items (useAllAppModules) with per-item visibility switches and a first-class "More" overflow group; Save persists a NavigationItem[] to the persona doc-store document under `data.askCollateSidebar` and dispatches the change event so the running sidebar (useCustomizedMainNav) reflects it live. Reset restores the default split. Adds label.app-mode-sidebar and message.customize-app-mode-sidebar-description. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * feat(ui): add "AI Sidebar" card to persona Customize UI Surface the app-mode sidebar editor as a customize-page category on the persona detail page ("AI Sidebar" → /customize-page/:persona/ askCollateSidebar), gated to AI-capable personas alongside the existing "App Mode" card. Classic personas keep the "Navigation" card (/customize-page/:persona/navigation). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * test(ui): cover app-mode sidebar customization + registry dedup Add unit tests for the app-mode sidebar customization logic (sidebarCustomization, useCustomizedMainNav), the customize-editor tree utils, and the ExtensionPointRegistry keyed-dedup. Also fix a bug the tests surfaced: applySidebarCustomization appended any item missing from the rendered nodes, so an item a persona explicitly hid reappeared at the top level — it now appends only modules genuinely absent from the stored customization (keyed off storedKeys), keeping hidden items hidden. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * feat(ui): track app-mode page views for analytics/adoption Port the page-view tracking upstream added to the (pre-migration) Collate AssistantLayout (#5799) to the migrated OSS app-mode AssistantLayout. App-mode routes render via AppModeRoutes, outside AppContainer — which is what records page views for authenticated routes — so without this the AI shell's navigation never reached web analytics (and the adoption backend undercounts). Mirrors AppContainer: fires analytics.page() on pathname/ search/hash change, skipping the root path. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ui): adopt cross-tab app-mode hint at boot + add label.no-options Address review comments on #31911: - AuthProvider.hydrateAndResolveAppMode: the fresh cross-tab hint branch returned early without writing the hint into the app-mode store. Module init deliberately never reads the hint, so a newly-opened, already-authed tab stayed at DEFAULT_APP_MODE instead of adopting the sibling tab's mode. Adopt the hint via writeAppMode(..., { source: 'boot' }) before returning, matching the contract documented at the store initializer. - FilterButton rendered t('label.no-options') for the empty-option state but the key did not exist in any locale. Add it to all 20 locale files with a genuine translation per locale. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * test(ui): fix app-mode coverage-test failures Align the customize-page category tests with the app-mode migration source: getCustomizePageCategories now returns the askCollateSidebar (app-mode sidebar) category between app-mode and the landing page, so PersonaClassBase and PersonaUtils expectations are updated to include it. Satisfy the document-title coverage guard for the two new routed modules: AppModeRoutes is a nested router/shell that only renders other routes, so it joins MODULES_WITHOUT_OWN_TITLE; DefaultAppModePage is a real settings page and now sets its browser title via DocumentTitle. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ui): drop antd from AssistantLayout, add missing labels, token cleanup - AssistantLayout: replace antd Layout/Content with semantic div/main so the AI shell no longer pulls antd (uses the existing .less class hooks); removes the unused classnames import. - Explore quick filters: add the missing OSS i18n labels (my-asset-plural, tier-1) so the pills render text instead of raw keys, synced across locales; map the pill's hardcoded blues to brand tokens (border/text/hover). - tw-deprecation-guard: new .less files are reported but no longer fail the guard while the app-mode migration still ships .less for the AI shell; new antd imports still block. - DefaultAppModePage test: mock DocumentTitle (react-helmet-async needs a provider) so the suite renders. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ui): resolve eslint errors + apply checkstyle formatting Fix the six blocking ESLint errors: - AIUserMenu.test: menu-item mocks render <button> instead of a static <div onClick> (click-events-have-key-events / no-static-element-interactions). - ExploreSearchInput: annotate the search form's focus-out onBlur with a scoped disable for no-noninteractive-element-interactions — it is focus management on the role="search" landmark, not synthetic interactivity. - KeepAliveRoutes: annotate the static, immutable NON_CACHEABLE_ROUTE_PATHS allow-list with a scoped disable for no-unbounded-module-cache — it is read via .has() and never mutated, so the unbounded-cache guard is a false positive. Also apply the organise-imports + prettier checkstyle pass across the changed app-mode / observability / discovery files. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix lint * fix(ui): drop antd from app-mode sidebar editor + filter bar Remove the remaining new-antd debt flagged by the deprecation guard: - FilterBar: type advancedMenu with a local structural type instead of antd MenuProps['items'] (antd ItemType[] stays assignable; no caller change). - CustomizeAppModeSidebarPage.utils: SidebarTreeNode no longer extends antd TreeDataNode; add pure moveSidebarNode / moveSidebarNodeToRoot helpers (with unit tests) that replace antd's pos/dropToGap drop maths. - CustomizeAppModeSidebarPage: swap antd Row/Col/Card/Space/Switch/Typography/ Button/Tree for ui-core-components Box/Card/Typography/Button/Toggle/Tree. Drag/drop is wired through the core Tree's onItemMove / onItemRootDrop. UI polish on the editor: - restore card padding via Card.Content / Card.Header (the core Card root has no padding of its own); - add a DotsGrid drag handle to each tree row as a draggability affordance; - make Reset and Close secondary buttons, keeping Save primary. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ui): reject nested "on" drops so sidebar items are never lost An "on" (nest) drop targeting a leaf inside the "More" node matched no top-level node in insertNode, so the detached source was never re-inserted and silently disappeared (the resulting tree still passed validation). Guard moveSidebarNode: an "on" drop is only valid onto the More node; any other "on" target reverts before detaching, so the source is preserved. Adds a regression test for the nested-leaf case. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * build(ui): raise bundle-chunk ratchets for app-mode migration The app-mode migration adds new dynamic imports, pushing the emitted JS chunk count past the existing budget (CI: 684 emitted / 500 under 20 KiB). Raise the two exceeded ratchets with headroom, keeping the other budgets (index.html JS files, bootstrap Brotli bytes, largest chunk) unchanged: - MAX_EMITTED_JS_FILES 645 -> 720 - MAX_SMALL_JS_FILES 460 -> 540 Verified against a local production build: bundle:check now passes (679 emitted, 495 under 20 KiB). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * feat(ui): migrate observability alerts to app-mode module + fix app-mode 404 Move the AI-mode observability Alerts experience (list, table, actions, and the add/edit form chain) into the OSS app-mode framework under components/observability/Alerts, and register its routes in the observability module (list, /alert/:fqn, and :fqn/:tab) wrapped in ObservabilityLayout. The form routes its Collate customizations through the OSS base singletons (searchClassBase, alertsClassBase) and OSS AiFormModal, so no Collate-only code is pulled in. Also fix a regression from the app-mode migration: AppModeRoutes never carried a /404 route, so any unknown URL in app mode redirected to /404 and rendered a blank page. The shell now renders PageNotFound at APP_ROUTER_ROUTES.NOT_FOUND, mirroring the classic AuthenticatedRoutes. Add the ask-user-menu-settings and ask-main-panel-nav test ids to the OSS AIUserMenu and MainPanel so the AskCollate sidebar e2e specs keep working after the Collate copies are removed. Adds the observability-alert i18n keys across all locales and the ObservabilityAlertForm field-doc markdown. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ui): preserve alert destination config when test redacts it Port of #5840 to the migrated observability Alerts form: wrap the testAlertDestination results with getDestinationsWithTestStatus so the submitted destination config is kept when the test response redacts it. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix lint * fix(ui): render a branded not-found page for app mode /404 Move the AI-mode not-found page into the OSS app-mode shell as `components/platform/ai-shell/AINotFoundPage` (testid `ai-not-found-page`) and render it at `ROUTES.NOT_FOUND` from `AppModeRoutes`, replacing the earlier stop-gap that delegated to the classic `PageNotFound`. An unknown URL in app mode now lands on a branded page instead of the fallback router's `Navigate → /404` resolving to nothing and going blank — for both OSS and downstream (Collate) app-mode. Adds the not-found i18n keys across all locales. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ui): hold the app-mode route table until installed apps load Install-gated plugin modules (AI Automations / Studio / Dashboards) register only after `/api/v1/apps/installed` resolves. Until then the app-mode route table is incomplete, so their paths hit the catch-all fallback and get redirected to /404 — destroying a deep link or reload. Gate the route table on `ApplicationsProvider.isLoading`: keep the shell chrome and show a loader while the apps fetch is in flight, so the requested URL survives and resolves against the complete table once loading settles. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix lint * fix(ai-shell): restore Context Center sub-panel Quick Actions / Recently Viewed / Bookmarks The app-mode shell migration ported SubPanel's `dynamicSections` slot but never ported the component that fills it for Context Center, nor wired it in Sidebar. As a result the Context Center sub-panel lost its Quick Actions (Upload File, Create Article, Add Quick Link), Recently Viewed, Bookmarks, and per-tag quick-link sections — only the static nav items (Dashboard/Articles/Documents/ Memories/Archive) remained. Restore `ContextCenterSubNavSections` (Quick Actions emit the existing Upload/CreateArticle/AddQuickLink intents that ContextCenterLayout already listens for; Recently Viewed and Bookmarks are fetched from user preferences and follows) and wire it into Sidebar so it renders beneath the static items when the Context Center sub-nav is active. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(explore): constrain AI Explore search width to 800px usable Port of collate PR #6176 into the OSS explore search card that superseded the Collate AIExploreSearchCard during the app-mode migration. Narrow the shared search/quick-filter wrapper from max-w-5xl/px-8 to max-w-4xl/px-12 (896px cap minus 48px per side = the requested 800px usable width) and update the matching class assertion. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * feat(personal-space): move My Data, Profile, Inbox/Triage, and the profile modal into OSS The app-mode personal-space surfaces were left stranded in the Collate plugin after the shell migration — the routed Inbox/My Data tabs and the profile modal rendered empty because their bodies never moved to OSS. Bring the whole personal-space experience into OSS so it works standalone for OSS users, with Collate-proprietary pieces injected through extension points. - My Data: the owned-assets dashboard (stat cards + assets list). - Profile: the account/credentials profile. "My Connections" is no longer a hard import of the Query Runner plugin — ProfilePage now consumes the `profile.tabs` extension point (like the classic Users page), and a new `isAiMode` context flag lets a plugin contribute the app-mode variant of a tab it also contributes to classic pages. - Profile modal: PersonalSpaceModal + the dialog styling, mounted as core chrome by AssistantLayout (personal-space is OSS now, not a plugin overlay). - Inbox/Triage: the Activity/Tasks feed, its hooks and task utilities. The feed uses the OSS SearchClassBase and personal-space routes; a new `inbox.task-panels` extension point lets a plugin swap a task-type-specific panel (e.g. Data Access Request) into the generic task overview. TabContribution gains optional `icon`/`description` for icon-driven nav consumers; ExtensionPointTypes adds `InboxTaskPanelContribution`. New personal-space i18n keys are added across all locales. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(personal-space): resolve inbox hook imports after the move to OSS The inbox hooks kept their pre-move relative paths to `inbox.utils` and the cache-key constant, which resolved in the dev server via moduleDirectories but broke the production Rollup build. Point them at the sibling `./inbox.utils` and `../inbox.constants` in their OSS home. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(inbox): migrate personal-space inbox surface to Conversation V2 Merging main brought Conversation V2 (#30909): it deletes rest/feedsAPI and the Thread/FeedFilter feed runtime that the migrated personal-space inbox still imported, so the UI build broke on the removed modules. Port the same feed -> conversation rewrite that landed downstream (Collate #5475/#6203) onto the OSS copies of these files: - useUnreadInboxActivity / useInboxActivity: getAllFeeds -> listConversations, getUserActivity via rest/activityAPI, Thread[] -> Conversation[], FeedFilter -> ConversationFilterType. - inbox.utils: updateThread reactions -> addConversationReaction / removeConversationReaction; Thread -> Conversation. - ActivityDetailDrawer: post APIs -> conversation-reply APIs (listConversationReplies / createConversationReply / patchConversationReply / deleteConversationReply); reads the drawer timestamp via getFeedTimestamp. - ActivityFeedItem: Thread -> Conversation, drops the collaborator-invite branch; keeps the OSS searchClassBase entity icon (not Collate's override). Imports use OSS-relative paths throughout; no feedsAPI/Thread references remain. Jest green for the ported suites; `vite build` passes. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(app-mode): render the AI shell for an active app-mode session in default mode AppRouter selected the app-mode shell purely by stored mode (`appMode === AI_APP_MODE`). That dropped the AskCollate shell for a Classic-mode user who deep-links to an AI-only URL (e.g. `/conversations`): the page rendered bare, with no sidebar. Add a downstream-owned session predicate (`utils/appModeSession.ts`, `registerAppModeSessionPredicate` / `isAppModeSessionActive`) and render the app-mode shell when the stored mode is AI OR a session is active. The session sticks across in-app navigation, so `/conversations` → `/explore` keeps the shell, while a fresh visit to a shared route with no session stays classic. The stored mode is never mutated, so the switcher keeps showing Classic — matching the 2.0 behavior. `useLocation()` re-evaluates the choice on each navigation. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(inbox): register the Inbox as one /inbox/* route, not one per sub-tab The Inbox is a single tabbed page but was registered as four separate, individually keep-alive-cacheable routes (`/inbox`, `/inbox/activity`, `/inbox/tasks`, `/my-data`), all rendering the same `InboxContent`. `InboxContent` derives its active tab from the global `useLocation()` pathname, so once KeepAliveRoutes kept more than one of them mounted (e.g. after clicking the Tasks tab, which navigates `/inbox` -> `/inbox/tasks`), every mounted instance read the current path and rendered the *same* tab — duplicating `inbox-tasks-tab` / `inbox-activity-tab` and tripping Playwright strict mode across the AskCollate Inbox suite. Collapse the three inbox routes into a single `/inbox/*` route (still deriving the tab from the path). The splat is non-cacheable, so exactly one `InboxContent` is ever mounted — no duplicate tabs. `/my-data` is unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ai-shell): submenus start collapsed; sub-nav follows the sticky active module Ports downstream #6179 into the OSS app-mode Sidebar and completes the sticky-active-module wiring the migration left open: - Submenus start collapsed (`subCollapsed` defaults to true → sub-rail) and open only when the user explicitly expands them. Removed the effect that auto-collapsed the main nav / auto-expanded the sub-panel on entering a sub-mode module — collapsed state is now purely user-controlled, so navigating never pops a panel open. - Derive the active sub-nav from the sticky `useActiveModuleStore` (kept in sync by `useSyncActiveModule`) instead of the raw pathname, so a module-less shared page (e.g. `/table/<fqn>`) keeps the last module's sub-nav open mid-flow instead of collapsing. Guarded by AppModeSidebarState.spec.ts (sub-nav stickiness + reset) and the AskCollate sidebar suite. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ai-shell): reorder Observability and Context Center in the app-mode nav Bump observability navOrder 20 -> 40 and context-center 60 -> 80 so the app-mode sidebar matches the 2.0 order: Explore, Connections, Governance, Observability, AI Analytics, AI Automations, Data Marketplace, Context Center. Downstream Collate modules interleave against these values. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ai-shell): persist sidebar collapse state across reloads The app-mode sidebar tracked main and submenu collapse with plain useState, so a full reload reset both to their defaults. The pre-migration AskCollate sidebar persisted these in localStorage, so an explicit expand/collapse choice survived navigation. Restore that: add usePersistedCollapse (localStorage-backed, same defaults — main expanded, submenus collapsed) and wire both states through it. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ai-shell): let a module opt out of per-persona hiding The customize editor rendered every app-mode nav item with an enabled visibility toggle, so an anchor entry like New Chat could be hidden from a persona's live sidebar. Restore the pre-migration behavior: add an optional AppModule.disablePersonaHide flag, thread it through MainNavItem and the customize tree node, and disable the item's Toggle when set. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ai-shell): restore Context Center sub-nav count badges The app-mode Sidebar rendered SubPanel without its `badges` prop, so the Context Center sub-nav items (Articles/Documents/Memories/Archive) showed no live counts. Restore useContextCenterBadges, compute it gated on the active Context Center sub-nav, and pass it to SubPanel — SubPanel already supports the prop. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(inbox): skeleton only on first reply read, not on refresh Swapping the mounted reply list for the loading skeleton on a refresh unmounts every CommentRow, dropping the hover state its edit and delete actions live behind. Gate the skeleton behind a showSkeleton flag so only the initial read shows it; post-edit/post-reply refreshes reload in place. Ports open-metadata/openmetadata-collate#5441 onto the migrated OSS ActivityDetailDrawer. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(inbox): compose task titles from type + entity for titleless tasks Governance-workflow tasks have their name defaulted to the taskId, so the inbox rendered a bare id. Port the getTaskTitle improvement: compose the title from the task type and the entity the task is about, falling back to the description then the id. `t` is optional so callers without a translator still get a sensible title. Thread the translator through the Inbox task list item and the task detail panel headings. Ports open-metadata/openmetadata-collate#6208 (title composition) onto the migrated OSS Inbox components. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ai-shell): use relative imports in useContextCenterBadges The hook imported rest/util/generated modules via the `openmetadata-ui/src/*` alias, which the OSS Vite build does not resolve — Rollup failed on `openmetadata-ui/src/generated/type/include`. Switch to the relative paths every other ai-shell module uses so the UI build passes. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(context-center): point the module at the renamed OVERVIEW route The Dashboard→Overview rename renamed the route constant to CONTEXT_CENTER_OVERVIEW and updated the router and sidebar, but the context-center module still referenced the removed ROUTES.CONTEXT_CENTER_DASHBOARD and the label.dashboard key. Switch the navigate target, route path, sub-nav path and label to OVERVIEW / label.overview so the module matches. Ports open-metadata/openmetadata-collate#6199 onto the migrated OSS module. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ui): stop kept-alive redirect routes from hijacking sub-nav navigation App-mode's KeepAliveRoutes keeps every visited static route permanently mounted in a hidden container to preserve scroll/filter/in-flight state. A module index route whose element is `<Navigate>` (e.g. `/observability` → `/observability/data-quality`) was eligible for this cache, and react-router runs `Navigate`'s redirect in a dependency-less `useEffect` that re-fires on every render. Once the bare prefix had been visited, its hidden `<Navigate>` re-asserted the redirect on each render and yanked the URL back to the module default the instant the user clicked a sibling sub-route (Alerts, Incidents, Pipeline, Context Center submenus) — the tab would flash then snap back. Exclude redirect routes (element type === Navigate) from the keep-alive cache so they fall through to the fallback <Routes>, which mounts only the currently-matched route; the redirect then fires exactly once at the bare prefix and never again. This generalises the previously-empty NON_CACHEABLE_ROUTE_PATHS guard to every module index redirect. Adds KeepAliveRoutes unit tests covering the redirect-exclusion behaviour. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ui): resolve eslint errors in ported AI-mode files The stricter OSS eslint config surfaced 19 errors in Collate-ported app-mode files after merging main. Fix them: - no-non-null-assertion (AIUserMenu): make the menu-row icon optional and guard-render it; replace `children!` with `children ?? []`. - no-array-index-key: derive stable keys from item data where a real list (permission sections/rules keyed by their own key/name/type); scope a narrow eslint-disable with a reason only for fixed-length loading skeletons, index-addressed form-array rows with no stable id for unsaved entries, the pathless layout route in KeepAliveRoutes, and generic test mocks. - no-danger: scope a disable on the markdown-preview test mock fixture. No behavioural change; warnings left untouched. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ui): exclude the AskCollate New-Chat landing from keep-alive cache `/conversations` is the New-Chat landing. Kept alive, its hidden copy retained the previous in-progress chat, so navigating back to it ("New Chat") showed a stale conversation instead of a fresh empty session. Add it to NON_CACHEABLE_ROUTE_PATHS so it remounts on every visit. (`/conversations/:id` was already non-cacheable via its dynamic segment.) Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ui): keep observability quick-action intents alive across sub-route churn Every observability route wraps its own ObservabilityLayout, and the intent bus holds a single listener per name. Visiting a non-cacheable sub-route (e.g. a `/observability/data-quality/:tab` tab) mounts a second layout that clobbers the kept-alive base layout's listener and, on its unmount, deletes the shared slot — leaving the still-mounted base layout silently unsubscribed, so the Add Test Case / Add Bundle Suite CTAs went dead after visiting a DQ tab and returning. Give useIntent an optional re-register key and have ObservabilityLayout bump it from a useRouteActivation callback, so the layout re-claims its intent listeners whenever its route becomes visible again. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ui): prettier-format sidebar.less (trailing newline) Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(ui): prettier-format files touched by the main merge Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix lint --------- Co-authored-by: Chirag Madlani <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]> * feat(rdf): SPARQL playground, MCP knowledge-graph tools, insights endpoints (#28042) * feat(rdf): SPARQL playground, MCP knowledge-graph tools, insights endpoints Closes the RDF fidelity gaps and ships the new RDF stack on top of latest main (Jena 5.6, Fuseki compaction, distributed reindex, glossary-scoped graph). Adds - SPARQL playground page (read-only SELECT/ASK/CONSTRUCT/DESCRIBE), multiple result formats, save/reload queries, sample queries via i18n keys. - Five MCP knowledge-graph tools: SparqlQueryTool (UTF-8 byte-cap), EntityNeighborhoodTool (per-arm correct subjects for multi-hop), FindByTagTool (Tag.tagFQN OR GlossaryTerm.fullyQualifiedName), OntologyDescribeTool (full format→MIME + IRI-validated resource), ShaclValidateTool (explicit fullGraph=true opt-in). - /v1/rdf/insights/{important,communities,path,recommendations,centrality, coOccurrence} endpoints with PageRank + Louvain implementations. - Inference-rule registry + 4-rule starter pack, federated-SPARQL allowlist, SHACL validation REST endpoint + bundled shapes, custom-ontology upload/extension endpoints. - PROV-O activity mapper (prov:wasInformedBy run→pipeline; agent IRIs under configurable baseUri), DQV quality measurements with deterministic per- (subject,metric,timestamp) URIs, usage mapper, JSON-LD context coverage for AI/Automation/Governance/Lineage, ontology TTL bumped to 1.1.0. - Shared RdfIriValidator (used by validateGraph, ShaclValidateTool, OntologyDescribeTool) rejects control chars, newlines, # comments, quotes, and angle brackets before SPARQL template interpolation. - /sparql/update now parses with org.apache.jena.update.UpdateFactory instead of an unreliable startsWith check — accepts PREFIX prologues, rejects read-only queries that previously slipped through. Build - jena-shacl dependency added to openmetadata-service/pom.xml. SHACL was bundled in jena-arq under Jena 4.x but lives in a separate artifact under Jena 5.x; the upgrade in #28242 left RdfShaclValidator + ShaclValidateTool without their package. Tests - New unit test classes for every new component plus expanded RdfPropertyMapperTest (PROV-O, DQV, usage) and CommunityComputationTest (directed-edge contract + target-node registration). SparqlPlayground covered by SparqlPlayground.test.tsx. * Update generated TypeScript types * feat(workflow): add inputPorts, outputPorts, glossaryTerms as WorkflowTriggerFields (#28120) * feat(workflow): add inputPorts, outputPorts, glossaryTerms as WorkflowTriggerFields - Add inputPorts, outputPorts, glossaryTerms to workflowTriggerFields.json enum - Unit tests in FilterEntityImplTest verifying all three fields pass the passesFieldBasedFilter check, including include/exclude config - Integration test scenario appended to test_CustomApprovalWorkflowForNewEntities: adds table as inputPort, removes it, adds as outputPort — each port change must produce an approval task proving the workflow trigger fires correctly * Update generated TypeScript types * fix(workflow): fix inputPorts/outputPorts changes not triggering governance workflows - Add inputPorts, outputPorts, glossaryTerms to WorkflowTriggerFields enum - Fix executeBulkPortsOperation to update entity changeDescription so FilterEntityImpl reads the correct changed fields - Add governance-bot impersonation to applyPatchEntityFieldAction to prevent entityStatus updates from triggering spurious workflow signals - Pass caller username through port endpoints to fix self-approval check incorrectly removing the reviewer when entity updatedBy was set to the reviewer from a prior task resolution --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat(StringsUtils): add slugify function for string normalization (#28265) * feat(StringsUtils): add slugify function for string normalization * fix(StringsUtils): update slugify function to handle long strings without truncation * fix edge arrow misalignemt issue (#28276) * fix(glossary): register Relations Graph + Data Observability with customize layer (#28272) * fix(glossary): register Relations Graph & Data Observability with customize layer The Relations Graph tab (added in #25886) and Data Observability tab (added in #26765) were wired into the glossary term render output but never added to the customize-page tab registry (getGlossaryTermDefaultTabs in CustomizePageUtils.ts and getGlossaryTermDetailPageTabsIds in GlossaryTermClassBase.ts). The Customize UI seeds a persona's tab list from that registry, so any admin who opened the GlossaryTerm customize page and clicked save — even after a no-op edit like reordering a widget — silently persisted an incomplete 5-tab whitelist. getDetailsTabWithNewLabel then filtered both tabs out of the rendered page for that persona, while users on a persona with no saved customization (e.g. Default) kept seeing them because the undefined customizedTabs path returns the full default list. Adds Relations Graph to both glossary and glossary-term defaults, Data Observability to the glossary-term defaults, and TAB_LABEL_MAP entries for both so the customize UI shows real labels. Pins three layers of test coverage so this class of bug fails CI next time: an invariant test that every rendered tab key is also in the r…
Problem
DataQualityDashboardDimensionAndPieReindexUIIT.dashboardNavigationSurvivesReindexbegan failing in the nightly with a 20s Playwright timeout at the Entity Health pie step (runDashboardFlow→clickPieChartSegmentExpectsStatusNav(ENTITY_HEALTH_PIE_ID)).Root cause
PR #31662 (feat(ui): add multi-select test case status filter) made the test-case status filter multi-select and changed
BINARY_STATUS_PIE_SEGMENT_ORDERfromTestCaseStatus[]toTestCaseStatus[][]. The Entity Health pie segment now navigates with an array of statuses, whichgetTestCaseListPathserializes usingQueryString.stringify(..., { arrayFormat: 'brackets' })— i.e.testCaseStatus[]=Failed&testCaseStatus[]=Aborted(URL-encodedtestCaseStatus%5B%5D=), no longer a baretestCaseStatus=Failed.The Java IT page object still waited on the old regex
.../test-cases.*testCaseStatus=, sowaitForURLnever matched → 20s timeout. The Test Case Result pie (earlier step) still emits a single status, which is why only the Entity Health step timed out.The same PR updated the TypeScript spec (
DataQualityDashboard.spec.ts) to assertsearchParams.getAll('testCaseStatus[]'), but the Java port of that spec was not updated in lockstep.Fix
Widen the
waitForURLpattern inDataQualityDashboardPage.clickPieChartSegmentExpectsStatusNavto accept the bare, literal-bracket, and encoded-bracket forms:This keeps the single-status pie passing and unblocks the multi-status Entity Health pie, mirroring the TS spec change from #31662.
Verification
Pattern validated against all three positive URL forms (bare /
[]/%5B%5D) plus negatives (wrong path, no status param). Test-only change; no production code touched.Backport
mainand2.0both carry the stale assertion — a companion PR targets2.0.Greptile Summary
This PR updates the Java Playwright page object to recognize both scalar and bracket-array status parameters when validating Data Quality dashboard pie navigation.
testCaseStatus=,testCaseStatus[]=, and its URL-encoded bracket form.Confidence Score: 5/5
The PR appears safe to merge.
No blocking failure remains.
Important Files Changed
Reviews (2): Last reviewed commit: "Merge branch 'main' into fix/dq-dashboar..." | Re-trigger Greptile