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

NUX: Move first tip to the toolbar #9223

Merged
merged 3 commits into from
Aug 24, 2018

Conversation

noisysocks
Copy link
Member

@noisysocks noisysocks commented Aug 22, 2018

Description

Fixes #8050. Reverts #8642.

Moves the first tip to the toolbar so that post content isn't covered, and adjusts DotTip so that it can correctly position itself below buttons when necessary.

Since doing this means that multiple instances of the same tip can no longer appear, I've reverted #8642 as it is no longer necessary.

How has this been tested?

  1. Re-enable tips via the More menu
  2. The first tip should point to the inserter in the top left of the page

Screenshots

localhost_8888_wp-admin_post-new php screen recording 1

Move the first tip to the toolbar so that post content isn't covered,
and adjust DotTip so that it can correctly position itself below the
inserter button.
@noisysocks noisysocks added [Type] Enhancement A suggestion for improvement. [Feature] NUX Anything that impacts the new user experience labels Aug 22, 2018
@noisysocks noisysocks added this to the 3.7 milestone Aug 22, 2018
@noisysocks noisysocks requested review from talldan and tofumatt and removed request for talldan August 23, 2018 00:41
Copy link
Contributor

@talldan talldan left a comment

Choose a reason for hiding this comment

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

Code looks good. Couldn't find anything to complain about 😄.

Copy link
Member

@tofumatt tofumatt left a comment

Choose a reason for hiding this comment

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

more-red-than-green

It looks good to me! I like the look of the tips.

* @param {string} tipId The tip to query.
* @param {?number} instanceId A number which uniquely identifies the DotTip instance.
* @param {Object} state Global application state.
* @param {string} id The tip to query.
Copy link
Member

Choose a reason for hiding this comment

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

Any reason not to call this tipId over id?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't see why not! 53eef0f

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] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants