fix(ui): backport Suspense loader fallbacks to 1.13 - #31827
Conversation
❌ 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 |
❌ UI Checkstyle Failed❌ ESLint + Prettier + Organise Imports (src)One or more source files have linting or formatting issues. ❌ Core Components - I18n SyncCore-components ❌ Tailwind AuditHardcoded Tailwind values found. Use a design-system utility (run ❌ Antd + Less Deprecation GuardA new Affected filesat Function._resolveFilename (node:internal/modules/cjs/loader:1401:15) Fix locally (fast - only checks files changed in this branch): make ui-checkstyle-changed |
Code Review ✅ Approved 2 resolved / 2 findingsBackports Suspense loader fallbacks to branch 1.13 by making embedded lazy chunks silent and adding explicit tab-content loaders to prevent stacked indicators. No issues found. ✅ 2 resolved✅ Edge Case: assignDomainWidget/removeDomainWidget check visibility without waiting
✅ Quality: Unused mcpChatEnabled state added to ApplicationsProvider
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 |
|



Describe your changes:
Related to open-metadata/openmetadata-collate#4230.
Fixes #31877.
This backports #29746 directly to
1.13.The change makes embedded and background lazy chunks silent by default, while page and active-tab boundaries opt into one appropriate loader. This prevents stacked loaders from appearing during tab navigation without removing progress feedback for blocking loads.
Validation:
Type of change:
Checklist:
Greptile Summary
The PR separates silent embedded/background Suspense boundaries from visible page and active-tab loading states, preventing stacked loaders while retaining progress feedback where content is blocked.
Confidence Score: 5/5
The PR appears safe to merge.
No blocking failure remains; the previously reported silent active-tab loading paths now explicitly use visible tab-content fallbacks.
Important Files Changed
Reviews (10): Last reviewed commit: "test(ui): wait for glossary term descrip..." | Re-trigger Greptile
Context used: