[TS migration] Migrate 'SettingsProfileDetails' page to TypeScript#35307
Conversation
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
src/pages/settings/Profile/PersonalDetails/PersonalDetailsInitialPage.tsx
Outdated
Show resolved
Hide resolved
…s-migration/SettingsProfileDetails
…s-migration/SettingsProfileDetails
…s-migration/SettingsProfileDetails
src/pages/settings/Profile/PersonalDetails/CountrySelectionPage.tsx
Outdated
Show resolved
Hide resolved
src/types/onyx/OnyxCommon.ts
Outdated
| type Error = string | MaybePhraseKey; | ||
|
|
||
| type Errors = Record<string, Error | null>; |
There was a problem hiding this comment.
What's the reason of this change? Let's be careful because Errors is a type used in many files
There was a problem hiding this comment.
Its because for example of this
App/src/pages/settings/Profile/PersonalDetails/LegalNamePage.js
Lines 65 to 67 in f697c89
here we are not adding just string but this MaybePhraseKey
…s-migration/SettingsProfileDetails
…s-migration/SettingsProfileDetails
…s-migration/SettingsProfileDetails
|
@kubabutkiewicz please fix conflict |
|
@situchan Comments are resolved and conflicts are fixed, you can recheck 😄 |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromemchrome.moviOS: Nativeios.moviOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
|
Please also update QA Steps
|
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #25214 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
|
@kubabutkiewicz there's conflict |
…s-migration/SettingsProfileDetails
|
@situchan conflicts resolved 😄 |
|
@tylerkaraszewski all yours |
|
There are conflicts again. |
…s-migration/SettingsProfileDetails
|
@tylerkaraszewski conflicts resolved |
|
@kubabutkiewicz job2 still failing |
|
will take a look at this today |
…s-migration/SettingsProfileDetails
|
I merged this, but it caused the failure here: I am going to revert this PR and let you re-create it kubabutkiewicz, sorry about the extra work, but you can look at the failure above and resolve that in the next iteration. |
|
We probably shouldn't have duplicate |
|
🚀 Deployed to staging by https://github.com/tylerkaraszewski in version: 1.4.44-0 🚀
|
|
will take a look soon on that |
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.44-13 🚀
|
Details
Fixed Issues
$ #25214
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
Android: Native
android.mp4
Android: mWeb Chrome
mchrome.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
msafari.mp4
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4