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

[frontend] Fix tooltip issue when adding a filter(#6036) #6162

Merged
merged 2 commits into from
Feb 28, 2024
Merged

Conversation

CelineSebe
Copy link
Member

@CelineSebe CelineSebe commented Feb 28, 2024

Proposed changes

  • followCursor props

Related issues

Checklist

  • I consider the submitted work as finished
  • I tested the code for its functionality
  • I wrote test cases for the relevant uses case
  • I added/update the relevant documentation (either on github or on notion)
  • Where necessary I refactored code to improve the overall quality

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

@CelineSebe CelineSebe added the filigran team use to identify PR from the Filigran team label Feb 28, 2024
@CelineSebe CelineSebe self-assigned this Feb 28, 2024
@CelineSebe CelineSebe linked an issue Feb 28, 2024 that may be closed by this pull request
@@ -290,7 +290,7 @@ export const FilterChipPopover: FunctionComponent<FilterChipMenuProps> = ({
? filterValues.filter((fVal) => fVal && fVal.key === subKey && fVal.values.includes(option.value)).length > 0
: filterValues.includes(option.value);
return (
<Tooltip title={option.label} key={option.label}>
<Tooltip title={option.label} key={option.label} followCursor={true}>
Copy link
Member

Choose a reason for hiding this comment

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

You can write just "followCursor"

Copy link

codecov bot commented Feb 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.68%. Comparing base (4ded3bf) to head (41abebf).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6162   +/-   ##
=======================================
  Coverage   66.68%   66.68%           
=======================================
  Files         540      540           
  Lines       64349    64349           
  Branches     5251     5252    +1     
=======================================
  Hits        42914    42914           
  Misses      21435    21435           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@CelineSebe CelineSebe merged commit 67fb440 into master Feb 28, 2024
8 checks passed
@CelineSebe CelineSebe deleted the issue/6036 branch February 28, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filigran team use to identify PR from the Filigran team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Filter tooltip placement bug when creating a widget
2 participants