Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
personalization: refactor of frontend state
Move everything possible into redux state. Add a business logic layer personalization_api.js to coordinate between API calls and redux store. Purposely avoid moving navigation state into redux to avoid duplicating state between URL and redux. Keep personalization_router.js as owner of navigation related state, and introduce some public functions on it to navigate. BUG=NONE TEST=browser_tests --gtest_filter="PersonalizationApp*" Cq-Include-Trybots: luci.chrome.try:linux-chromeos-chrome Change-Id: I562b0f2d70808914e1ef3324f8db8db592716d0e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2940986 Commit-Queue: Jeffrey Young <cowmoo@chromium.org> Reviewed-by: Xiaohui Chen <xiaohuic@chromium.org> Cr-Commit-Position: refs/heads/master@{#891470}
- Loading branch information
Showing
23 changed files
with
830 additions
and
581 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.