-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 can suggest the current site to subscribe to #23778
Comments
Instead of 1-click unsubscribe for a feed the user is already subscribed to, I think we should offer the ability to customize from here. So, the button should be an activated color (do we have one?) and maybe the copy in the bubble popup should say "Customize Brave News" and which opens up Settings. |
If we're using a toggle ux then, yes, I'd agree. I thought it was just a "Add to Brave News" button or something like that in which case I would think you would want it to say "You follow [Feed Name] in Brave News. You can customize your feed selections any time in Settings." Maybe that doesn't work as well with multiple feeds. I don't feel strongly about it, either. It will become more obvious when we start testing, I'm sure. |
Verification
|
Brave | 1.44.73 Chromium: 105.0.5195.68 (Official Build) beta (x86_64) |
---|---|
Revision | ad13e82529051bac6a0e65f455e6d7a1e5fd7938-refs/branch-heads/5195@{#903} |
OS | macOS Version 13.0 (Build 22A5331f) |
Shared Steps:
- install
1.44.73
- launch Brave
- open
brave://flags/
- set
Enable Brave News Subscribe Button
toEnabled
- click
Relaunch
Subscribe - PASSED
via Manage Subscriptions icon - PASSED
- load
planet.mozilla.org
- click on the
Manage Subscriptions
icon in the browser URL bar - click on
Subscribe
- confirm the button changes to
Unsubscribe
- open a new-tab page
- click on
Customize
on the bottom right - click on
Brave News
- confirmed
Planet Mozilla
title and URL (as titletip)https://planet.mozilla.org/atom.xml
step 2 |
Loading... |
step 4 |
step 6 |
step 7 |
step 8 |
---|---|---|---|---|---|
via Customize -> Brave News dialog - PASSED
- open a new-tab page
- click on
Customize
- click on
Brave News
- enter
https://planet.mozilla.org/atom.xml
intoFeed URL
and clickAdd source
- load
planet.mozilla.org
- click on the
Manage Subscriptions
icon - confirm it says
Planet Mozilla
, and the button readsUnsubscribe
- open a new-tab page and click on
Show Brave News
- scroll down and confirm
Hello from the new developer advocate
(or any feed) post inBrave News
feed
step 4 |
step 6 + 7 |
step 8 |
step 9 |
---|---|---|---|
Unsubscribe - PASSED
via Manage Subscriptions icon - PASSED
(continuing on from Subscribe
tests, above)
- load
planet.mozilla.org
- click on the
Manage Subscriptions
icon - click on
Unsubscribe
- confirm the button changes to
Subscribe
- on a new-tab page, click on
Customize
- click
Brave News
- confirm the
Planet Mozilla
entry is removed
step 3 |
step 4 |
step 7 |
---|---|---|
via Customize -> Brave News dialog - PASSED
- load a new-tab page
- click on
Customize
- click on
Brave News
- click on the
...
ellipsis to the right ofPlanet Mozilla
- click
Remove
- click the
X
to dismiss theCustomize Dashboard
panel - load
planet.mozilla.org
- click on the
Manage Subscriptions
icon - confirm you see
Planet Mozilla
and then aSubscribe
button
step 5 |
step 6 |
step 9 |
---|---|---|
Hide and don't show this again - PASSED
(run either of the Subscribe
tests, first)
- load
planet.mozilla.org
- click on the
Manage Subscriptions
icon - click
Hide and don't show this again
- confirm the icon disappears
- in a new-tab page, confirm
Show Brave News button in the toolbar
isDisabled
/Off
- restart Brave
- load
planet.mozilla.org
- confirm there's no
Manage Subscriptions
icon in the URL bar
step 3 |
step 4 |
step 5 |
step 8 |
---|---|---|---|
UI - PASSED
Show Brave News button in the toolbar - PASSED
- load
planet.mozilla.org
- confirm the
Manage Subscriptions
icon appears, but don't click it - open a new-tab page
- click on
Customize
- click on
Brave News
- confirm that
Show Brave News button in the toolbar
isEnabled
/On
- toggle it to
Disabled
/Off
- return to the
planet.mozilla.org
tab - confirm the
Manage Subscriptions
icon disappears
step 2 |
step 6 |
step 7 |
step 9 |
---|---|---|---|
Dark + Light modes - PASSED
Tooltip
Verification
Shared Steps:
|
step 2 |
step 3 | Loading... |
step 4 |
step 6 |
step 7 |
step 8 |
---|---|---|---|---|---|---|
via Customize -> Brave News dialog - PASSED
- open a new-tab page
- click on
Customize
- click on
Brave News
- enter
https://www.theguardian.com/us
intoFeed URL
and clickAdd source
- confirmed publisher added to the customized dashboard in the Brave news section
- load
theguardian.com
- click on the
Manage Subscriptions
icon - confirm it says
The Guardian
, and the button readsUnsubscribe
- open a new-tab page and click on
Show Brave News
- scroll down and confirm a post from
The Guardian
(Hong Kong residents queue..
) inBrave News
feed
step 2-3 |
step 4 |
step 5 |
step 6 + 7 |
step 8 |
step 9 |
step 10 |
---|---|---|---|---|---|---|
Unsubscribe - PASSED
via Manage Subscriptions icon - PASSED
- continuing from Manage Subscriptions icon - Step 8
- load/return to
theatlantic.com
tab - click on the
Manage Subscriptions
icon - click on
Unsubscribe
- confirm the button changes to
Subscribe
- on a new-tab page, click on
Customize
- click
Brave News
- confirm the
The Atlantic
entry is removed
step 1 |
step 4 |
step 5 |
step 8 |
---|---|---|---|
via Customize -> Brave News dialog - PASSED
- continuing from
Subscribe tests - Customize -> Brave News dialog
Step 5 - load a new-tab page
- click on
Customize
- click on
Brave News
- click on the
...
ellipsis to the right ofThe Guardian
- click
Remove
- click the
X
to dismiss theCustomize Dashboard
panel - load
theguardian.com
- click on the
Manage Subscriptions
icon - confirm you see
The Guardian
and then aSubscribe
button
step 5 |
step 6 |
step 10 |
---|---|---|
Hide and don't show this again - PASSED
(run either of the Subscribe
tests, first)
- load https://theguardian.com
- click on the
Manage Subscriptions
icon - click
Hide and don't show this again
- confirm the icon disappears
- in a new-tab page, confirm
Show Brave News button in the toolbar
isDisabled
/Off
- restart Brave
- re-loaded https://theguardian.com
- confirm there's no
Manage Subscriptions
icon in the URL bar
step 3 |
step 4 |
step 5 |
step 8 |
---|---|---|---|
UI - PASSED
Show Brave News button in the toolbar - PASSED
- new profile
- load https://theguardian.com
- confirm the
Manage Subscriptions
icon appears, but don't click it - open a new-tab page
- click on
Customize
- click on
Brave News
- confirm that
Show Brave News button in the toolbar
isEnabled
/On
- toggle it to
Disabled
/Off
- return to the https://theguardian.com tab
- confirm the
Manage Subscriptions
icon disappears
step 2 |
step 7 |
step 8 |
step 9 |
---|---|---|---|
Manage Subscription tooltip - PASSED
Unsubscribe - PASSED
Subscribed - PASSED
New Browser Window - Subscribe/Unsubscribe functionality - PASSED
- New profile
- visit https://theguardian.com
- open
brave://flags/
- set
(#brave-news-subscribe-button)
Enable Brave News Subscribe Button
toEnabled
- click
Relaunch
- go to hamburger menu>>click New Window
- visit https://theatlantic.com
- confirmed Manage subscription icon displayed as expected
- confirmed above subscribe and unsubscribe tests passed as expected
Ex1 | Ex2 | Ex3 | Ex4 | Ex5 |
---|---|---|---|---|
Upgrade -Subscribe/Unsubscribe functionality- PASSED
- Installed 1.43.89
- launch Brave
- visit https://theguardian.com
- close the browser
- rename profile folder Brave Browser - Beta
- launch with 1.44.83
- open
brave://flags/
- set
(#brave-news-subscribe-button)
Enable Brave News Subscribe Button
toEnabled
- click
Relaunch
- return https://theguardian.com tab
- confirmed Manage subscription icon displayed as expected
- confirmed above subscribe and unsubscribe tests passed as expected.
Step 1-2 | step 6 | step7-9 | step10-11 | step 12 |
---|---|---|---|---|
Bugs Filed:
Manage subscriptions
icon still shown and able to subscribe whenShow Brave News
toggled OFF without explicitly turning OFFShow Brave News button in the toolbar
#25385- Typo in
brave://flags
forEnable Brave New Subscribe Button
#25386 - Brave crashed when clicked to open guest window after enabling
Enable Brave News Subscribe Button
inbrave://flags
#25387 - Disable Subscription for Private window, Private window with TOR and Guest window as they do not have Brave news feature #25409
Verification
Shared Steps:
|
step 2 |
step 3 | Loading... |
step 4 |
step 6 |
step 7 |
step 8 |
---|---|---|---|---|---|---|
via Customize -> Brave News dialog - PASSED
- open a new-tab page
- click on
Customize
- click on
Brave News
- enter
https://www.theguardian.com/us
intoFeed URL
and clickAdd source
- confirmed publisher added to the customized dashboard in the Brave news section
- load
theguardian.com
- click on the
Manage Subscriptions
icon - confirm it says
The Guardian
, and the button readsUnsubscribe
- open a new-tab page and click on
Show Brave News
- scroll down and confirm a post from
The Guardian
(Hong Kong residents queue..
) inBrave News
feed
step 2-3 |
step 4 |
step 5 |
step 6 - 7 |
step 8 |
step 10 |
---|---|---|---|---|---|
Unsubscribe - PASSED
via Manage Subscriptions icon - PASSED
- continuing from Manage Subscriptions icon - Step 8
- load/return to
theatlantic.com
tab - click on the
Manage Subscriptions
icon - click on
Unsubscribe
- confirm the button changes to
Subscribe
- on a new-tab page, click on
Customize
- click
Brave News
- confirm the
The Atlantic
entry is removed
step 1 |
step 4 |
step 5 |
step 8 |
---|---|---|---|
via Customize -> Brave News dialog - PASSED
- continuing from
Subscribe tests - Customize -> Brave News dialog
Step 5 - load a new-tab page
- click on
Customize
- click on
Brave News
- click on the
...
ellipsis to the right ofThe Guardian
- click
Remove
- click the
X
to dismiss theCustomize Dashboard
panel - load
theguardian.com
- click on the
Manage Subscriptions
icon - confirm you see
The Guardian
and then aSubscribe
button
step 5 |
step 6 |
step 10 |
---|---|---|
Hide and don't show this again - PASSED
(run either of the Subscribe
tests, first)
- load https://theguardian.com
- click on the
Manage Subscriptions
icon - click
Hide and don't show this again
- confirm the icon disappears
- in a new-tab page, confirm
Show Brave News button in the toolbar
isDisabled
/Off
- restart Brave
- re-loaded https://theguardian.com
- confirm there's no
Manage Subscriptions
icon in the URL bar
step 3 |
step 4 |
step 5 |
step 8 |
---|---|---|---|
UI - PASSED
Manage Subscription tooltip
Show Brave News button in the toolbar - PASSED
- new profile
- load https://theguardian.com
- confirm the
Manage Subscriptions
icon appears, but don't click it - open a new-tab page
- click on
Customize
- click on
Brave News
- confirm that
Show Brave News button in the toolbar
isEnabled
/On
- toggle it to
Disabled
/Off
- return to the https://theguardian.com tab
- confirm the
Manage Subscriptions
icon disappears
step 3 |
step 7 |
step 8 |
step 9-10 |
---|---|---|---|
Unsubscribe - PASSED
Subscribed - PASSED
New Browser Window - Subscribe/Unsubscribe functionality - PASSED
- New profile
- open
brave://flags/
- set
(#brave-news-subscribe-button)
Enable Brave News Subscribe Button
toEnabled
- click
Relaunch
- go to hamburger menu>>click New Window
- visit https://theatlantic.com
- confirmed Manage subscription icon displayed as expected
- confirmed above subscribe and unsubscribe tests passed as expected.
Ex1 | Ex2 | Ex3 | Ex4 | Ex5 |
---|---|---|---|---|
Upgrade -Subscribe/Unsubscribe functionality- PASSED
- Installed 1.43.89
- launch Brave
- visit https://theguardian.com
- close the browser
- rename profile folder Brave Browser - Beta
- launch with 1.44.92
- open
brave://flags/
- set
(#brave-news-subscribe-button)
Enable Brave News Subscribe Button
toEnabled
- click
Relaunch
- return https://theguardian.com tab
- confirmed Manage subscription icon displayed as expected
- confirmed above subscribe and unsubscribe tests passed as expected.
Step 1-2 | step 3 | step 6 | step7-9 | step 10 | step11 | step 12 |
---|---|---|---|---|---|---|
Bugs Encountered:
Manage subscriptions
icon still shown and able to subscribe whenShow Brave News
toggled OFF without explicitly turning OFFShow Brave News button in the toolbar
#25385- Typo in
brave://flags
forEnable Brave New Subscribe Button
#25386 - Brave crashed when clicked to open guest window after enabling
Enable Brave News Subscribe Button
inbrave://flags
#25387 - Disable Subscription for Private window, Private window with TOR and Guest window as they do not have Brave news feature #25409
When the Brave News is opted-in and enabled, we can do the following:
For any given Tab, if we detect a corresponding Publisher to subscribe to, we can offer the user to add the subscription.
This could look like a Location Bar button with the brave news icon. When clicked it would show a list of the available feeds (which would usually only be 1).
Sources of Publisher items for a Tab:
brave_news.mojom:GetPublishers()
(see note below re: site_url)Implementation:
site_url
(and possiblyfeed_url
) fields in sources.jsonRssLinkReader
to get the feed url from the html.SetPublisherPref
to subscribe (or unsubscribe)Design:
TBD
Rough design:
Location bar button (older design might not be the correct icon):
although I don't think it should be inside the brave actions area, i.e. it can just be a regular PageActionIcon
Maybe it shows expanded on first seeing it for each browser session (ignore the tooltip):
Outstanding questions
The text was updated successfully, but these errors were encountered: