[merge after 34 release] Lbry redux publish WIP #2607

Merged
jessopb merged 5 commits from lbryReduxPublish into master 2019-07-29 20:51:10 +02:00
jessopb commented 2019-07-06 04:40:27 +02:00 (Migrated from github.com)

Old behavior:
app uses lbry-desktop redux store for publish.
New behavior:
all apps can use lbry-redux store for publish.

Still requires:
fix notifications
extensive rebase
delete lbry-desktop publish redux (after rebase)

Old behavior: app uses lbry-desktop redux store for publish. New behavior: all apps can use lbry-redux store for publish. Still requires: fix notifications extensive rebase delete lbry-desktop publish redux (after rebase)
neb-b (Migrated from github.com) reviewed 2019-07-06 04:40:27 +02:00
neb-b (Migrated from github.com) requested changes 2019-07-09 17:53:07 +02:00
neb-b (Migrated from github.com) left a comment

Mostly there, but I think we should keep the onSuccess logic inside of redux, and outside of our components.

Mostly there, but I think we should keep the `onSuccess` logic inside of redux, and outside of our components.
@ -34,7 +32,7 @@ const perform = dispatch => ({
updatePublishForm: value => dispatch(doUpdatePublishForm(value)),
neb-b (Migrated from github.com) commented 2019-07-09 17:51:45 +02:00

We don't need to pass in the callbacks here, lets do it in redux (in the desktop codebase).

We don't need to pass in the callbacks here, lets do it in redux (in the desktop codebase).
neb-b (Migrated from github.com) commented 2019-07-09 17:50:54 +02:00

Instead of bringing this into the component, we can still use a doPublish function that lives inside of the app. All it will do is call the publish function from lbry-redux, and pass in this success callback.

Instead of bringing this into the component, we can still use a `doPublish` function that lives inside of the app. All it will do is call the publish function from lbry-redux, and pass in this success callback.
neb-b (Migrated from github.com) commented 2019-07-09 17:51:19 +02:00

this should stay as publish

this should stay as `publish`
@ -18,4 +20,3 @@
bid: makeSelectPublishFormValue('bid')(state),
isStillEditing: selectIsStillEditing(state),
isResolvingUri: selectIsResolvingPublishUris(state),
amountNeededForTakeover: selectTakeOverAmount(state),
neb-b (Migrated from github.com) commented 2019-07-09 17:52:13 +02:00

I don't think this should be removed?

I don't think this should be removed?
jessopb (Migrated from github.com) reviewed 2019-07-10 01:08:51 +02:00
@ -18,4 +20,3 @@
bid: makeSelectPublishFormValue('bid')(state),
isStillEditing: selectIsStillEditing(state),
isResolvingUri: selectIsResolvingPublishUris(state),
amountNeededForTakeover: selectTakeOverAmount(state),
jessopb (Migrated from github.com) commented 2019-07-10 01:08:51 +02:00

it's a duplicate

it's a duplicate
tzarebczan commented 2019-07-16 17:08:16 +02:00 (Migrated from github.com)

Reminder: remove unused reducer code

Reminder: remove unused reducer code
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#2607
No description provided.