-
Notifications
You must be signed in to change notification settings - Fork 44
Simplify signup form #426
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
base: master
Are you sure you want to change the base?
Simplify signup form #426
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -451,7 +451,38 @@ h3 { | |
|
|
||
| form { | ||
| border-radius: 4px; | ||
| padding: 1rem; | ||
| padding: 0 1.5rem 1rem 1.5rem; | ||
| margin: auto; | ||
|
|
||
| label { | ||
| margin: 0; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the default is no margin? at least it seems to be in Firefox |
||
| width: 100%; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. since these are
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not a css or design wizard by any means, but filling the container doesn't look very good to me on a desktop / wide form factor and feels different from the forms on almost any modern website.
Here's a point of reference, the last lefty website sign up form I was thinking about - looks similar to this PR on mobile form factor but MUCH nicer and more standard IMO on desktop: https://www.saikat.us/en/volunteer
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could just set a lower |
||
|
|
||
| div, input::placeholder { | ||
| padding-top: 1rem; | ||
| padding-bottom: 2px; | ||
| margin-left: 5px; | ||
| } | ||
|
|
||
| input::placeholder { | ||
| text-align: center; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd keep the left-aligned, having them float far away to the right throws me off. It's also odd that the placeholder alignment is different from real form values If we insist on centering this stuff, we should also consider that the |
||
| } | ||
| } | ||
|
|
||
| input, select[name=nearby-chapter] { | ||
| &:focus{ | ||
| outline: none; | ||
| border: 1px solid $red; | ||
| } | ||
| } | ||
|
|
||
| input, select[name=nearby-chapter], input[type=submit] { | ||
| width: 100%; | ||
|
|
||
| &#outreach { | ||
| width: 1rem; | ||
| } | ||
| } | ||
| } | ||
|
|
||
| label { | ||
|
|
@@ -499,13 +530,12 @@ label { | |
| } | ||
| } | ||
|
|
||
| input[type="email"], | ||
| input[type="text"], | ||
| input[type="url"], | ||
| input[type=email], | ||
| input[type=text], | ||
| input[type=url], | ||
| select { | ||
| border: 1px solid; | ||
| border-radius: 4px; | ||
| color: $grey; | ||
| padding: 0.75rem; | ||
|
|
||
| @include mobile { | ||
|
|
@@ -514,12 +544,11 @@ select { | |
| } | ||
| } | ||
|
|
||
| input[type="submit"], | ||
| input[type=submit], | ||
| .pagination { | ||
| border-radius: 4px; | ||
| border: 0; | ||
| font-weight: 500; | ||
| margin-top: 20px; | ||
| padding: 10px 20px; | ||
| } | ||
|
|
||
|
|
@@ -642,19 +671,20 @@ hr { | |
| form { | ||
| background-color: $grey3; | ||
| } | ||
| input[type="submit"] { | ||
| input[type=submit] { | ||
| background: $grey2; | ||
| color: $white; | ||
|
|
||
| &:hover { | ||
| background-color: $red; | ||
| } | ||
| } | ||
| input[type="email"], | ||
| input[type="text"], | ||
| input[type="url"], | ||
| input[type=email], | ||
| input[type=text], | ||
| input[type=url], | ||
| select { | ||
| border-color: #ccc; | ||
| color: $grey; | ||
| border-color: $black; | ||
| } | ||
| .primaryBg { | ||
| background-color: $white; | ||
|
|
@@ -708,17 +738,17 @@ hr { | |
| hr { | ||
| border-bottom: 1px solid $grey; | ||
| } | ||
| input[type="submit"] { | ||
| input[type=submit] { | ||
| background-color: $red; | ||
| color: $white; | ||
|
|
||
| &:hover { | ||
| background-color: $grey2; | ||
| } | ||
| } | ||
| input[type="email"], | ||
| input[type="text"], | ||
| input[type="url"], | ||
| input[type=email], | ||
| input[type=text], | ||
| input[type=url], | ||
| select { | ||
| background: $grey2; | ||
| border-color: transparent; | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -6,42 +6,39 @@ permalink: /subscribe/ | |||||
|
|
||||||
| # Join us | ||||||
|
|
||||||
| Our Slack is governed by the principles and rules in our [Community Guide](/community-guide). By joining, you agree to follow them. | ||||||
| 1. Fill out this form to subscribe to our newsletter. | ||||||
| 2. If eligible, you will be invited to our Slack. | ||||||
| 3. You agree to the [Community Guide](/community-guide) by filling the form. | ||||||
|
|
||||||
| <h3 class="marg-b-3">Please provide the following:</h3> | ||||||
| <h3>Please provide the following:</h3> | ||||||
| <form class="join-form" method="POST" target="_blank" class="marg-b-4" data-netlify="true" action="/welcome" netlify-honeypot="bot-field"> | ||||||
| <label style="display:none"> | ||||||
| Don’t fill this out if you’re human: <input name="bot-field" /> | ||||||
| </label> | ||||||
| <label class="marg-b-3" for="email"> | ||||||
| <div><b>Email:</b></div> | ||||||
| <label for="name"> | ||||||
| <div><b>Your full name</b></div> | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
for consistency (e.g. |
||||||
| <input id="name" type="text" required name="name"> | ||||||
| </label> | ||||||
| <label for="email"> | ||||||
| <div><b>Email</b></div> | ||||||
| <input id="email" type="email" required name="email"> | ||||||
| </label> | ||||||
| <label class="marg-b-3" for="name"> | ||||||
| <div><b>Name:</b></div> | ||||||
| <input id="name" type="text" required name="name"> | ||||||
| <label for="social"> | ||||||
| <div><b>Social media link #1</b></div> | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
accessibility nitpick: placeholders should not contain explanations of the form input
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Having read the a11y documentation, I don't think it applies here. If the placeholders were completely removed the labels would still provide adequate instructions. Optional fields are listed as option within label, and not within placeholder for example. When users submit they will get more specific validation (missing fields, nothing beyond that)
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see two possibilities:
|
||||||
| <input placeholder="LinkedIn, Bluesky, Twitter, etc.." id="social" required type="text" name="social_media_1" title="enter a valid url"> | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/url Placeholder can also be removed if it's too ugly |
||||||
| <div><b>Social media link #2</b></div> | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. accessibility: we probably want a separate |
||||||
| <input placeholder="GitHub, Instagram, Blog etc.." type="text" required name="social_media_2" title="enter a valid url"> | ||||||
| </label> | ||||||
| <label class="marg-b-3" for="social"> | ||||||
| <div class="marg-b-2"> | ||||||
| <b>Please provide two links to your social media.</b> | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would add back some of the explanation for why we want social media links, it was helpful when I filled the form out myself
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would collapsible text like in the conference values be a middle ground or do you think the extended text-version is the best way to go?
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +1 we need to keep some of this explanation. Could be simplified a bit, like: "We use these links to validate that you meet the membership requirements for our Slack, such as not being a manager. LinkedIn or similar is preferred." An info icon with hovertext or collapsible text seems fine to me.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd avoid hovertext for accessibility/usability reasons |
||||||
| <div>We need a way to validate that you meet the membership requirements laid out <a href="/community-guide#membership">here</a>. Linkedin is preferred, but anything that allows us to verify that you are not a manager, journalist etc is acceptable.</div> | ||||||
| </div> | ||||||
| <input placeholder="LinkedIn, Twitter, etc" id="social" required type="text" name="social_media_1" title="enter a valid url"> | ||||||
| <input placeholder="GitHub, Instagram, Blog" type="text" required name="social_media_2" title="enter a valid url"> | ||||||
| </label> | ||||||
| <label class="marg-b-3" for="company_name"> | ||||||
| <div><b>Company Name</b></div> | ||||||
| <div class="marg-b-2">Including a company name helps us vet you.</div> | ||||||
| <label for="company_name"> | ||||||
| <div><b>Your employer</b></div> | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
wording suggestion I would also add back the explanation as to why this is needed
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Might also say "(if employed)" or similar since we get a decent number of currently unemployed people. I feel fine about removing the explanation here but ok either way. |
||||||
| <input id="company_name" type="text" name="company_name" required> | ||||||
| </label> | ||||||
| <label class="marg-b-3" for="human-referrer"> | ||||||
| <div><b>How Did You Hear About Us?</b> (optional):</div> | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would really like to keep the referral field if we can, this data is very useful and interesting IMO. For example lately we could see the impacts of Cory Doctorow's recent book, the SOLARPUNKS Discord, TWC showing up in ChatGPT, etc. I believe we're standing up some kind of Growth group, right? I imagine they will be extremely interested in this data. |
||||||
| <div class="marg-b-2">Including a referrer from an existing member can be a good way to get in the slack if you lack a social media presence. Also, please be specific! If you found us on search, don't just say "Google" (it's unclear if you mean the company or the search engine).</div> | ||||||
| <label for="human-referrer"> | ||||||
| <div><b>How can we support your personal goals?</b> (optional):</div> | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this doesn't seem to match the
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree with you here, but there's too many things to change on back end namely Slack integrations, but we can make a note of this
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm just making sure this ends up somewhere sensible in the backend (which I can't see myself lol) and that this is intentional |
||||||
| <input id="human-referrer" type="text" name="human-referrer"> | ||||||
| </label> | ||||||
| <label class="marg-b-3" for="nearby-chapter"> | ||||||
| <div><b>Do you live or work near an existing chapter?</b> (optional):</div> | ||||||
| <div class="marg-b-2">This helps us connect you with local organizing efforts. If there isn't already a chapter in your area, we'd love to chat with you about starting one!</div> | ||||||
| <select id="nearby-chapter" name="nearby-chapter"> | ||||||
| <option value="">Select a chapter</option> | ||||||
| <option value="want-to-start">I want to help start a chapter</option> | ||||||
|
|
@@ -53,7 +50,7 @@ Our Slack is governed by the principles and rules in our [Community Guide](/comm | |||||
| </label> | ||||||
| <label class="marg-b-3" for="outreach"> | ||||||
| <input id="outreach" type="checkbox" name="outreach" value="wants-outreach" style="margin-right: 8px;"> | ||||||
| <b>Are you interested in 1:1 outreach from someone in TWC?</b> (optional) | ||||||
| <b>Do you want 1:1 outreach with someone in TWC?</b> (optional) | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
just a wording suggestion |
||||||
| </label> | ||||||
| <input type="submit" value="Submit"> | ||||||
| </form> | ||||||

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.
don't think this does anything