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

New tooltips #5805

Merged
merged 25 commits into from
Dec 7, 2022
Merged

New tooltips #5805

merged 25 commits into from
Dec 7, 2022

Conversation

keianhzo
Copy link
Contributor

This PR adds support for the new Tooltips design. The design can be checked here:

  • Implements the new style
  • Updates the Storybook stories for Tips

Copy link
Contributor

@netpro2k netpro2k left a comment

Choose a reason for hiding this comment

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

The new tips look a whole lot nicer than the old ones! I made a few practical comments, namely that we need to double check we aren't trouncing existing translations and making sure we don't show tips to people who have already gone through the old flow.

Made some other comments on code structure, namely I think the control flow could be significantly simplified, especially if we loosen the old requirements which I bet we don't particularly care about anymore. Up to you if this is something you want to tackle now or we just want to get this out as is (seems to work, so ¯_ (ツ)_/¯.

src/react-components/room/Tooltip.js Outdated Show resolved Hide resolved
src/react-components/room/Tooltip.js Show resolved Hide resolved
src/react-components/room/Tooltip.js Outdated Show resolved Hide resolved
src/react-components/room/Tooltip.js Outdated Show resolved Hide resolved
src/react-components/room/Tooltip.js Outdated Show resolved Hide resolved
src/react-components/room/TipContainer.js Outdated Show resolved Hide resolved
src/react-components/room/TipContainer.js Show resolved Hide resolved
src/react-components/room/TipContainer.js Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants