MERGE AFTER 34 RELEASE - enables publish for desktop - flow skipped WIP #162

Merged
jessopb merged 4 commits from reduxPublish into master 2019-07-29 20:43:01 +02:00
jessopb commented 2019-07-03 16:56:20 +02:00 (Migrated from github.com)

doPublish selects redux state for publish
re: comments here https://github.com/lbryio/lbry-redux/pull/158

@akinwale How bad are the compatibility issues?

doPublish selects redux state for publish re: comments here https://github.com/lbryio/lbry-redux/pull/158 @akinwale How bad are the compatibility issues?
akinwale (Migrated from github.com) reviewed 2019-07-05 14:27:50 +02:00
akinwale (Migrated from github.com) left a comment

Looks good so far. Just a couple of things to address.

Looks good so far. Just a couple of things to address.
@ -315,47 +350,14 @@ export const doPublish = (params: PublishParams) => (dispatch: Dispatch, getStat
// The sdk will figure it out
if (filePath) publishPayload.file_path = filePath;
akinwale (Migrated from github.com) commented 2019-07-05 14:24:08 +02:00

Probably want to remove this before merging.

Probably want to remove this before merging.
akinwale (Migrated from github.com) commented 2019-07-05 14:27:24 +02:00

What about the rest of the selectors, like selectTakeOverAmount? That may still be useful.

What about the rest of the selectors, like `selectTakeOverAmount`? That may still be useful.
neb-b (Migrated from github.com) requested changes 2019-07-09 17:48:54 +02:00
neb-b (Migrated from github.com) left a comment

A couple of comments

A couple of comments
neb-b (Migrated from github.com) commented 2019-07-09 17:48:44 +02:00

We can just delete this

We can just delete this
neb-b (Migrated from github.com) commented 2019-07-09 17:45:18 +02:00

lbry-redux doesn't know about these comments, so they won't do anything.

lbry-redux doesn't know about these comments, so they won't do anything.
neb-b (Migrated from github.com) commented 2019-07-09 17:48:34 +02:00

After looking more I think these can be removed anyway

After looking more I think these can be removed anyway
@ -230,2 +249,4 @@
const myChannels = selectMyChannelClaims(state);
const myClaims = selectMyClaimsWithoutChannels(state);
// get redux publish form
const publishData = selectPublishFormValues(state);
neb-b (Migrated from github.com) commented 2019-07-09 17:46:24 +02:00

needed?

needed?
neb-b (Migrated from github.com) commented 2019-07-09 17:47:35 +02:00

doCheckPendingPublishes should have success callbacks too. That's where the desktop can trigger the notification

`doCheckPendingPublishes` should have success callbacks too. That's where the desktop can trigger the notification
jessopb (Migrated from github.com) reviewed 2019-07-10 16:46:09 +02:00
jessopb (Migrated from github.com) commented 2019-07-10 16:46:09 +02:00

@akinwale @seanyesmunt I thought @akinwale added fsAdapter for android, but desktop will still use 'fs' and 'path'. I pulled this logic into the selectAsset component for channel Edits, but publish still uses it as is?

@akinwale @seanyesmunt I thought @akinwale added fsAdapter for android, but desktop will still use 'fs' and 'path'. I pulled this logic into the selectAsset component for channel Edits, but publish still uses it as is?
jessopb (Migrated from github.com) reviewed 2019-07-10 16:47:27 +02:00
@ -230,2 +249,4 @@
const myChannels = selectMyChannelClaims(state);
const myClaims = selectMyClaimsWithoutChannels(state);
// get redux publish form
const publishData = selectPublishFormValues(state);
jessopb (Migrated from github.com) commented 2019-07-10 16:47:27 +02:00

nope

nope
neb-b (Migrated from github.com) reviewed 2019-07-10 17:33:02 +02:00
neb-b (Migrated from github.com) commented 2019-07-10 17:33:02 +02:00

I think fs can stay

I think `fs` can stay
neb-b (Migrated from github.com) approved these changes 2019-07-15 19:56:16 +02:00
neb-b (Migrated from github.com) left a comment

Looks great!

Looks great!
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-redux#162
No description provided.