Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Add a basic tooltip showing who reacted #2991

Merged
merged 4 commits into from
May 17, 2019
Merged

Conversation

jryans
Copy link
Collaborator

@jryans jryans commented May 17, 2019

2019-05-17 at 12 22

Also tweaks the edited tooltip to match:

2019-05-17 at 12 22

This does not match the designed tooltip, but it's a step along the way.

Part of element-hq/element-web#9722

By first substituting variables and then tags after, the translation handling
can now support strings with variables inside tags, such as:

"people <span>reacted with %(foo)s</span>"
This adds a first attempt at tooltip showing who reacted to a message. It
doesn't limit senders or position the tooltip nicely, but the info is there at
least.

Part of element-hq/element-web#9722
We want to use the same styling with edited tooltip as well, so this extracts
the shared bits.
@jryans jryans requested a review from bwindels May 17, 2019 11:23
Copy link
Contributor

@bwindels bwindels left a comment

Choose a reason for hiding this comment

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

looks great! just one question.

@jryans jryans merged commit 4c94b39 into develop May 17, 2019
@johanricher
Copy link

johanricher commented May 17, 2019

Just passing to say that I'm a simple user testing Riot with labs features actived on https://riot.im/develop/ and I LOVE the new changes you're all working on. Believe me people will go crazy for them when it's out. Keep up the good work!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants