-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Convert user_access_token_section to TypeScript #6432
Conversation
I got an error at line 50 in error: |
Thanks for the catch! I'll make a change to redux and get that fixed. |
@hiendinhngoc The fix is in, you'll just need to update the |
@devinbinnie thank you, I updated in my side by entering the version to |
@hiendinhngoc CircleCI uses the copy of |
@devinbinnie It seems an update for mattermost-redux at previous commit which caused type check error when I changed to |
@hiendinhngoc I guess you'll have to update the files to the latest commit then, see here: mattermost/mattermost-redux@6fdb466 |
This PR has been automatically labelled "stale" because it hasn't had recent activity. /cc @jasonblais @jfrerich |
Hi @hiendinhngoc, did you have questions on how to update the files to the latest commit: mattermost/mattermost-redux@6fdb466 If any, let us know! Happy to help :) |
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 @hiendinhngoc, thanks for the contribution!
Just had a couple comments.
components/user_settings/security/user_access_token_section/user_access_token_section.tsx
Outdated
Show resolved
Hide resolved
/update-branch |
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! Thanks @hiendinhngoc!
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 for the work on this, @hiendinhngoc. I have a couple suggestions for things to change, but they're just tightening up the type definitions slightly.
components/user_settings/security/user_access_token_section/index.ts
Outdated
Show resolved
Hide resolved
components/user_settings/security/user_access_token_section/user_access_token_section.tsx
Outdated
Show resolved
Hide resolved
components/user_settings/security/user_access_token_section/user_access_token_section.tsx
Outdated
Show resolved
Hide resolved
Update the latest code
…dex.ts Co-authored-by: Harrison Healey <[email protected]>
…er_access_token_section.tsx Co-authored-by: Harrison Healey <[email protected]>
…er_access_token_section.tsx Co-authored-by: Harrison Healey <[email protected]>
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! This is good for QA review then
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 @hiendinhngoc
Tested, looks good to merge.
- Verified Personal Access Tokens section in Account Settings>Security. Able to create, deactivate, delete - as expected.
@devinbinnie Can you please help merge? Thanks. 🙂
Test server destroyed |
Summary
Migrate 'components/user_settings/security/user_access_token_section' module and associated tests to TypeScript
Ticket Link
Fixes mattermost/mattermost#13693
JIRA: https://mattermost.atlassian.net/browse/MM-20548