CMG-1094/1095/1096/1097 | Delta Map Entry UI fixes: asset URL overflow, CT list - #1124
Merged
Conversation
chetan-contentstack
requested review from
shradha-nahar,
umesh-more-cstk and
vikrantraut-cstk
July 28, 2026 09:34
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
vikrantraut-cstk
approved these changes
Jul 28, 2026
shradha-nahar
approved these changes
Jul 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 Jira Tickets
Parent story: CMG-789 — Delta Migration | v1.0.0 | Update Feature Implementation
CMG-1094 — Contentful: Assets URLs are overlapped
CMG-1095 — Delta iter 2+: not all content types are displayed on Map Entry
CMG-1096 — Delta Migration | v1.0.0 | Save button gets cut off on the map entries field.
CMG-1097 — Assets screen: empty-state / error message not displayed properly
📋 PR Type
📝 Description
What changed?
.Table__body__column { min-width: auto !important; width: auto !important }, so every column width we configured was being ignored and an unbreakable URL expanded the Path cell over its neighbours. Added a top-level override (.table-wrapper .Table__body__column, .asset-mapper-table .Table__body__column { min-width: 0 !important }) so the cell can shrink to its flex-basis, and duplicated the.cms-field/.cms-field--wrapwrap rules under.asset-mapper-table(they previously only existed under.table-wrapper, so AssetMapper never got them)..cms-field--wrapnow usesoverflow: hidden,min-width: 0,overflow-wrap: anywhere, andword-break: break-allso URL text breaks character-by-character inside its column..ct-list-wrapperhadheight: calc(100vh - 375px), tuned for the Map Content Fields step. Delta iterations render a 6-step horizontal stepper (vs 5) plus the Entries/Assets tab bar, pushing the wrapper's top down to ~490px. The wrapper's bottom then sat below the viewport, so the internaloverflow-y: autoscroll ended off-screen and the last rows couldn't be reached. Changed toheight: calc(100vh - 500px)so the wrapper's bottom stays ~10px above the viewport edge and the scroll region is fully visible.type="secondary"from the threecustomEmptyStateblocks (assetMapper.tsx,entryMapper.tsx,ContentMapper/index.tsx) —secondarywas rendering just the icon and hiding the heading/description. Addedmin-height: 300px+ centred flex layout to.custom-empty-stateso the empty area occupies the body instead of collapsing into (and overlapping) the header row.Why?
Three UI regressions filed against Delta Migration v1.0.0 (all subtasks of CMG-789). Two are pure CSS regressions caused by venus overrides / hard-coded viewport offsets that no longer match the delta layout; one is a wrong-prop on venus's
EmptyState. Grouping them because they all live inui/src/components/ContentMapper/*and share the same review context.CMG-1096 (Save button cut off on Map Entries) is not included — I couldn't reproduce the clip from the shared screenshots. It will be handled in a follow-up once repro steps are confirmed.
🧩 Affected Areas
api— Node.js backendui— React frontendupload-api— Upload API serverdocker/docker-compose🧪 How to Test
Complete an initial migration on a Contentful project (any project with ≥15 content types and ≥5 assets), then click Restart Migration to enter delta iteration 2 and land on Map Entry (step 4).
CMG-1094 — Asset URL overflow
CMG-1095 — Content types list scroll
CMG-1097 — Empty-state on search
qwerf).Expected result: All three defects resolved on the delta Map Entry step, and no regression on the initial (iter-1) Map Content Fields step.
📸 Screenshots / Recordings
🔗 Related PRs / Dependencies
✅ Author Checklist
bugfix/cmg-1094-97-delta-ui.env/example.envupdated if new environment variables were added — N/Anpm test)README.md/ docs updated if behaviour changed — N/A👀 Reviewer Notes
!importanton.Table__body__column { min-width: 0 !important }is required to beat venus's own!importanton the same property. It's scoped to.table-wrapperand.asset-mapper-tableonly, so it doesn't leak to other venus tables in the app.100vh - 500px) tuned against a measured wrapper-top of ~490px on the delta Map Entry step. If the header stack above the wrapper changes materially (extra tab bars, taller stepper), this constant would need re-tuning — a follow-up to switch to a JS-measured height (likeuseMeasuredTableHeightused for the entry table) would remove the constant entirely, but felt out-of-scope for a bug fix.ui/src/components/ContentMapper/.