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

feat: New tooltip preparation #16776

Merged
merged 3 commits into from
Feb 8, 2024

Conversation

przemvs
Copy link
Contributor

@przemvs przemvs commented Feb 7, 2024

https://wearezeta.atlassian.net/browse/WPB-6320

Description

Created new tooltips which is visible all of the time whenever You hover element with tooltip. Now tooltips are not cutted.
Tooltips works dynamically, if on top will not place for tooltip, will be placed under hovered element.

Also version bump for @wireapp/react-ui-kit from 9.12.8 to 9.15.1 (New tooltips included).

Screenshots/Screencast (for UI changes)

image

image

image

image

Checklist

  • PR has been self reviewed by the author;
  • Hard-to-understand areas of the code have been commented;
  • If it is a core feature, unit tests have been added;

Important details for the reviewers

(Delete this section if unnecessary)

  • use (x) data
  • can be reviewed commit-by-commit
  • be sure to look at ...

Copy link

codecov bot commented Feb 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (release/q1-2024@b7be0b3). Click here to learn what that means.

❗ Current head 886ab28 differs from pull request most recent head 6014ad0. Consider uploading reports for the commit 6014ad0 to get more accurate results

Additional details and impacted files
@@                Coverage Diff                 @@
##             release/q1-2024   #16776   +/-   ##
==================================================
  Coverage                   ?   45.78%           
==================================================
  Files                      ?      745           
  Lines                      ?    24438           
  Branches                   ?     5581           
==================================================
  Hits                       ?    11190           
  Misses                     ?    11824           
  Partials                   ?     1424           

)}

{sender.isDirectGuest() && !sender.isFederated && (
<span
className="message-header-icon-guest with-tooltip with-tooltip--external"
Copy link
Contributor

Choose a reason for hiding this comment

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

could we also delete those css declarations? Are they still used?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, this class is used :)
E.g. with class:
image

without class:
image

Copy link
Contributor

Choose a reason for hiding this comment

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

so they are still used in the code, right

Copy link
Contributor

@atomrc atomrc left a comment

Choose a reason for hiding this comment

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

nice 😎

@przemvs przemvs merged commit 62a1a33 into release/q1-2024 Feb 8, 2024
10 checks passed
@przemvs przemvs deleted the feat/WPB-6320-new-tooltips-preparation branch February 8, 2024 09:03
przemvs added a commit that referenced this pull request Feb 8, 2024
* feat: New tooltip preparation

* remove unecessary code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants