-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Reactions: Update quick reactions #9753
Closed
6 tasks done
Comments
This was referenced May 22, 2019
Questions for @nadonomy:
|
jryans
added a commit
to matrix-org/matrix-react-sdk
that referenced
this issue
Jun 21, 2019
As part of reactions and editing work, we're adding a new style of tooltip that allows interacting with the content of the tooltip. `ContextualMenu` is closest out of the things we have today, but it doesn't position in quite the way we want and it's already quite complex. To get started, let's first clone that to a new `InteractiveTooltip`. Part of element-hq/element-web#9753 Part of element-hq/element-web#9716
jryans
added a commit
to matrix-org/matrix-react-sdk
that referenced
this issue
Jun 21, 2019
This adjusts the positioning to work more the way we want: * Tooltip is position on the top or bottom edge of the target depending on where space is available * Tooltip and chevron are centered In addition, more bits borrowed from `ContextualMenu` are not needed, so they have been removed for simplicity. Part of element-hq/element-web#9753 Part of element-hq/element-web#9716
jryans
added a commit
to matrix-org/matrix-react-sdk
that referenced
this issue
Jun 21, 2019
This tweaks the tooltip to match the color, spacing, etc. seen in the designs. Part of element-hq/element-web#9753 Part of element-hq/element-web#9716
jryans
added a commit
to matrix-org/matrix-react-sdk
that referenced
this issue
Jun 21, 2019
This tweaks the tooltip to match the color, spacing, etc. seen in the designs. Part of element-hq/element-web#9753 Part of element-hq/element-web#9716
Yes please. Hover for easier discoverability.
Will check in detail soon and get back to you! |
jryans
added a commit
to matrix-org/matrix-react-sdk
that referenced
this issue
Jun 24, 2019
This reworks the API the `InteractiveTooltip` component so that it's more natural to use just like other React components. You can now supply the target component as a child and the tooltip content as a prop. In addition, this tweaks the interactivity to keep the tooltip on screen until you move the mouse away from the tooltip and its target. Part of element-hq/element-web#9753 Part of element-hq/element-web#9716
jryans
added a commit
to matrix-org/matrix-react-sdk
that referenced
this issue
Jun 25, 2019
This adds a (temporarily non-functional) react button to the action bar. Part of element-hq/element-web#9753
jryans
added a commit
to matrix-org/matrix-react-sdk
that referenced
this issue
Jun 25, 2019
This adds the set of quick reactions as buttons in a new tooltip accessed via the react action in the message action bar. Part of element-hq/element-web#9753
jryans
added a commit
to matrix-org/matrix-react-sdk
that referenced
this issue
Jun 25, 2019
This removes the v1 Reactions UX which only allowed you to choose only one emoji out of each pair. It is replaced by a different UX inside a tooltip and without these constraints. Part of element-hq/element-web#9753
jryans
added a commit
to matrix-org/matrix-react-sdk
that referenced
this issue
Jun 25, 2019
This shows the title and shortcode for the hovered reaction at the bottom of the tooltip. If nothing is hovered, a blank space is shown for now, but will eventually become a link to a full emoji picker in future work. Part of element-hq/element-web#9753
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Before dev, we should discuss if we want to execute on #9483 first, in case this tooltip is redundant after dogfooding the emoji picker with prominent quick reactions. We should try just revealing the emoji picker on hover.
Once emoji picker exists (#9483):
The text was updated successfully, but these errors were encountered: