-
Notifications
You must be signed in to change notification settings - Fork 925
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
Brave News: require opt-in #8830
Conversation
Linux CI failed only because of unrelated test:
|
c1d93e3
to
d5c21d5
Compare
|
||
type Props = { | ||
show: boolean | ||
onCustomizeBraveToday: () => any | ||
} | ||
|
||
const CustomizeButton = styled('button')<Props>` | ||
const Hideable = styled('div')<Props>` |
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.
Suggestion: How about fixing brave/brave-browser#15221 together because you touches Customize button herre. After it's hidden, still we can click. Of course, I'm fine as a separate task.
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.
Good idea. I hadn't noticed that PR.
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.
Works perfect! 👍
When button is not visible it won't have any even listeners and won't preven tother buttons to be clicked. # Conflicts: # components/brave_new_tab_ui/components/default/braveToday/options/customize.tsx
Fixed a bug that CI didn't catch which meant that the Customize button text did not get a color applied. |
Requires user opt-in before fetching any data. Previously, data would wait to be fetched until the user scrolled down. Now it also waits for the user to have opted-in too. Fix Brave News should require explicit opt-in brave-browser#15926
Renames in the UI Brave Today to Brave News. Fix Rename Brave Today to Brave News brave-browser#15925
Fix Brave News customize button in some cases causes the Settings icon to go to Customize Dashboard instead of brave://settings brave-browser#15221 (thanks @Dzheky!)
Extension changes
UI changes
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: