-
-
Notifications
You must be signed in to change notification settings - Fork 828
fix set password & email flow possible to get stuck and onBlur murdering your email #1982
Conversation
Looks plausible. Assigning @lukebarnard1 to make sure the change to the dispatch is sensible here. |
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.
GH claims that ChatCreateOrReuseDialog.js
is changed in this PR and sprouts a strange error when commenting on that particular part of the diff. Not sure why.
Looks better than before, if anything 👍 |
huh I'm not sure why the |
Given the changes do not match the commit messages, it'd be best. |
Signed-off-by: Michael Telatynski <[email protected]>
Signed-off-by: Michael Telatynski <[email protected]>
Signed-off-by: Michael Telatynski <[email protected]>
b18ed6e
to
9109d5b
Compare
I redid the commits with basically the same content |
(github's diff was a little weird, tried to unstick it) |
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.
There are still some unrelated functional changes in this PR.
@@ -169,15 +175,15 @@ export default class ChatCreateOrReuseDialog extends React.Component { | |||
</p> | |||
{ profile } | |||
</div> | |||
<DialogButtons primaryButton={_t('Start Chatting')} | |||
onPrimaryButtonClick={this.props.onNewDMClick} focus="true" /> | |||
<DialogButtons primaryButton={_t('Start Chatting')} onCancel={this.onCancel} |
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.
This is a functional change, not delint.
4629292
to
f2e4e51
Compare
@lukebarnard1 fixed that for you |
if you refresh your browser after the SetPassword dialog, whilst in the SetEmail dialog, your password will have been changed but the NagBar will still nag you to change your password and fail every time because the password it remembers is now wrong.
and onBlur of the EditableText murdering the email you have input
Fixes element-hq/element-web#6366