-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[MM-20550] Convert email notification setting to typescript #5199
Conversation
I temporarily set |
…tting' module and associated tests to TypeScript
NVM @agnivade, GH played tricks on me |
/update-branch |
@hiendinhngoc Looks like the type on |
…into MM-20550 Update remote
/update-branch |
@hiendinhngoc The fix has been merged, and I've updated the branch for you.
|
Update newest code
@devinbinnie I updated, pls check |
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.
Looks good overall, just a couple comments.
components/user_settings/notifications/email_notification_setting/index.ts
Outdated
Show resolved
Hide resolved
components/user_settings/notifications/email_notification_setting/index.ts
Outdated
Show resolved
Hide resolved
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.
Looking good now, thanks @hiendinhngoc!
...onents/user_settings/notifications/email_notification_setting/email_notification_setting.tsx
Outdated
Show resolved
Hide resolved
Removing the test server for maintenance purposes. Please add the label again if you need it. Sorry for any inconvenience. |
@DHaussermann hi, I updated the code to fix the issue, please check it when you have time, thanks. |
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.
Tested and passed
- Issue mentioned above is resolved
- Briefly regression tested this product area
- As a precaution I made sure the never / immediately setting still works as expected based on which option is selected
LGTM!
No need for any updates to release tests.
Re-requested a dev review for last commit. Will test again if there are any further changes needed.
Well done @hiendinhngoc! Huge thanks for your continued effort on this. Much appreciated.
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 @hiendinhngoc, this is working well now. Appreciate your dedication and hard work :)
Test server destroyed |
1 similar comment
Test server destroyed |
* Convert email notification setting to ts * Convert 'components/user_settings/notifications/email_notification_setting' module and associated tests to TypeScript * Update enableEmailBatching type * Update snapshots testing failure * Minor update * Update test cases, savePreferences' parameter type * Minor update * Remove unused variable * Fix cannot change notification status(update enableEmail's type) Co-authored-by: mattermod <[email protected]>
Summary
Migrate 'components/user_settings/notifications/email_notification_setting' module and associated tests to TypeScript
Ticket Link
Fixes mattermost/mattermost#13691
JIRA: https://mattermost.atlassian.net/browse/MM-20550