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

Update password reset email look #8

Merged
merged 6 commits into from
Dec 21, 2019

Conversation

KristopherPaulsen
Copy link
Contributor

@KristopherPaulsen KristopherPaulsen commented Dec 20, 2019

Testing:

  1. Password-reset page elements should be vertically-horizontally centered, even after reseting password
    (it was jumping around prior to this, eek!)

  2. Login page should also be vertically / horizontally centered, and unaffected by this change

  3. Emails should continue to be sent to the appropriate email address on password reset,
    but now with better markup and copy.

Notes

I'm also moving around a couple things in the stores category. I'd really like stores that are basically our "svelte redux equivalent" or global app state to live in a specific folder, and obviously marked as global state. Otherwise all other stores are just objects and should live with everything else. Then, I could eventually create tooling to make it really easy for us to inspect the state of our app.

@@ -8,13 +8,21 @@ export const emailPasswordReset = ({
}) => email({
to,
from: '[email protected]',
subject: 'Password reset request',
subject: '[TurningPointTales] Please reset your password',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@krwenholz
@cody-h2wib

Want your opinion on the markup / copy here, and if there's anything
you'd word differently. I based this on a generalized group of reset password emails
from a couple sites.

Copy link
Owner

Choose a reason for hiding this comment

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

[nit] I'd say TurningPointTales: for a subject.

}
</style>

<Form className="password-reset">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll have to look into this later, but svelte does NOT like you doing this.
This is a react pattern that might not work the way I think it does in svelte.
It basically wipes away all the auto-generated classes on the element (which was causing this element to bounce around once you typed text).

Copy link
Owner

Choose a reason for hiding this comment

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

Ruh roh.....

Copy link
Owner

@krwenholz krwenholz left a comment

Choose a reason for hiding this comment

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

A few copy nits. Otherwise nothing objectionable!

@@ -8,13 +8,21 @@ export const emailPasswordReset = ({
}) => email({
to,
from: '[email protected]',
subject: 'Password reset request',
subject: '[TurningPointTales] Please reset your password',
Copy link
Owner

Choose a reason for hiding this comment

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

[nit] I'd say TurningPointTales: for a subject.

You forgot your password, didn't you? A tale as old as time.<br/>
We're won't hold it against you. Forgive and forget.<br/>
Copy link
Owner

Choose a reason for hiding this comment

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

s/'re//
s/Forgive and forget.// (too lengthy with everything else)

}
</style>

<Form className="password-reset">
Copy link
Owner

Choose a reason for hiding this comment

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

Ruh roh.....

@KristopherPaulsen KristopherPaulsen merged commit 7c76fa8 into master Dec 21, 2019
@KristopherPaulsen KristopherPaulsen deleted the update-password-reset-email-look-squashed branch December 21, 2019 14:29
krwenholz pushed a commit that referenced this pull request Jul 17, 2023
* renaming and password reset fix

* wrapping element for simpler resizing

* give the user a route back to signin

* tests for victory

* Thats just a helper script

* Speeling fixes
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.

2 participants