Skip to content

feat: close/delete review actions and layout fixes [] - #11143

Merged
david-shibley-contentful merged 4 commits into
masterfrom
feat/drive-integration-close-and-delete-review
Jul 29, 2026
Merged

feat: close/delete review actions and layout fixes []#11143
david-shibley-contentful merged 4 commits into
masterfrom
feat/drive-integration-close-and-delete-review

Conversation

@david-shibley-contentful

@david-shibley-contentful david-shibley-contentful commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replaces the single Cancel/Exit button on the review page with a "Close" button (always visible) and a "Delete" option inside a ⋯ more-actions menu (only shown before entries are created)
  • Updates `ConfirmCancelModal` copy: title → "Delete this job?", buttons → "Keep review open" / "Delete" with negative variant
  • Fixes page not being centered in the new flow (`RunsPage` missing `margin: 0 auto`)
  • Fixes Connect button appearing on the left in the legacy flow (wraps heading + `OAuthConnector` in a space-between row)
  • Fixes `MoreHorizontalIcon` (not exported by installed f36-icons) → `DotsThreeIcon`
  • Updates all stale test strings to match new copy

Test plan

  • New flow: verify page content is centered
  • Legacy flow: verify Connect/Connected button is aligned to the right of the heading
  • Review page: verify "Close" button exits review without prompting
  • Review page: verify "⋯" menu appears before entries are created and disappears after
  • Review page: verify clicking Delete in the menu opens the confirm modal with new copy
  • Confirm modal: verify "Keep review open" dismisses the modal, "Delete" cancels the job and returns to main

Generated with Claude Code

…nu on review page

Close navigates back to the jobs list without terminating the run, so users can
return to it later via the Review button. Delete (in the ... menu) triggers the
existing confirm flow that cancels the run on the backend.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@david-shibley-contentful
david-shibley-contentful requested review from a team as code owners July 27, 2026 14:26
@david-shibley-contentful david-shibley-contentful changed the title feat(drive-integration): replace cancel button with close + delete menu on review page feat(drive-integration): replace cancel button with close + delete menu on review page [] Jul 27, 2026
… and update stale test strings

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

@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.

Looks clean!! Left two small comments!

{!hasCreatedEntries && (
<Menu>
<Menu.Trigger>
<button type="button" className={moreActionsButton} aria-label="More actions">

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.

Can we use Forma 36 components here instead of raw html elements?

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.

Even though this is a small UI change, it would be nice to include a screenshot or video showing how it looks. That way, we can make sure it's working correctly and that the change makes sense from a UX perspective.

…button in legacy flow

RunsPage was missing margin: auto so content pinned left. MainPageView
had OAuthConnector in its own column item; wrap heading + connector in
a space-between Flex row so the button aligns to the right.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@david-shibley-contentful david-shibley-contentful changed the title feat(drive-integration): replace cancel button with close + delete menu on review page [] feat: close/delete review actions and layout fixes Jul 29, 2026
…36 components

Swap the ⋯ raw <button> for IconButton and the mode-toggle raw <button>s
for Button with startIcon, as suggested in PR review. Removes the now-
unused moreActionsButton style from ReviewPage.styles.ts.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

@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.

Looks good to me! 💯

@david-shibley-contentful david-shibley-contentful changed the title feat: close/delete review actions and layout fixes feat: close/delete review actions and layout fixes [] Jul 29, 2026
@david-shibley-contentful
david-shibley-contentful merged commit 1374948 into master Jul 29, 2026
15 of 16 checks passed
@david-shibley-contentful
david-shibley-contentful deleted the feat/drive-integration-close-and-delete-review branch July 29, 2026 20:41
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