Repository navigation
feat(ui): Add Applications to the profile settings modal (core-ui) - #35179
Conversation
… components Adds an Applications page under Features in the profile settings modal, built only from @openmetadata/ui-core-components: installed list, marketplace, marketplace detail, install steps and app detail (schedule, configuration, recent runs, live indexing) with header hint toggle, three-dot Disable/Restore/Uninstall menu and footer actions. Migrates the shared app sub-components (runs history, logs viewer, reindex failures, schedule editor, stop-run modal) off antd, adds the application design-system icons to core-ui, and adds core-ui enum multi-select and date widgets to FormBuilderV1.
|
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! |
❌ 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 impact map auto-refreshedThis PR touched specs or UI source that changed the source→spec routing map. I regenerated What is this file? It is the auto-generated half of Playwright's PR planner. It routes "if source X changes, run specs Y" by walking spec imports and cross-referencing What if I want to regenerate locally instead? Run this before pushing your next change to skip the bot commit: python3 .github/scripts/generate_playwright_impact_map.py
git add .github/playwright/impact-map.generated.json
git commit --amend --no-edit # or a separate commit |
…rketplace screenshots Skip the Configure step when the app schema cannot be loaded instead of leaving the wizard on an empty step, and report marketplace-fetch and schema-load failures with their own errors. Remove the Screenshots section from the marketplace app page.
…e-ui-ui-migration # Conflicts: # .github/playwright/impact-map.generated.json
…nents Declare the missing hook dependencies in AppLiveIndexing, AppLogsViewer, AppRunsHistory and AppSchedule. AppLiveIndexing now refetches through its effect on a page-size change instead of calling the fetch with the stale size; AppSchedule re-checks the pipeline's deployed state when the app changes.
Key the pipeline deployed-state fetch on the app type and first pipeline fqn instead of the whole app object, so a schedule save no longer flashes the loader over the open dialog or remounts the runs history.
…e-ui-ui-migration # Conflicts: # openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/profileNavConfig.test.tsx # openmetadata-ui/src/main/resources/ui/src/utils/DataQuality/FormFieldDocs.test.ts # openmetadata-ui/src/main/resources/ui/src/utils/DataQuality/FormFieldDocs.ts
Mark fire-and-forget fetches with void, use a Set for the marketplace view lookup, and move the reindex-failures filter to the non-deprecated Select value/onChange API.
…e-ui-ui-migration # Conflicts: # .github/playwright/impact-map.generated.json
…s settings Center the EmptyPlaceholder in the body for the not-found, no-permission and empty-list states (the host now fills the body height instead of being capped at min-h-90), and give the app detail/list content top padding so the tabs and Edit/Run now actions are no longer jammed under the header.
AppScheduleActions returned a fragment of buttons, so the surrounding gapped Box treated it as a single item and the Deploy/Edit/Run now buttons rendered flush against each other. Render the actions in their own gapped flex row and drop the now-redundant wrapper.
…e-ui-ui-migration # Conflicts: # openmetadata-ui/src/main/resources/ui/src/components/Settings/Applications/AppLogsViewer/ReindexFailures.component.tsx
…iles The applications migration removed the antd imports that were previously suppressed via openmetadata-antd/no-antd-import, leaving stale entries in eslint-suppressions.json. ESLint flags unused suppressions and exits non-zero, failing the UI Checkstyle src step (and cascading into the licence-header step, which only re-checks git status). Prune the now-unused entries.
🚦 Removed from the merge queue —
|
…e-ui-ui-migration
main added AppRunsHistory.merge.test.tsx, which mocked the legacy FormBuilder and rendered the run config via antd Table. This branch migrated the config modal to FormBuilderV1 and the applications area off antd, so point the mock at FormBuilderV1 and render the table mock with a plain HTML table (preserving the columnheader/row/cell roles the test asserts on) instead of antd, keeping the file lint-clean without a new antd suppression.
…ration' into Rohit0301/profile-core-ui-ui-migration
Add core-ui icons for the Collate AI Documentation, Quality and Tier agents, generated from SVGs via icons:generate (icons/ source + src/icons/*.tsx + index.ts export). Consumed as AppCollateAiDocumentationAgent / AppCollateAiQualityAgent / AppCollateAiTierAgent from @openmetadata/ui-core-components/icons.
🚦 Removed from the merge queue —
|
🚦 Removed from the merge queue —
|
…e-ui-ui-migration # Conflicts: # openmetadata-ui/src/main/resources/ui/eslint-rules/openmetadata-antd.test.mjs # openmetadata-ui/src/main/resources/ui/eslint-suppressions.json # openmetadata-ui/src/main/resources/ui/src/components/Settings/Applications/AppLogsViewer/AppLogsViewer.component.tsx
The Applications override sets @typescript-eslint/no-restricted-imports, and flat config replaces a rule's options wholesale, so it was dropping the repo-wide recharts/echarts ban for Profile/tabs/applications/** (unlike the Metric block, those files are not chart-free). Re-state the recharts/echarts patterns in this block so a chart import there is still blocked.
Code Review ✅ Approved 3 closed / 3 findings🟡 Medium risk · Adding application installation, configuration, scheduling, and lifecycle controls to Profile settings could misconfigure apps or interrupt scheduled runs. Adds Applications to the profile settings modal (core-ui) with installed list, marketplace, install flow, and app detail views, all off antd. Resolved the Configure step dead-end on schema import failure, the Schedule tab loader flash on appData updates, and the dropped chart import ban in the antd block. No issues remain open. ✅ 3 closed✅ Edge Case: Install flow dead-ends on Configure step when schema import fails
✅ Bug: Schedule tab flashes to a full Loader after every appData update
✅ Quality: Applications antd block silently drops the repo-wide chart import ban
VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledOptionsDisplay: 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 |
|
Resolve conflicts with the Applications core-ui migration (#35179) by keeping main's core implementations, and refresh the antd and Playwright suppression counts.
Resolve conflicts with the Modal/Button freeze (#35226), the Data Contract (#35217), Add Assets (#35242) and Applications settings (#35179) migrations. Where main already migrated a file, keep main's version and drop this branch's duplicate (DataContract SLA/view switch, AssetSelectionContentBody, TableDataCardV2, AppLogsViewer, ReindexFailures). Elsewhere keep this branch's migration and port main's core Button changes onto it.



Describe your changes:
Fixes https://github.com/open-metadata/openmetadata-collate/issues/6439
I added Applications to the new Profile settings modal (under Features), because the settings are moving into the modal and the legacy Applications pages are antd-based. Everything rendered in the new UI uses
@openmetadata/ui-core-componentsonly: the installed list, the marketplace, the marketplace detail, the install steps, and the app detail. Every legacy action is kept.Type of change:
High-level design:
tabs/applications/ApplicationsPanel.tsx, follows the pattern of the other modal panels (#applications,#applications/marketplace[/<fqn>[/install]],#applications/<fqn>). Each view pushes its own header (title, icon, actions, meta) and the panel adds theSettings › Applications › …breadcrumbs.AppFooter.tsx), the same as the other profile form pages.FormBuilderV1, with booleans shown as toggle cards and field hints in a popover.FormBuilderV1gains a core-ui enum multi-select, replacing the antdTreeSelectWidgetforuiFieldType: treeSelectarrays.loadFormFieldDocs) takes a folder, so app forms readpublic/locales/en-US/Applications/*.md.App*).ApplicationsClassBase.getAppIconmaps app names to them, for both OSS and Collate apps.getAppIcon(likeimportAppLogo) andgetModalAppConfigurationComponent(likegetApplicationConfigurationComponent). Plugin overrides for details and install work the same way as on the legacy pages (getAppDetails/getAppInstallComponent).useCursorPagedListhook handles cursor paging (prev/next) and ignores stale responses.antdimports intabs/applications/**.Tests:
Use cases covered
Unit tests
tabs/applications/:ApplicationsPanel,ApplicationsList,ApplicationCard,MarketplaceList,MarketplaceAppDetail,AppInstall,AppDetail,AppConfigForm,AppFooter,Applications.utils.useCursorPagedList,CoreEnumMultiSelectField,CoreDateWidget.ApplicationsClassBase,AppSchedule,AppRunsHistory,AppLogsViewer,StopScheduleRunModal,profileNavConfig,FormFieldDocs.yarn teston profile, applications, form builder and stop-run modal: 174 suites and 1,380 tests passed (after merging the latestmain). A broader run over all 528 suites that import the touched modules: 7,905 tests passed.Jest run — new tests (13 suites, 77 tests)
Jest run — all suites touching the changed modules (174 suites, 1,380 tests)
Backend integration tests
Ingestion integration tests
Playwright (UI) tests
openmetadata-ui/.../ui/playwright/for UI changes.playwright/e2e/Features/ApplicationsSettingsModal.spec.ts. It passed 5 of 5 against a local backend, and twice in a row after the last fix.SearchIndexApplication.spec.ts,DataInsightReportApplication.spec.ts,DataInsightSettings.spec.ts. These three were not run locally, andmake playwright_affected_runwas not run.Playwright run — ApplicationsSettingsModal.spec.ts (5 passed)
Manual testing performed
#applications/DoesNotExistAppand checked that the not-found placeholder shows.UI screen recording / screenshots:
Screenshots from a local run against the current branch:
Installed applications (Configure link, pagination, Show Disabled, Browse Apps)
App detail — header meta and Schedule tab
Three-dot menu — Disable / Uninstall
Configuration — hint popover, toggle cards, footer Cancel/Save
Recent Runs — expanded logs with stats
Marketplace
Marketplace app detail — Verified badge, Install in header
Install — Details step (footer actions)
Install — Configure step
Install — Schedule step
Missing app — empty-state placeholder
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. (N/A — no schema changes)
For UI changes: I attached a screen recording and/or screenshots above.
I have added tests (unit / integration / Playwright as applicable) and listed them above.
Decision check: if this PR decides something the next contributor could undo, it adds a record under
docs/decisions/. (Not added.)The issue properly describes why the new feature is needed, what's the goal, and how we are building it.
I have updated the documentation.
I have added tests around the new logic.