-
Notifications
You must be signed in to change notification settings - Fork 83
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
GraphQL-powered Accounts page #276
GraphQL-powered Accounts page #276
Conversation
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
@focusaurus @mikemurray — I can't assign reviewers here, but if you'd like to look at this and the PRs it depends on, that would be very much appreciated! |
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.
Seems to run as expected. Thank you!
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.
Great job! some small typos, other than that looks good to me.
Signed-off-by: Loan Laux <[email protected]>
Thanks @willopez! And sorry about the typos. I tend to duplicate files when working on pages that look alike... Which results in me forgetting to update the JSDoc. |
Signed-off-by: Loan Laux <[email protected]>
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.
Small change needed. See comments in code.
imports/plugins/core/accounts/client/components/CreateOrEditGroupDialog.js
Outdated
Show resolved
Hide resolved
imports/plugins/core/accounts/client/components/InviteShopMemberDialog.js
Show resolved
Hide resolved
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.
imports/plugins/core/accounts/client/components/CreateOrEditGroupDialog.js
Outdated
Show resolved
Hide resolved
imports/plugins/core/accounts/client/components/CreateOrEditGroupDialog.js
Outdated
Show resolved
Hide resolved
imports/plugins/core/accounts/client/components/GroupCardHeader.js
Outdated
Show resolved
Hide resolved
imports/plugins/core/accounts/client/components/CreateOrEditGroupDialog.js
Outdated
Show resolved
Hide resolved
imports/plugins/core/accounts/client/components/CreateOrEditGroupDialog.js
Outdated
Show resolved
Hide resolved
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Signed-off-by: Loan Laux <[email protected]>
Thanks again for the feedback @willopez! The selects inside of the modals are working great now. I've also PR'd the missing i18n label right here. |
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.
LGTM
…-page-graphql GraphQL-powered Accounts page
Resolves #230, resolves #283
Impact: critical
Type: feature|bugfix|performance|style|refactor
Test with:
All
api-plugin-accounts
PRs are available together on theoutgrow-2.0.0-next
branch.Issue
The Accounts page was half-working and was running on pure Meteor. It needed to be ported over to GraphQL, with all the functionalities working and possibly some requested additions.
Solution
This PR proposes a new Accounts page that relies only on GraphQL and uses the new Catalyst design language. It revives some features that weren't working anymore for a long time, for example the ability to create new groups and to edit the permissions of existing ones. It also enables users to bulk-edit permissions for users.
With no specific directions for the design, I kind of freestyled my way into it. This is what it looks like:
Breaking changes
None.
Testing
Accounts
MongoDB collection that the changes take effect.