-
Notifications
You must be signed in to change notification settings - Fork 14k
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: add favorite star to dashboard and chart lists #10510
Conversation
showTooltip?: boolean; | ||
} | ||
|
||
export default class FaveStar extends React.PureComponent<FaveStarProps> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the ts conversion!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. just one final change to support translations
Codecov Report
@@ Coverage Diff @@
## master #10510 +/- ##
==========================================
+ Coverage 70.85% 71.00% +0.14%
==========================================
Files 604 605 +1
Lines 32400 32484 +84
Branches 3414 3438 +24
==========================================
+ Hits 22956 23064 +108
+ Misses 9332 9309 -23
+ Partials 112 111 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@@ -0,0 +1,88 @@ | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit (optional): for next time, let's use git mv
when moving from jsx
to tsx
so that the file's git history stays attached to it. Now you're on the git blame
for all the lines in the file :)
Impacts #8976 |
SUMMARY
FaveStar
icon and convert to TypeScriptBEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:
After:
TEST PLAN
Updated Cypress Tests for FaveStar
ADDITIONAL INFORMATION