-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TS migration] Migrate 'Details' page to TypeScript #34811
[TS migration] Migrate 'Details' page to TypeScript #34811
Conversation
d94619c
to
6c84dbf
Compare
1593474
to
a55eb66
Compare
@@ -92,7 +92,6 @@ function ReportActionItemImage({thumbnail, image, enablePreviewModal = false, tr | |||
// @ts-expect-error TODO: Remove this once AttachmentModal (https://github.com/Expensify/App/issues/25130) is migrated to TypeScript. | |||
({show}) => ( | |||
<PressableWithoutFocus | |||
// @ts-expect-error TODO: Remove this once AttachmentModal (https://github.com/Expensify/App/issues/25130) is migrated to TypeScript. |
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.
Why this removal?
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.
ts throws an error with this comment
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.
minor comment, LGTM
a55eb66
to
92ffcfb
Compare
92ffcfb
to
9d96a8b
Compare
@eVoloshchak Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-02-13.at.23.37.49.movAndroid: mWeb ChromeScreen.Recording.2024-02-13.at.23.36.20.moviOS: NativeScreen.Recording.2024-02-13.at.23.35.56.moviOS: mWeb SafariScreen.Recording.2024-02-13.at.23.23.07.movMacOS: Chrome / SafariScreen.Recording.2024-02-13.at.23.22.36.movMacOS: DesktopScreen.Recording.2024-02-13.at.23.38.13.mov |
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
We did not find an internal engineer to review this PR, trying to assign a random engineer to #25196 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
Hey team, there's a Typescript error that occurred after I merged this PR. Possibly due to recent changes on main, as it looks like the commit was made about 1 week ago. |
Let's consider this small poem I wrote for this occasion:
You can try singing it too. |
Okey, it's GPT, but it took at least 3 iterations and I fixed some lines |
Thanks @cubuspl42. Yeah I'd love for recently merging main to be CI requirement. Unfortunately if we ask for this manually it can delay the PR by a day due to timezones 😞 |
Just messaged @pasyukevich, this should be a quick fix. Let's not revert it @Julesssss 🙏 |
Thanks, I fixed it myself to save time. |
I think you linked the wrong PR @Julesssss |
Ah thanks, It's merged now: #36474 |
🚀 Deployed to staging by https://github.com/Julesssss in version: 1.4.42-0 🚀
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.4.42-5 🚀
|
Details
Fixed Issues
$ #25196
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
android-native-converted.webm
Android: mWeb Chrome
android-web-converted.webm
iOS: Native
ios-native-converted.mp4
iOS: mWeb Safari
ios-web-converted.mp4
MacOS: Chrome / Safari
desktop-web-converted.mov
MacOS: Desktop
desktop-native-converted.mov