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: Deprecate options.tooltip #82

Merged
merged 8 commits into from
Jun 26, 2024
Merged

Conversation

elenajdanova
Copy link
Contributor

@elenajdanova elenajdanova commented Jun 18, 2024

  • Deprecate options.tooltip
  • Fixed how we consume tooltip props as we were doing it in 2 different places
  • Added additional stories & tests

@elenajdanova elenajdanova changed the title Upgrade tooltips to render HTML fix: Upgrade tooltips to render HTML Jun 18, 2024
Copy link

codecov bot commented Jun 18, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 75.49%. Comparing base (27051e7) to head (ea07a44).

Files Patch % Lines
src/controls/TextControl.tsx 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #82      +/-   ##
==========================================
+ Coverage   75.22%   75.49%   +0.27%     
==========================================
  Files          36       36              
  Lines         452      453       +1     
  Branches       85       86       +1     
==========================================
+ Hits          340      342       +2     
  Misses         78       78              
+ Partials       34       33       -1     

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

Copy link
Contributor

@DrewHoo DrewHoo left a comment

Choose a reason for hiding this comment

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

Interweave doesn't look like it is actively maintained & daily downloads are on the low side. Would something like https://www.npmjs.com/package/react-markdown work?

src/ui-schema.ts Outdated Show resolved Hide resolved
@elenajdanova elenajdanova changed the title fix: Upgrade tooltips to render HTML fix: Upgrade tooltips to render HTML; Deprecate options.tooltip Jun 25, 2024
@elenajdanova elenajdanova changed the title fix: Upgrade tooltips to render HTML; Deprecate options.tooltip fix: Deprecate options.tooltip Jun 25, 2024
Copy link
Contributor

@DrewHoo DrewHoo left a comment

Choose a reason for hiding this comment

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

looking good! couple changes to go, but I like seeing the deprecated annotation in the IDE ❤️

src/controls/TextControl.tsx Outdated Show resolved Hide resolved
src/controls/TextControl.tsx Outdated Show resolved Hide resolved
src/controls/TextControl.tsx Show resolved Hide resolved
Copy link
Contributor

@DrewHoo DrewHoo left a comment

Choose a reason for hiding this comment

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

lgtm

@elenajdanova elenajdanova merged commit 0f47e6d into main Jun 26, 2024
3 of 5 checks passed
@elenajdanova elenajdanova deleted the b/lak-1028/upgrade-tooltips branch June 26, 2024 14:25
Copy link

🎉 This PR is included in version 1.16.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

2 participants