-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 Customize
dialog is blank
#27052
Comments
Okay, I have a simpler repro which doesn't require a new profile:
This was being caused because you can get suggestions before you get publishers (so we'd have publisherId for the suggestion but no info about the publisher). To fix this, I'm pushing the data into the NTP every time the publisher info is updated, which we probably should've been doing anyway. I think this was introduced by brave/brave-core#16038, so the fix needs to be uplifted to 1.47.x |
Sadly, this still happens, occasionally, using:
It's really tough to reproduce at will, so maybe a race condition?
|
@fallaciousreasoning I wonder if that could be caused by this line https://github.com/brave/brave-core/blob/fc5f30881335f21f1aee93c9b14d84f789ecd013/components/brave_new_tab_ui/components/default/braveToday/customize/FeedCard.tsx#L72 I haven't traced calls to that function to see if it's likely Publisher could be null, but I couldn't find many other relevant calls from that error in @stephendonner 's screenshot. |
I think that's probably accurate @petemill - just curious how we're getting into that state. @stephendonner came up with a good repro so I might have a bit more of a dig (and guard that line too, once I've fixed things). From @stephendonner
|
Closing as we don't re-open issues that already have an landed PRs. So we'll need a new follow up issue which @stephendonner will create with the new STR/Cases he mentioned above. If this one isn't working, we can label this as The reason we don't re-open issues that it eventually gets too confusing once you start re-opening/closing an issue that has multiple PRs and uplifts associated with it. For example, in this case, we now have an issue that was supposed to fix an issue within @stephendonner let us know once you've created the new issue 👍 Can mention it's a follow up to this one. |
Done; logged #27914 👍 |
Description
Brave News
Customize
dialog is blankFound while testing brave/brave-core#16086.
Steps to Reproduce
1.48.15
theatlantic.com
Best of The Atlantic
Manage feeds…
Turn on Brave News
Actual result:
Blank
Customize Brave News
dialogScreencast:
Expected result:
Customize Brave News
dialog, populated withtheatlantic.com
Best of the Atlantic
feed shown underFollowing
Reproduces how often:
100%
Brave version (brave://version info)
Version/Channel Information:
No
Unknown
Yes
/cc @fallaciousreasoning @petemill @mattmcalister @rebron @brave/qa-team
The text was updated successfully, but these errors were encountered: