Repository navigation
fix(content-editor): open Export on its options, Before you publish a Review away - #1471
Merged
Merged
Conversation
… Review away Export and Send to CMS opened the same Before you publish screen, only the button's words told them apart. Export (the header's and Next step's) now opens on its options at once, with one line over them: amber with what Before you publish warns about (Trust under 60, no author), else a quiet line where the author, dates and schema are, and Review opening it (its Continue comes back to Export). Send to CMS and Mark ready keep the check screen. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ame what Before you publish has Pre-push review fixes: Review → Continue returns to the destination Export opened on (Copy HTML's HTML); a page that isn't an article gets a quiet line without dates or JSON-LD; Review is named "Review Before you publish". Co-Authored-By: Claude Opus 5.5 <[email protected]>
gkhngyk
approved these changes
Oct 24, 2026
gkhngyk
left a comment
Contributor
There was a problem hiding this comment.
Looks good. One small follow-up:
-
(low) After Review, Continue goes back to the destination Export opened on (
exportOpen.destination,_draft-editor.tsx:2700), not the one picked in the dialog.- From the header this works: the pick is stored, and
storedDestination()reads it back. It doesn't work without storage (a private window), where it falls back to Word. - From Copy HTML, Export opens on HTML. Someone who switches to Word and then presses Review comes back on HTML.
Fix: have
PublishLinecallonReview(destination)with the dialog's current destination (_export-dialog.tsx:664), and pass that toopenBeforePublish('export', …). - From the header this works: the pick is stored, and
7 of 12 tasks
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.
Summary
In the Content Editor, Export and Send to CMS opened the same "Before you publish" screen; only the last button's words told them apart ("Continue to export" / "Continue to send"). Exporting took an extra screen every time.
Now
Related issue
User report (tested on app.ansvisor.com): Export and Send to CMS open the same screen; Export should go straight to its options.
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
The browser check (both themes, 1024 px) is still owed, batched with the other editor fixes.
Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/)yarn typecheckpasses (run fromweb/)yarn format:checkpasses (run fromweb/)Web:
yarn test(CHECK_TESTS) andyarn buildpass.🤖 Generated with Claude Code