[TS migration] Migrate 'SettingsSecurity2FA' page to TypeScript#35359
[TS migration] Migrate 'SettingsSecurity2FA' page to TypeScript#35359puneetlath merged 24 commits intoExpensify:mainfrom
Conversation
src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthForm/BaseTwoFactorAuthForm.tsx
Outdated
Show resolved
Hide resolved
|
gentle bump @ntdiary :) |
Ah, sorry, I took a day off yesterday and will review the PR within 24 hours. |
|
no worries, take your time :) |
|
still under review. |
src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthPropTypes.tsx
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/StepWrapper/StepWrapper.tsx
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/StepWrapper/StepWrapper.tsx
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/StepWrapper/StepWrapperPropTypes.tsx
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/StepWrapper/StepWrapperPropTypes.tsx
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthForm/BaseTwoFactorAuthForm.tsx
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthForm/index.android.tsx
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthForm/index.android.tsx
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthSteps.tsx
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthSteps.tsx
Outdated
Show resolved
Hide resolved
|
Hi, @GandalfGwaihir, can you please make improvements based on the above comments? :) |
|
hello @ntdiary , yes it’s on my calendar, will do later today :) |
|
Can you allow 6 awaiting flows please, it would be better if i get to run tests again those before merging :) @ntdiary @kubabutkiewicz Also i commented on some reviews, please find time to address them as well :) |
src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthPropTypes.tsx
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthForm/BaseTwoFactorAuthForm.tsx
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthForm/index.android.tsx
Outdated
Show resolved
Hide resolved
ntdiary
left a comment
There was a problem hiding this comment.
The review will continue tomorrow. :)
src/pages/settings/Security/TwoFactorAuth/StepWrapper/StepWrapper.tsx
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthSteps.tsx
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthSteps.tsx
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthPropTypes.tsx
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/Steps/SuccessStep.tsx
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/Steps/SuccessStep.tsx
Outdated
Show resolved
Hide resolved
|
sorry didn't find time today, will address the suggested changes tomorrow :) |
|
bump @ntdiary for final review :) |
|
Will review soon. :) |
src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthForm/types.ts
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthForm/types.ts
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthForm/BaseTwoFactorAuthForm.tsx
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthForm/BaseTwoFactorAuthForm.tsx
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthForm/BaseTwoFactorAuthForm.tsx
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthSteps.tsx
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthStepProps.ts
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/StepWrapper/StepWrapper.tsx
Outdated
Show resolved
Hide resolved
|
@ntdiary , implemented all the suggested changes and tested with the latest code, thanks for all your patience, can you check off the checklist from your side :) Also thanks @kubabutkiewicz for all your suggestions :) |
Reviewer Checklist
Screenshots/VideosAndroid: Native35359-android-native.mp4Android: mWeb Chrome35359-android-chrome.mp4iOS: Native35359-ios-native.mp4iOS: mWeb Safari35359-ios-safari.mp4MacOS: Chrome / Safari35359-web.mp4MacOS: Desktop35359-desktop.mp4 |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/puneetlath in version: 1.4.48-0 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.4.48-0 🚀
|
Details
This is a typescript migration issue, the file was migrated from
jstotsxFixed Issues
$ #25219
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
iOS: mWeb Safari
WhatsApp.Video.2024-02-02.at.6.10.26.PM.mp4
iOS: Native
issueIOS.mp4
Android: Native
Android: mWeb Chrome
MacOS: Chrome / Safari
issueDesktop.mp4
MacOS: Desktop
issue.mp4