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(plugins): Tooltips on BigNumber with Time Comparison chart #27092

Merged

Conversation

Antonio-RiveroMartnez
Copy link
Member

SUMMARY

Adding some tooltips on each value of the chart so there is more info to users when reading the chart.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

test2.mov
test1.mov

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

- Adding Tooltip to values in our chart
- Add utils function that returns the comparison period
- Export Tooltip component so we can use it in the chart
Copy link

codecov bot commented Feb 12, 2024

Codecov Report

Attention: 17 lines in your changes are missing coverage. Please review.

Comparison is base (e8e208d) 67.17% compared to head (fde7bd8) 67.17%.

Files Patch % Lines
...s/plugin-chart-period-over-period-kpi/src/utils.ts 17.64% 14 Missing ⚠️
...plugin-chart-period-over-period-kpi/src/PopKPI.tsx 0.00% 2 Missing ⚠️
...eriod-over-period-kpi/src/plugin/transformProps.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #27092      +/-   ##
==========================================
- Coverage   67.17%   67.17%   -0.01%     
==========================================
  Files        1900     1900              
  Lines       74443    74457      +14     
  Branches     8293     8296       +3     
==========================================
+ Hits        50009    50014       +5     
- Misses      22379    22388       +9     
  Partials     2055     2055              
Flag Coverage Δ
javascript 56.85% <15.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@yousoph
Copy link
Member

yousoph commented Feb 12, 2024

/testenv up FEATURE_CHART_PLUGINS_EXPERIMENTAL=true

Copy link
Contributor

@yousoph Ephemeral environment spinning up at http://52.27.72.153:8080. Credentials are admin/admin. Please allow several minutes for bootstrapping and startup.

@Antonio-RiveroMartnez Antonio-RiveroMartnez merged commit 13f1642 into apache:master Feb 14, 2024
33 of 34 checks passed
Copy link
Contributor

Ephemeral environment shutdown and build artifacts deleted.

@sadpandajoe
Copy link
Contributor

🏷️ preset:2024.7

sadpandajoe pushed a commit to preset-io/superset that referenced this pull request Feb 14, 2024
sfirke pushed a commit to sfirke/superset that referenced this pull request Mar 22, 2024
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 4.0.0 labels Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels packages plugins size/L 🚢 4.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants