modifications for persisting fileList sort #87

Merged
jessopb merged 1 commit from fileListSort into master 2018-10-23 18:56:32 +02:00
jessopb commented 2018-10-22 18:26:14 +02:00 (Migrated from github.com)
No description provided.
neb-b (Migrated from github.com) requested changes 2018-10-22 19:56:08 +02:00
neb-b (Migrated from github.com) left a comment

This looks good. I think we should be using constants for all of the values though.

This looks good. I think we should be using constants for all of the values though.
neb-b (Migrated from github.com) commented 2018-10-22 19:54:46 +02:00

This should still be called data

This should still be called `data`
@ -1,9 +1,12 @@
import * as ACTIONS from 'constants/action_types';
neb-b (Migrated from github.com) commented 2018-10-22 19:55:06 +02:00

The options for sorting should be constants

The options for sorting should be constants
neb-b (Migrated from github.com) commented 2018-10-22 19:55:34 +02:00

The pages should be constants too.

The pages should be constants too.
neb-b (Migrated from github.com) commented 2018-10-22 19:55:43 +02:00

That are exported so the app can use them

That are exported so the app can use them
jessopb (Migrated from github.com) reviewed 2018-10-23 03:20:13 +02:00
jessopb (Migrated from github.com) commented 2018-10-23 03:20:13 +02:00

Roger. I wouldn't mind centralizing the page -> state dictionary too, but I don't know if it's necessary, or the right place to put it.

Roger. I wouldn't mind centralizing the page -> state dictionary too, but I don't know if it's necessary, or the right place to put it.
neb-b (Migrated from github.com) reviewed 2018-10-23 04:41:22 +02:00
neb-b (Migrated from github.com) commented 2018-10-23 04:41:21 +02:00

This should just be published

This should just be `published`
neb-b commented 2018-10-23 04:42:41 +02:00 (Migrated from github.com)

@jessopb Looks good. I would just make sure we are using the same page values as the app is using. Looks like there are a few differences
https://github.com/lbryio/lbry-desktop/blob/master/src/renderer/component/router/view.jsx#L38-L57

@jessopb Looks good. I would just make sure we are using the same page values as the app is using. Looks like there are a few differences https://github.com/lbryio/lbry-desktop/blob/master/src/renderer/component/router/view.jsx#L38-L57
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#87
No description provided.