Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First run changes for invite page #2221

Merged
merged 5 commits into from Jan 28, 2019
Merged

First run changes for invite page #2221

merged 5 commits into from Jan 28, 2019

Conversation

neb-b
Copy link

@neb-b neb-b commented Jan 22, 2019

Changes

  • Standardize icon names for Set and document icon naming standard #1683
  • Brought publishes/downloads/history up to the top level of the side bar
  • Add constants for all page names
  • Add tooltip to direct users to the invite page
  • Replace empty invites table with gerbil

screen shot 2019-01-26 at 7 28 23 pm

screen shot 2019-01-26 at 7 32 16 pm

Notes

  • Dependent on Less intrusive first run experience #2210
  • A lot of the work on the sidebar selector is to hopefully make it super easy to add new guided tour items to links in the future if we want.
  • Still determining exact copy.

@@ -19,6 +19,7 @@ const defaultState = {
showUnavailable: getLocalStorageSetting(SETTINGS.SHOW_UNAVAILABLE, true),
welcome_acknowledged: getLocalStorageSetting(SETTINGS.NEW_USER_ACKNOWLEDGED, false),
email_collection_acknowledged: getLocalStorageSetting(SETTINGS.EMAIL_COLLECTION_ACKNOWLEDGED),
invite_acknowledged: getLocalStorageSetting(SETTINGS.INVITE_ACKNOWLEDGED, false),
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of these first run "settings" probably shouldn't live here. Not sure how tricky it would be to migrate them just to regular values saved by redux-persist. Then we can get rid of getLocalStorageSetting.

Works fine for now though, but something to keep in mind.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kill it with 🔥

@neb-b neb-b changed the title [wip] First run changes for invite page First run changes for invite page Jan 27, 2019
@neb-b neb-b requested a review from skhameneh January 27, 2019 00:33
label: 'Overview',
path: '/wallet',
active: currentPage === 'wallet',
...buildLink('Overview', PAGES.WALLET),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could make an array of these pairs and do a map.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah doh. Good idea.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eh I think I'll leave it. Some of the links are slightly different, and then I would need to change all of those into objects, so there will still be some repetition.

@lbry-bot lbry-bot assigned neb-b and unassigned skhameneh and neb-b Jan 28, 2019
@neb-b neb-b merged commit fbb9c9f into master Jan 28, 2019
@neb-b neb-b deleted the invite branch February 8, 2019 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants