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

make Sign Up more obvious #925

Merged
merged 1 commit into from
Apr 5, 2021
Merged

Conversation

hairedfox
Copy link
Collaborator

Why

  • Make the Sign Up more obvious

What

  • Add button Sign Up next to Log In on the Navbar
  • Add button Sign Up right next to Log In button in Login Form

How

Testing

image

Next Steps

Outstanding Questions, Concerns and Other Notes

Accessibility

Security

Meta

Pre-Merge Checklist

  • Security & accessibility have been considered
  • Tests have been added, or an explanation has been given why the features cannot be tested
  • Documentation and comments have been added to the codebase where required
  • Entry added to CHANGELOG.md if appropriate
  • Outstanding questions and concerns have been resolved
  • Any next steps have been turned into Issues or Discussions as appropriate

@hairedfox hairedfox requested a review from maebeale April 3, 2021 21:29
@hairedfox hairedfox force-pushed the issue_872_make_sign_up_obvious branch from 078b150 to 0d6f9c4 Compare April 3, 2021 21:31
@hairedfox
Copy link
Collaborator Author

#872

Copy link
Collaborator

@solebared solebared left a comment

Choose a reason for hiding this comment

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

@hairedfox , this looks great! 💥
Just one minor comment.

@@ -38,6 +38,7 @@
</div>
<div class="" id="login_button">
<%= f.button :submit, "Log in", class: "button is-primary" %>
<%= link_to "Sign Up", new_user_registration_path, class: "button is-success" %>
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this should probably not live inside the #login_button div and instead be in a separate sibling div.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thank you for reminding me. I'll fix this one and merge.

@@ -2,7 +2,7 @@
<%= link_to "Log in", new_session_path(resource_name) %><br />
<% end %>

<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
<%- if devise_mapping.registerable? && !controller_name.in?(['registrations', 'sessions']) %>
Copy link
Collaborator

Choose a reason for hiding this comment

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

TIL about in?! 🙏🏾

@hairedfox hairedfox force-pushed the issue_872_make_sign_up_obvious branch from 0d6f9c4 to 56acab8 Compare April 5, 2021 18:57
@hairedfox hairedfox merged commit e6b5c91 into main Apr 5, 2021
@hairedfox hairedfox deleted the issue_872_make_sign_up_obvious branch April 5, 2021 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants