-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[GH-15620] Migrated string refs in signup_email #6602
[GH-15620] Migrated string refs in signup_email #6602
Conversation
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.
@varunks99 - thanks for you contribution!
Please run npm run fix
to address linting issues.
this.email = React.createRef(); | ||
this.name = React.createRef(); | ||
this.password = React.createRef(); |
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.
Please rename to 'emailRef', 'nameRef', etc
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.
@reflog, I renamed the refs and fixed the linting issues.
9657da8
to
11b0c5e
Compare
Renamed refs Fixed linting issue
11b0c5e
to
f2d9fd8
Compare
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.
💯 Thanks, looking good!
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.
LGTM
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.
Thank you @varunks99
Tested, looks good to merge.
- Verified email sign-up works es expected.
Test server destroyed |
@reflog, If this looks good to you, would you mind merging? Thanks! |
Done |
…o MM-20462 * 'master' of github.com:Tak-Iwamoto/mattermost-webapp: [MM-22161] - Improve accessibility of channel switcher (mattermost#6199) [MM-20460] Migrate 'components/permissions_gates/channel_permission_gate' module and associated tests to TypeScript (mattermost#6601) [GH-15724] Remove usage of findDOMNode from Create Team screens (mattermost#6621) [MM-29302] Billing Summary Card - No Billing History case (mattermost#6639) /files should target=_blank (mattermost#6616) MM T134 visual verification of tooltips (mattermost#6604) MM-24812 Add e2e tests for adding reactions to existing reactions in archived channel posts (mattermost#6579) [MM-20490] Migrate 'components/post_view/combined_user_activity_post' module and associated tests to TypeScript (mattermost#6632) MM-24810 Add e2e for reactions for archived channel posts (mattermost#6562) [MM-28965] - Prevent link overlap in channel header (mattermost#6546) MM-28780: Migrate dotMenu string refs to functional ones (mattermost#6592) Cypress/E2E: Fix archived channel specs (mattermost#6617) Fixed cypress env for PostgreSQL connection (mattermost#6627) Migrate post_list_row component to typescript (mattermost#6593) Cypress/E2E: Fix managing bot accounts spec (mattermost#6614) Cypress/E2E: Stabilize profile popover spec (mattermost#6612) Migrated string refs in signup_email (mattermost#6602) Renaming diagnostics-to-telemetry (mattermost#5741)
Renamed refs Fixed linting issue
Renamed refs Fixed linting issue
Summary
This pull request migrates all string-refs in ./components/signup/signupemail/signupemail.jsx to functional ones using the
createRef
API.Ticket Link
https://mattermost.atlassian.net/browse/MM-29085
This fixes mattermost/mattermost#15620.