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

Login Modal redesign #455

Merged
merged 5 commits into from May 9, 2019
Merged

Login Modal redesign #455

merged 5 commits into from May 9, 2019

Conversation

IshaGupta18
Copy link
Contributor

Fixes #448

Here is the design for the new login modal. I have deliberately kept the username field so that we can discuss if it's a good idea to remove it or not:

image

@IshaGupta18

This comment has been minimized.

@SidharthBansal

This comment has been minimized.

@SidharthBansal

This comment has been minimized.

@IshaGupta18

This comment has been minimized.

@IshaGupta18

This comment has been minimized.

@IshaGupta18

This comment has been minimized.

@SidharthBansal

This comment has been minimized.

<%= hidden_field_tag :back_to,@referer -%>

<input tabindex="1" placeholder="username" id="username" name="open_id" type="text" /></p>
<input type="hidden" name="return_to" value="<%= params[:return_to] %>" />
Copy link
Member

Choose a reason for hiding this comment

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

May I know why we deleted line 10 and 13?
I think there is need of these lines in the controller

Copy link
Member

Choose a reason for hiding this comment

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

Can you please ensure no params key is deleted from the views?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

params[:return_to] is changed to params[:back_to]

@SidharthBansal

This comment has been minimized.

@SidharthBansal

This comment has been minimized.

@SidharthBansal

This comment has been minimized.

app/views/sessions/_login.html.erb Outdated Show resolved Hide resolved
@IshaGupta18

This comment has been minimized.

@SidharthBansal

This comment has been minimized.

@SidharthBansal

This comment has been minimized.

@IshaGupta18

This comment has been minimized.

@SidharthBansal

This comment has been minimized.

@IshaGupta18

This comment has been minimized.

@SidharthBansal

This comment has been minimized.

@SidharthBansal

This comment has been minimized.

@IshaGupta18

This comment has been minimized.

@SidharthBansal

This comment has been minimized.

1 similar comment
@SidharthBansal
Copy link
Member

Please provide the final screenshots

@IshaGupta18
Copy link
Contributor Author

IshaGupta18 commented May 9, 2019

image

image

@SidharthBansal
Copy link
Member

Awesome

@jywarren jywarren merged commit fed9f00 into publiclab:main May 9, 2019
@jywarren
Copy link
Member

jywarren commented May 9, 2019

Super!!!!

@SidharthBansal
Copy link
Member

Hi @jywarren this PR needs to be merged with other 3 PRS.
Work is in parallel as I told you yesterday.
Thanks for merging.

@jywarren
Copy link
Member

jywarren commented May 9, 2019

Uh oh, sorry, it wasn't marked "do not merge" and it wasn't in our checklist... OK, i'll note to Sebastian that this shouldn't be published until publiclab/plots2#5640 is merged. Thanks!

@jywarren
Copy link
Member

jywarren commented May 9, 2019

Er, i meant publiclab/plots2#5652

@jywarren
Copy link
Member

jywarren commented May 9, 2019

Ack, sorry! #448 was in the checklist. But it was already checked.

@SidharthBansal
Copy link
Member

SidharthBansal commented May 9, 2019 via email

@SidharthBansal
Copy link
Member

You did it correctly. We need to deploy things simultaneously to production.
I used merge in #455 (comment) but I should write deploy. Sorry I wrote wrong word.
Thanks for merging.

@jywarren
Copy link
Member

jywarren commented May 9, 2019 via email

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.

Frontend for SWB authentication
3 participants