Add tags to redux #147

Merged
neb-b merged 6 commits from tags into master 2019-06-20 01:02:07 +02:00
neb-b commented 2019-05-15 20:33:02 +02:00 (Migrated from github.com)

Will need to make another PR that addresses pagination on the trending pages.

Will need to make another PR that addresses pagination on the trending pages.
akinwale (Migrated from github.com) reviewed 2019-05-15 20:33:02 +02:00
neb-b (Migrated from github.com) reviewed 2019-06-10 03:58:53 +02:00
@ -155,3 +160,4 @@
selectMyClaimUrisWithoutChannels,
selectAllMyClaimsByOutpoint,
selectMyClaimsOutpoints,
selectFetchingMyChannels,
neb-b (Migrated from github.com) commented 2019-06-10 03:58:53 +02:00

Not sure if this should be here or in the tags file. Currently, all metadata selectors are inside of the claims file.

Not sure if this should be here or in the tags file. Currently, all metadata selectors are inside of the claims file.
neb-b (Migrated from github.com) reviewed 2019-06-10 04:10:39 +02:00
neb-b (Migrated from github.com) commented 2019-06-10 04:10:39 +02:00

Will this be the list of default tags? Either way, just using this for more accurate test data.

Will this be the list of default tags? Either way, just using this for more accurate test data.
kauffj (Migrated from github.com) requested changes 2019-06-10 22:57:11 +02:00
kauffj (Migrated from github.com) commented 2019-06-10 22:52:00 +02:00

if I'm reading this code correctly, this essentially to store the uris for the last call to claim_search

if that's the case, should this state even be in Tags.js instead of Claims.js? and either way, a name like lastClaimSearchUris would probably be better

if I'm reading this code correctly, this essentially to store the uris for the last call to claim_search if that's the case, should this state even be in Tags.js instead of Claims.js? and either way, a name like lastClaimSearchUris would probably be better
kauffj (Migrated from github.com) commented 2019-06-10 22:52:22 +02:00

Similar to above, this value is tracking whether there is a claim_search active, which isn't necessarily trending (it could be best, or newest, etc.).

Similar to above, this value is tracking whether there is a claim_search active, which isn't necessarily trending (it could be best, or newest, etc.).
kauffj (Migrated from github.com) commented 2019-06-10 22:52:33 +02:00

Same comment as above, not necessarily "Trending"

Same comment as above, not necessarily "Trending"
kauffj (Migrated from github.com) commented 2019-06-10 22:53:48 +02:00

The default tags will be close to this, but could they be put in the app codebase rather than lbry-redux?

The default tags will be close to this, but could they be put in the app codebase rather than lbry-redux?
@ -155,3 +160,4 @@
selectMyClaimUrisWithoutChannels,
selectAllMyClaimsByOutpoint,
selectMyClaimsOutpoints,
selectFetchingMyChannels,
kauffj (Migrated from github.com) commented 2019-06-10 22:54:10 +02:00

I think they should continue to be in the claims file.

I think they should continue to be in the claims file.
kauffj (Migrated from github.com) commented 2019-06-10 22:56:15 +02:00

this looks like it just calls right through to claim search... do we even need this along with the accompanying actions? could everything just call doClaimSearch directly?

this looks like it just calls right through to claim search... do we even need this along with the accompanying actions? could everything just call `doClaimSearch` directly?
@ -231,0 +231,4 @@
export const selectDownloadedUris = createSelector(
selectFileInfosDownloaded,
// We should use permament_url but it doesn't exist in file_list
kauffj (Migrated from github.com) commented 2019-06-10 22:56:50 +02:00

should this be filed?

should this be filed?
neb-b (Migrated from github.com) reviewed 2019-06-11 05:40:27 +02:00
neb-b (Migrated from github.com) commented 2019-06-11 05:40:27 +02:00

Yes

Yes
neb-b (Migrated from github.com) reviewed 2019-06-11 05:43:46 +02:00
@ -231,0 +231,4 @@
export const selectDownloadedUris = createSelector(
selectFileInfosDownloaded,
// We should use permament_url but it doesn't exist in file_list
neb-b (Migrated from github.com) commented 2019-06-11 05:43:46 +02:00

It is.

It is.
neb-b (Migrated from github.com) reviewed 2019-06-11 05:44:53 +02:00
neb-b (Migrated from github.com) commented 2019-06-11 05:44:53 +02:00

Yeah I'll move it to the claims reducer

Yeah I'll move it to the claims reducer
neb-b commented 2019-06-20 01:01:25 +02:00 (Migrated from github.com)

Merging since so that I can rebase the comments PR. I responded/updated code based on the comments above. I can make another PR if there are more comments.

Merging since so that I can rebase the comments PR. I responded/updated code based on the comments above. I can make another PR if there are more comments.
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#147
No description provided.