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

New tab page background setting should be a profile preference #5064

Closed
bsclifton opened this issue Jun 28, 2019 · 1 comment · Fixed by brave/brave-core#2831
Closed

New tab page background setting should be a profile preference #5064

bsclifton opened this issue Jun 28, 2019 · 1 comment · Fixed by brave/brave-core#2831

Comments

@bsclifton
Copy link
Member

bsclifton commented Jun 28, 2019

Test plan

See brave/brave-core#2831

Description

The backgrounds on the new tab page were made toggleable with brave/brave-core#2668, however the setting is persisted only in local storage

Additional notes

This setting should be defaulted to ON

When brave/brave-core#2668 was implemented, it defaulted to OFF. This was fixed with brave/brave-core#2756... but users that got this (between versions 68.64 and 68.72) would still have backgrounds OFF

Adding this new setting will fix those users

bsclifton pushed a commit to brave/brave-core that referenced this issue Jun 28, 2019
…tead of localStorage

Fixes brave/brave-browser#5064

This allows:
- Surfacing these preferences outside of the NTP
- Syncing / migrating the preferences
- Making the change immediately for all open NTP

Use FireWebUIListener to push data to javascript event subscribers.
Still uses render_view_host->SetWebUIProperty (like the existing NTP data), which we may port in the future to a DataSource Dictionary like the other WebUI in chromium.

Provides any data retreived or updated to redux store via redux action, but does not use redux actions to ask for a data change.
petemill added a commit to brave/brave-core that referenced this issue Jun 28, 2019
…tead of localStorage

This allows:
- Surfacing these preferences outside of the NTP
- Syncing / migrating the preferences
- Making the change immediately for all open NTP

Use FireWebUIListener to push data to javascript event subscribers.
Still uses render_view_host->SetWebUIProperty (like the existing NTP data), which we may port in the future to a DataSource Dictionary like the other WebUI in chromium.

Provides any data retreived or updated to redux store via redux action, but does not use redux actions to ask for a data change.

Fix brave/brave-browser#5064
@bsclifton bsclifton added this to the 0.69.x - Nightly milestone Jun 28, 2019
petemill added a commit to brave/brave-core that referenced this issue Jun 28, 2019
…tead of localStorage

This allows:
- Surfacing these preferences outside of the NTP
- Syncing / migrating the preferences
- Making the change immediately for all open NTP

Use FireWebUIListener to push data to javascript event subscribers.
Still uses render_view_host->SetWebUIProperty (like the existing NTP data), which we may port in the future to a DataSource Dictionary like the other WebUI in chromium.

Provides any data retreived or updated to redux store via redux action, but does not use redux actions to ask for a data change.

Fix brave/brave-browser#5064
@btlechowski
Copy link

btlechowski commented Jul 24, 2019

Verification passed on

Brave 0.68.109 Chromium: 76.0.3809.62 (Official Build) dev (64-bit)
Revision 7b77856b3aa34d72f246d12340fc1ded8b2c0e83-refs/branch-heads/3809@{#798}
OS Ubuntu 18.04 LTS

Used test plan from brave/brave-core#2831

5064

Verification passed on

Brave 0.68.113 Chromium: 76.0.3809.62 (Official Build) beta (64-bit)
Revision 7b77856b3aa34d72f246d12340fc1ded8b2c0e83-refs/branch-heads/3809@{#798}
OS Windows 10 OS Version 1803 (Build 17134.523)

Verified passed with

Brave 0.68.116 Chromium: 76.0.3809.87 (Official Build) beta (64-bit)
Revision 111fe1e15d5ced26080a7dc239bcfe70f6c49aad-refs/branch-heads/3809@{#967}
OS Mac OS X

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment