New routing setup #2395

Merged
neb-b merged 4 commits from dev into master 2019-03-30 05:25:18 +01:00
neb-b commented 2019-03-28 18:47:29 +01:00 (Migrated from github.com)

First off, I'd like to apologize. It isn't as bad as it looks. There are a few large changes, then it's mostly making sure all of our current links work.

Changes

  • The largest change is in src/ui/components/router/view.jsx which sets up our new routing
  • killed the navigation reducer
    • The browser is now the source of truth for routing
  • dispatch(doNavigate(...)) becomes reachRouter.navigate(...)

Notes

There are still a few things broken that I am tracking. I think this is to a point where we can get it in now because the PR is already so big.

First off, I'd like to apologize. It isn't _as_ bad as it looks. There are a few large changes, then it's mostly making sure all of our current links work. ### Changes - The largest change is in `src/ui/components/router/view.jsx` which sets up our new routing - killed the `navigation` reducer - The browser is now the source of truth for routing - `dispatch(doNavigate(...))` becomes `reachRouter.navigate(...)` ### Notes There are still a few things broken that I am tracking. I think this is to a point where we can get it in now because the PR is already so big.
neb-b (Migrated from github.com) reviewed 2019-03-29 15:26:46 +01:00
neb-b (Migrated from github.com) commented 2019-03-29 15:26:46 +01:00

Will add

Will add
neb-b (Migrated from github.com) reviewed 2019-03-29 15:28:09 +01:00
@ -1,4 +1,6 @@
// @flow
neb-b (Migrated from github.com) commented 2019-03-29 15:28:09 +01:00

This is the other big file. No longer bringing in the nav links from redux. Will add the tutorial back in a future PR.

This is the other big file. No longer bringing in the nav links from redux. Will add the tutorial back in a future PR.
skhameneh (Migrated from github.com) approved these changes 2019-03-29 21:57:01 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#2395
No description provided.