Skip to content

fix: review page UI adjustments [INTEG-4179]#11028

Merged
JuliRossi merged 8 commits into
drive-integration-v1.1from
fix/integ-4179-review-page-ui-adjustments
Jun 18, 2026
Merged

fix: review page UI adjustments [INTEG-4179]#11028
JuliRossi merged 8 commits into
drive-integration-v1.1from
fix/integ-4179-review-page-ui-adjustments

Conversation

@JuliRossi

@JuliRossi JuliRossi commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

INTEG-4179

Purpose

Polish the Review Page UI based on post-feedback adjustments — empty states and removal confirmation clarity were missing.

Summary

  • Add "No current location" empty state in the Edit Modal when content has no prior mapping (was blank)
  • Show the list of affected entry/field mappings in the removal confirmation modal so users know what will be removed before confirming

Test plan

  • Open Edit Modal for content with no existing mapping — "No current location" message should appear in the left column
  • Select mapped text and click Remove — confirmation modal should list the affected entry/field mappings
  • Confirm cancel still works on the removal modal (no regression)
Grabacion.de.pantalla.2026-06-17.a.las.12.41.16.p.m.mov

Generated with Claude Code

@JuliRossi JuliRossi requested review from a team as code owners June 17, 2026 17:13

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this because some tests were failing

@FBanfi Franco Banfi (FBanfi) Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove this if you want, I added it in: #11029

@FBanfi Franco Banfi (FBanfi) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice adjustments! 💯

<Text as="span" fontWeight="fontWeightDemiBold">
{loc.entryName}
</Text>
{' → '}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⛏️ Perhaps we could use forma 36 ArrowRightIcon

@FBanfi Franco Banfi (FBanfi) Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove this if you want, I added it in: #11029

JuliRossi and others added 7 commits June 18, 2026 11:35
- Add empty state message in Edit Modal when no current location exists
- Show affected mappings list in removal confirmation modal
- Verified image removal via text selection is working correctly

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…s prop [INTEG-4179]

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…esModal spec [INTEG-4179]

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… environment [INTEG-4179]

Set ReactModal.setAppElement globally in setupTests so the portal always has
a valid DOM parent to detach from, preventing document-is-not-defined errors
when the 200ms close timeout fires after jsdom teardown.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…sModal spec [INTEG-4179]

Use vi.useFakeTimers({ shouldAdvanceTime: true }) + vi.runAllTimers() in afterEach
to flush the 200ms portal close timeout before jsdom tears down, preventing
the "document is not defined" unhandled error in CI.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…agesModal spec [INTEG-4179]

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@JuliRossi JuliRossi force-pushed the fix/integ-4179-review-page-ui-adjustments branch from 39b0a34 to 79e27c7 Compare June 18, 2026 14:36
…dal [INTEG-4179]

Replace text arrow with Forma 36 ArrowRightIcon in the mappings list.
Also reverts IncludeImagesModal spec to base branch version (fix already
merged by Franco in #11029).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@JuliRossi JuliRossi merged commit 276f803 into drive-integration-v1.1 Jun 18, 2026
11 checks passed
@JuliRossi JuliRossi deleted the fix/integ-4179-review-page-ui-adjustments branch June 18, 2026 14:52
Franco Banfi (FBanfi) added a commit that referenced this pull request Jun 19, 2026
…odal spec (#11032)

PR #11028 added new open-modal tests to RemoveContentModal.spec.tsx but
didn't carry over the fake-timer guard from #11029. react-modal's 200ms
portal close setTimeout fires after jsdom teardown, causing
"document is not defined" in CI.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants