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

fix(bug_339): show tooltip on chart bars hover #340

Merged
merged 1 commit into from
Mar 23, 2022
Merged

Conversation

anrusina
Copy link
Contributor

@anrusina anrusina commented Mar 22, 2022

Signed-off-by: Nastya Rusina [email protected]

This PR:

  • updates typescript to v. 4.6.2 and fixes typing issues raised along.
  • fixes chartBar regression, by showing up tooltip when user hover on top of individual bars.

Screen Shot 2022-03-22 at 5 13 27 PM

During testing I found a bug, that the BarChart doesn't show the tooltip anymore. Tested this component due to typings changes required in getBoundingClientRect() function which is used by BarChartItem.
I looked into Demo site, and found that we are not showing up a tooltip for quite a time now.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Storybook added
  • Code documentation added
  • Any pending items have an associated Issue

Tracking Issue

fixes https://github.com/flyteorg/flyteconsole/issues/339

@anrusina anrusina requested review from a team, jsonporter and olga-union and removed request for a team March 22, 2022 23:54
@codecov
Copy link

codecov bot commented Mar 22, 2022

Codecov Report

Merging #340 (eb6dd94) into master (24bdaee) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #340      +/-   ##
==========================================
+ Coverage   65.14%   65.18%   +0.03%     
==========================================
  Files         390      390              
  Lines        8707     8702       -5     
  Branches     1506     1502       -4     
==========================================
  Hits         5672     5672              
+ Misses       3035     3030       -5     
Impacted Files Coverage Δ
src/components/common/BarChart.tsx 92.30% <100.00%> (+6.59%) ⬆️
src/components/hooks/useFetchableData.ts 89.79% <100.00%> (ø)
src/models/AdminEntity/transformRequestError.ts 90.00% <100.00%> (ø)
src/components/Entities/EntityVersions.tsx 0.00% <0.00%> (ø)
...ents/flytegraph/ReactFlow/customNodeComponents.tsx 0.00% <0.00%> (ø)
src/components/Navigation/VersionDisplayModal.tsx 52.63% <0.00%> (+2.63%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1b3987a...eb6dd94. Read the comment docs.

@anrusina anrusina marked this pull request as ready for review March 23, 2022 00:14
Copy link
Contributor

@olga-union olga-union left a comment

Choose a reason for hiding this comment

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

LGTM! Smoke-tested and checked the storybook out ✅

@flyte-bot
Copy link
Collaborator

🎉 This PR is included in version 0.47.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

[BUG] There is no tooltip when user hovers on top of bar chart items
3 participants