Open stephendonner opened 8 months ago
This isn't a recent regression - goes back as far as
Brave | 1.61.120 Chromium: 120.0.6099.234 (Official Build) (x86_64)
-- | --
Revision | 362207c81bff0740a8b6cff62dd91c6789f5698f
OS | macOS Version 11.7.10 (Build 20G1427)
1.61.120 |
1.61.120 |
---|---|
Similar root cause here I think - the cookies aren't sent to the RSS feed URL, so it 404s
Okay, so I had a play around with this and got it working - unfortunately it's using a session cookie, so next time you reload the browser, the feed won't work until you reload the page. There's not really a way for us to detect this, so I actually think what we do is more or less best case, given that:
Maybe we should just have a piece of UX that says "No valid feeds" or something once we realise everything is invalid?
Okay, so I had a play around with this and got it working - unfortunately it's using a session cookie, so next time you reload the browser, the feed won't work until you reload the page. There's not really a way for us to detect this, so I actually think what we do is more or less best case, given that:
- We don't want to request the RSS feeds until the user clicks the button
- We can't provide a good UX when the user has subscribed to the feed (as they won't get any articles in that feed until they visit ci.brave.com).
Maybe we should just have a piece of UX that says "No valid feeds" or something once we realise everything is invalid?
How do other RSS-feed clients handle this case?
Most other RSS-feed clients won't detect the feed, as they don't have the cookies to see the feeds in the first place:
Description
RSS-feed icon on
ci.brave.com
shows sources which soon disappearThis is very much related to https://github.com/brave/brave-browser/issues/34227, but is more pronounced, in that the user has no viable sources, so this whole user experience leads to literally nothing
Steps to Reproduce
1.64.6
Turn on Brave News
ci.brave.com
shift
+reload this page
Actual result:
The RSS-feed icon disappears completely
Expected result:
We should tweak the code to not show and then quickly hide these unavailable sources...
Reproduces how often:
100%
Brave version (brave://version info)
Version/Channel Information:
Yes
Yes
Yes
Miscellaneous Information:
cc @fallaciousreasoning @rebron @brave/qa-team