-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Conversation
This reverts commit 09dc71c.
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.
There was a problem hiding this 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 😄.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
packages/nux/src/store/selectors.js
Outdated
* @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. |
There was a problem hiding this comment.
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
?
There was a problem hiding this comment.
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
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?
Screenshots