Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine "preview" and "publish" Tips copy #16131

Closed
wants to merge 10 commits into from
Closed

Conversation

melchoyce
Copy link
Contributor

...To account for the preview button being disabled.

See #8061.

@melchoyce melchoyce requested a review from mapk June 12, 2019 19:36
Copy link
Member

@Soean Soean left a comment

Choose a reason for hiding this comment

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

The snapshot test in the post-preview-button component fails. We need to update the snapshots

This command updates this snapshot:
npm run test-unit -- --updateSnapshot --testPathPattern /packages/editor/src/components/post-preview-button/test

@melchoyce
Copy link
Contributor Author

Updated the tests, thanks @Soean

@melchoyce melchoyce changed the title Update "preview" tip copy Combine "preview" and "publish" Tips copy Jun 14, 2019
@melchoyce
Copy link
Contributor Author

I can't seem to update the post-publish-button tests? I get a bunch of errors when I try to run npm run test-unit -- --updateSnapshot --testPathPattern /packages/editor/src/components/post-publish-button/test.

@melchoyce
Copy link
Contributor Author

Okay yeah actually removing that fourth tip broke it, oops. @talldan any idea how I'd remove a tip?

@melchoyce
Copy link
Contributor Author

Should we change the position or keep as-is?

image

@melchoyce melchoyce requested review from kjellr and sarahmonster June 14, 2019 00:32
Copy link
Member

@sarahmonster sarahmonster left a comment

Choose a reason for hiding this comment

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

Copy-wise: looks good to me!

Position-wise: it feels like it's floating in midair (both the blue dot, and the tip itself). I wouldn't go bananas trying to get it to a perfect position, but maybe if we could at least centre the dot between the two buttons in question?

@noisysocks
Copy link
Member

@melchoyce: 71aa3a0 removes the fourth tip and c51ce65 positions the third tip in the middle of the two buttons.

I didn't spend any time making the position pixel perfect. It's difficult to have tips appear exactly where you want them for all languages and viewport sizes, but if you'd like to fiddle with it, you could try giving the new wrapper <div> a className and then adjusting the left and right of .wrapper-div .nux-dot-tip using CSS.

Copy link
Contributor

@mapk mapk left a comment

Choose a reason for hiding this comment

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

I just tested this. While its not lined up to pixel perfection, I don't think that's a big deal.

The only suggestion I have is the tip says,

"...use the “Preview” button to see how it will look to readers."

That was a bit awkward for me. Can we say,

"...use the "Preview" button to see how it will look for others."

@kjellr
Copy link
Contributor

kjellr commented Jun 17, 2019

"...use the "Preview" button to see how it will look for others."

The use of "others" here is a bit vague. Would it makes sense to say:

...use the "Preview" button to see how it will look to site visitors.

Or just:

...use the "Preview" button to see how it will look on your site.

@0aveRyan
Copy link
Contributor

I proposed on #9256, but adding here as well.

Want to see how your work will be displayed? Use the "Preview" button. Ready to publish your work (or schedule for later)? Use the "Publish" button.

@gziolo gziolo added [Feature] NUX Anything that impacts the new user experience [Type] Enhancement A suggestion for improvement. [Type] Copy Issues or PRs that need copy editing assistance labels Jun 20, 2019
@boemedia
Copy link

I proposed on #9256, but adding here as well.

Want to see how your work will be displayed? Use the "Preview" button. Ready to publish your work (or schedule for later)? Use the "Publish" button.

I really like this copy, since it short and sweet. Maybe remove ‘your work from the third sentence to make it even shorter, and make that one ‘When you’re ready to publish or schedule, use the “Publish” button.’

@0aveRyan
Copy link
Contributor

Sounds good!

Want to see how your work will be displayed? Use the "Preview" button. When you’re ready to publish or schedule, use the “Publish” button.

@noisysocks
Copy link
Member

I rebased this and updated the copy to be what @0aveRyan suggested above.

@mapk
Copy link
Contributor

mapk commented Jul 24, 2019

While there are tip changes coming that will deprecate this current rendition, this looks fine. I don't have a problem merging it until the new improved tips are implemented.

@noisysocks
Copy link
Member

Let's close this out as we're intending to get rid of tips altogether, per #16315.

@noisysocks noisysocks closed this Aug 29, 2019
@noisysocks noisysocks deleted the update/tips/copy branch August 29, 2019 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] NUX Anything that impacts the new user experience [Type] Copy Issues or PRs that need copy editing assistance [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants