MERGE AFTER 34 RELEASE - enables publish for desktop - flow skipped WIP #162
No reviewers
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
dependencies
Epic
good first issue
hacktoberfest
help wanted
icebox
Invalid
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-redux#162
Loading…
Reference in a new issue
No description provided.
Delete branch "reduxPublish"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
doPublish selects redux state for publish
re: comments here https://github.com/lbryio/lbry-redux/pull/158
@akinwale How bad are the compatibility issues?
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;
Probably want to remove this before merging.
What about the rest of the selectors, like
selectTakeOverAmount
? That may still be useful.A couple of comments
We can just delete this
lbry-redux doesn't know about these comments, so they won't do anything.
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);
needed?
doCheckPendingPublishes
should have success callbacks too. That's where the desktop can trigger the notification@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?
@ -230,2 +249,4 @@
const myChannels = selectMyChannelClaims(state);
const myClaims = selectMyClaimsWithoutChannels(state);
// get redux publish form
const publishData = selectPublishFormValues(state);
nope
I think
fs
can stayLooks great!