Plots2: Inconsistencies for the login modal

Created on 9 Dec 2018  ยท  42Comments  ยท  Source: publiclab/plots2

As a collaborative effort of @SidharthBansal @oorjitchowdhary @JonathanXu1 we came to set up the modal on the master branch for the login sequence.
Current Progress.

Localhost

  • [x] WORKING Login form validations are working fine for incorrect input fields(testing)

  • [x] WORKING Login modal validations are working fine for incorrect input fields(testing)

  • [x] WORKING Login form signs a user in successfully(testing)

  • [x] WORKING Login modal signs in a user successfully(testing)

  • [x] WORKING Login works well on all the webpages(testing)

  • [x] WORKING Login is redirected to the same page after user signs up(return_to)(testing)

Unstable

  • [ ] Login form validations are working fine for incorrect input fields(testing)
    Unable to test, redirected to PL stable

  • [ ] Login modal validations are working fine for incorrect input fields(testing)
    Unable to test, redirected to PL stable

  • [x] WORKING Login form signs a user in successfully(testing)

  • [x] WORKING Login modal signs in a user successfully(testing)

  • [x] Login works well on all the webpages(testing)

  • [x] Login is redirected to the same page after user signs up(return_to)(testing)

Refer #4203 for this conversation

Most helpful comment

Hurray!!!

All 42 comments

Yeah.. Feels good to have contributed by collaborating ๐ŸŽ‰

@oorjitchowdhary what is the behaviour of these two remaining on the localhost:3000?

  • [x] WORKING Login form validations are working fine for incorrect input fields(testing)
  • [x] WORKING Login modal validations are working fine for incorrect input fields(testing)

They're working.. I mentioned

Wow good job guys! Honored to be part of this

Where are they working @oorjitchowdhary?
On the localhost or on the unstable?
Or both?

@oorjitchowdhary is it redirecting back to the modal or to the login page?

If it works on both and redirects back to the same page. then please provide the gif for the following
/questions -> login -> unsuccessful login ->must be on the /questions and modal should appear with the errors -> filled modal correctly -> logged in successfully -> at the /questions page and we are signed in.

Okay.. I'll make a GIF

So... for unstable

  • [ ] Login modal validations are working fine for incorrect input fields(testing)
    You're redirected to PL login page
  • [ ] Login form validations are working fine for incorrect input fields(testing)
    You're redirected to unstable PL login page with an error "There is nobody in our system by that name, are you sure you have the right username?"

@oorjitchowdhary I have given you reward for both login and signup modals, am I correct? I guess this work was remaining, for that issues.

Not for login but for signup..

Let me check your tasks on the dashboard.

Okay ..

And for localhost...

  • [ ] Login modal validations are working fine for incorrect input fields(testing)
    You're redirected to login page with an error "Password is not valid"
  • [ ] Login form validations are working fine for incorrect input fields(testing)
    You're redirected to login page with an error "Password is not valid"

OK, so I am right that we need a fix here.
Can you try this
/questions -> login -> unsuccessful login ->errors on the login page-> filled login form correctly -> logged in successfully -> at the /questions page and we are signed in.

@SidharthBansal This for localhost right?

right

On Sun, Dec 9, 2018 at 11:10 PM Oorjit Chowdhary notifications@github.com
wrote:

@SidharthBansal https://github.com/SidharthBansal This for localhost
right?

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/4210#issuecomment-445556593,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUACQ9zUPS-V7FEsg_UfAHSLaSRincNjks5u3UsEgaJpZM4ZKLht
.

ok

/questions -> login -> unsuccessful login ->errors on the login page-> filled login form correctly -> logged in successfully -> at the /questions page and we are signed in.

Yes this works...

gif please. Once you give me the gif please claim it so that I can approve
it

On Sun, Dec 9, 2018 at 11:13 PM Oorjit Chowdhary notifications@github.com
wrote:

/questions -> login -> unsuccessful login ->errors on the login page->
filled login form correctly -> logged in successfully -> at the /questions
page and we are signed in.

Yes this works...

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/4210#issuecomment-445556789,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUACQ2GY5aDgUGCj30vJ-Tj5ZT3Uj2eGks5u3UutgaJpZM4ZKLht
.

Okay sure

login modal 2

Hurray!!!

Please claim it and get rewards

yes

On Sun, Dec 9, 2018 at 11:27 PM Oorjit Chowdhary notifications@github.com
wrote:

https://codein.withgoogle.com/dashboard/task-instances/4793116046393344/
This is the one right?

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/4210#issuecomment-445557802,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUACQ55Tsxjidq-tRMw69sTjiWIQLBgBks5u3U7sgaJpZM4ZKLht
.

I've claimed it

Please sent it for review also. You missed it.

I know you are careful, but please be a little more.

Oh I think @jywarren approved it.. ๐Ÿ˜„
That's why you may not be able to see it

image

Oh great @jywarren is back happy to see him.

On Sun, Dec 9, 2018 at 11:35 PM Oorjit Chowdhary notifications@github.com
wrote:

[image: image]
https://user-images.githubusercontent.com/39333058/49700915-22979780-fc0b-11e8-89cd-dfd49f038959.png

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/4210#issuecomment-445558441,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUACQz7LckN7M32-J5IFpv3013JubeOAks5u3VD8gaJpZM4ZKLht
.

I recently opened the console, causing the window width to shrink and an error like this occured:
issueswithwidth

When the window gets even smaller it is fixed, but in a certain interval the input fields are too long.

@kevinzluo do you think it's similar to this?
https://github.com/publiclab/plots2/issues/3454#issuecomment-445715574

@kevinzluo please claim the task
https://codein.withgoogle.com/dashboard/tasks/5255181143900160/
As you have find a bug.
Jonathan you are working this task instance is two. You can also take it after making separate issue for your above comment. You both will get credits for the bug.

On Mon, Dec 10, 2018, 1:14 PM Jonathan Xu <[email protected] wrote:

@kevinzluo https://github.com/kevinzluo do you think it's similar to
this?

3454 (comment)

https://github.com/publiclab/plots2/issues/3454#issuecomment-445715574

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/4210#issuecomment-445720130,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUACQzDrkc5gU25JAnTLVQl8pE3aUqynks5u3hDTgaJpZM4ZKLht
.

Both of you are requested to open up a new issue for reported bugs and then submit the issue links in the GCI platform so that you can get points.
Please hide these comments from both of these issues to make the conversation nice.
When ever you encounter bug not related to Amy issue please open up a new issue.

@SidharthBansal how's this? #4245

Reviewing it there.

@JonathanXu1 please take https://codein.withgoogle.com/dashboard/tasks/5255181143900160/. Your reward is pending.

Shifted to #4250

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ebarry picture ebarry  ยท  3Comments

RuthNjeri picture RuthNjeri  ยท  3Comments

jywarren picture jywarren  ยท  3Comments

divyabaid16 picture divyabaid16  ยท  3Comments

grvsachdeva picture grvsachdeva  ยท  3Comments