-
Notifications
You must be signed in to change notification settings - Fork 870
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
Rewards AC exclusions text changes. #15029
Conversation
Replaced "Restore All" with "Clear exclude list" and "Restore this site" tooltip text with "Remove from excluded". Fixes brave/brave-browser#4474
e2199fe
to
262a903
Compare
: getLocale('excludeSite') | ||
|
||
cell.content.push({ | ||
content: ( | ||
<Tooltip content={actionTooltip}> | ||
<Tooltip rightEdge={true} content={actionTooltip}> |
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.
What does rightEdge
do?
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.
It moves the tooltip to be to the left of the button (instead of being centered on the button). If I leave it centered the tooltip doesn't fit and we end up with a scrollbar.
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.
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.
Ah, I see. I'm curious if we even need the tooltip - seems kind of obvious what the "x" does 😆
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.
Yeah, probably not really necessary, but it was already there 😄
A Storybook has been deployed to preview UI for the latest push |
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
Replaced "Restore All" with "Clear exclude list" and "Restore this site" tooltip text with "Remove from excluded".
Fixes brave/brave-browser#4474
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan: