-
Notifications
You must be signed in to change notification settings - Fork 33
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 support for the Kinto Account plugin. #439
Conversation
554445d
to
2aaecd3
Compare
src/components/AuthForm.js
Outdated
@@ -103,6 +103,36 @@ const baseUISchema = { | |||
}; | |||
|
|||
const authSchemas = { | |||
account: { |
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.
Just me or this account
schema is basically the basicauth
one with just the title modified? If so we should rather create a common base and extend it appropriately.
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.
It is indeed.
.href = `${server}/fxa-oauth/login?redirect=${encodeURIComponent(redirect)}`; | ||
document.location.href = `${server}/fxa-oauth/login?redirect=${encodeURIComponent( | ||
redirect | ||
)}`; |
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.
I'm curious as to why this has been reformatted. Did you npm install
to retrieve the latest version of prettier?
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.
Yes, I even rimraf node_modules
to make sure it was the one pinned in the package.json
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.
do you want me to revert this specific change?
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.
No it's ok
Seems we have an issue with the prettier version you're using when running
Could you please ensure you're running the exact same version required in Also it seems a test is now breaking following a recent react upgrade:
Could you please fix this one as well so we have a green build? Thanks! |
Yes sure, thanks for the review. |
I use:
I have no idea looking at the package.json file if it is good or not. |
d3f4718
to
83d4f87
Compare
Rebase with prettier 1.0.0 |
Fixes #436