refactor doPurchaseUri #149
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#149
Loading…
Reference in a new issue
No description provided.
Delete branch "refactor-purchase-uri"
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?
Looks good. My biggest comment is to add flow coverage to these files.
This should be an error toast
streamInfo: GetResponse
@ -0,0 +25,4 @@
if (timeout) {
dispatch({
type: ACTIONS.LOADING_FILE_FAILED,
LOADING_FILE_X
is everywhere thatPURCHASE_URI_X
is. Do we need both?@ -0,0 +2,4 @@
import * as ACTIONS from 'constants/action_types';
const reducers = {};
const defaultState = {
Please create a type for
FileState
Maybe
doGet
ordoFileGet
? Since our naming for actions generally matches or includes the SDK method namesIf this error surfaces to users, it should be written more clearly (Maybe just "Already fetching ${uri}")
This returns
FileState