-
Notifications
You must be signed in to change notification settings - Fork 918
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
Refactor DnD on NTP Top Sites #4325
Conversation
Built locally - a few things I noticed:
I'm going to re-run sync / build and clear my profile directory again. Something must be wrong on my side |
OK did a rebuild, issue 4 went away, but all the rest still exist |
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.
see comments
thanks for checking, I'm addressing your comments. I've run into a race condition and topSites API isn't working reliably which makes testing hard. re your comments:
|
41ed8c0
to
b8adc20
Compare
PR ready for re-review |
also test plan updated |
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.
LGTM
6d5c279
to
df4f1a8
Compare
Added several key tests and rebranded "topSites" with "gridSites". Since we plan to keep Chromium-only top sites as an option in the near future, it helps that both have different names. Travis is failing due to Storybook. There is a separate PR to fix it once for all: #4470. |
df4f1a8
to
0fbdfe1
Compare
0fbdfe1
to
ce1cd75
Compare
57cdad7
to
b02155c
Compare
e358a4f
to
afd10dd
Compare
7131e0a
to
126882f
Compare
Going to merge this one as it's been sitting here for while even after being approved. Please ping in case this causes any harm and I'll revert/revisit. Thanks! |
Revert "Merge pull request #4325 from brave/ca-2971"
Close brave/brave-browser#2971
Submitter Checklist:
npm run lint
)git rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
Assertions:
Manual test plan:
Note: Chromium topSites API is not reliable and can drastically vary the time to update the list. Below steps will be async so it's not guaranteed that you will se the site after you visit it, but they should work after some site interaction.
PINNED_SITE
(2), other site (3)Reviewer Checklist:
After-merge Checklist:
changes has landed on.