-
Notifications
You must be signed in to change notification settings - Fork 336
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
Add orgs #584
Conversation
r.table('Notification').indexWait('orgId', 'parentId', 'userId'), | ||
r.table('User').indexWait('email', 'orgs', 'billingLeaderOrgs') | ||
]; | ||
await Promise.all(waitIndices); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! I was wondering when we were going to need to use this. And, here it is!
socket.setAuthToken(authToken); | ||
} | ||
// no need to wait for this, it's just for billing | ||
r.branch( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This query is so rad.
@@ -1,13 +1,13 @@ | |||
import React, {PropTypes} from 'react'; | |||
import withStyles from 'universal/styles/withStyles'; | |||
import {css} from 'aphrodite-local-styles/no-important'; | |||
import Notifications from 'universal/modules/notifications/containers/Notifications/Notifications'; | |||
import Toast from 'universal/modules/toast/containers/Toast/Toast'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bless your heart for renaming this.
@@ -2,7 +2,7 @@ import {cashay} from 'cashay'; | |||
import {removeAuthToken} from 'universal/redux/authDuck'; | |||
import {reset as resetAppState} from 'universal/redux/rootDuck'; | |||
import {segmentEventTrack} from 'universal/redux/segmentActions'; | |||
import {showSuccess} from 'universal/modules/notifications/ducks/notifications'; | |||
import {showSuccess} from 'universal/modules/toast/ducks/toastDuck'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
toastDuck sounds delicious
Wow man. Crazy amount of work in here. Incidentally, I love how you refactored (user|team)DashboardContainer into a single container. Nice work! |
@mattkrick updated these:
Going to work on some UI options for updating org avatars. |
# Conflicts: # src/universal/components/FileInput/FileInput.js # src/universal/modules/userDashboard/components/UserSettings/UserSettings.js
# Conflicts: # package.json # src/universal/decorators/loginWithToken/loginWithToken.js # src/universal/modules/landing/containers/Landing/LandingContainer.js # src/universal/redux/__tests__/AuthEngine-tests.js # src/universal/redux/__tests__/rootDuck-tests.js
Things left to do:
@ackernaut here are the things i'm stuck on
Designs:
/newteam
Matt's to-do:
isPaid === true
before subscribing to any subscription except notifications (but disregard most/all mutations because we'd rather be performant for the 99% than be slow & stingy towards the 1%)