Skip to content

chore(google-docs): remove dev-only fixture review payload [INTEG-3802]#10900

Open
ryunsong-contentful wants to merge 1 commit intomasterfrom
INTEG-3802
Open

chore(google-docs): remove dev-only fixture review payload [INTEG-3802]#10900
ryunsong-contentful wants to merge 1 commit intomasterfrom
INTEG-3802

Conversation

@ryunsong-contentful
Copy link
Copy Markdown
Contributor

@ryunsong-contentful ryunsong-contentful commented Apr 20, 2026

INTEG-3802

Summary

  • Removes the dev-only loadFixtureReviewPayload fixture and VITE_ENABLE_MOCK_REVIEW_PAYLOAD env flag that were always marked TODO: remove before launch
  • Cleans up the conditional mock button in Page.tsx and all associated imports, state, and type declarations
  • Updates the test mock label to reflect the actual component name (MappingView) now that the fixture mock is gone

Test plan

  • Confirm the main page flow renders correctly without the fixture mock button
  • Confirm Page.spec.tsx passes with the updated mock label
  • Confirm no references to VITE_ENABLE_MOCK_REVIEW_PAYLOAD or loadFixtureReviewPayload remain in the codebase

Generated with Claude Code

@ryunsong-contentful ryunsong-contentful requested review from a team as code owners April 20, 2026 22:28
@@ -2,7 +2,6 @@

interface ImportMetaEnv {
readonly VITE_ENABLE_MOCK_EDIT_MODAL?: string;
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.

Suggested change
readonly VITE_ENABLE_MOCK_EDIT_MODAL?: string;

I think we can remove this one as well

Comment on lines 5 to 6
# Frontend (Vite): dev-only UI to preview the exclude/edit modal inside the mapping view.
VITE_ENABLE_MOCK_EDIT_MODAL=
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.

Suggested change
# Frontend (Vite): dev-only UI to preview the exclude/edit modal inside the mapping view.
VITE_ENABLE_MOCK_EDIT_MODAL=

Same as above

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