-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 'CategoryPicker' to TypeScript #36353
[TS Migration] Migrate 'CategoryPicker' to TypeScript #36353
Conversation
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.
Apart from onSubmit looks good, LGTM!
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.
One nitpick, but LGTM
@Santhosh-Sellavel 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] |
I can take over this issue as per https://expensify.slack.com/archives/C02NK2DQWUX/p1708107813288869 |
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.
Just comment so that it comes to my K2 for reference.
Will be working on review today. |
Reviewing now |
@mateuuszzzzz Can you kindly fix the merge conflicts? |
@abdulrahuman5196 I merged the main branch. Unfortunately, it looks like GitHub has a bug and still shows conflicts. |
@mateuuszzzzz The changes haven't merged with main completely, still there are 30+ commits in main. Could you pull the main locally and merge from main again? |
@abdulrahuman5196 I noticed some PRs from the master changed a significant part of logic. Probably I need to record new videos etc. So It might take a little bit longer than I expected |
Sure. Do let me know once done. I will re-review |
@abdulrahuman5196 ready |
@mateuuszzzzz Editing the category isn't working in this PR. But its working in staging. (I think it was not working in staging also a day back) Screen.Recording.2024-02-21.at.10.43.53.PM.mov |
@abdulrahuman5196 could you try one more time and do |
@mateuuszzzzz The previously mentioned issue is fixed now. But I see a different issue now. The selected row is not showing with tick mark while searching in the category picker. Screen.Recording.2024-02-24.at.9.26.15.PM.mov |
Could you let me know if you are sure this is not defined behavior? I checked how it works on the latest main branch and the selected row also won't show a check mark while searching. Perhaps this is bug from main branch |
It is working fine in staging Screen.Recording.2024-02-26.at.4.27.59.PM.movBut seems to not work in main. Seems someone broke it in main. |
@abdulrahuman5196 I can take a look at the root cause of this issue tomorrow. If it won't be very complicated I think we can resolve this in the current PR. What do you think? |
@mateuuszzzzz I am fine to even report it as a separate issue, since this is not caused by this PR. Anyways your call. |
@abdulrahuman5196 I checked it and I don't see a fast solution so let's report it as a separate issue 👍 |
Hi, @mateuuszzzzz Sorry, yesterday caught up in couple of blockers. Could you kindly fix the merge conflicts? I can take a look? |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-03-01.at.12.16.38.AM.mp4Android: mWeb ChromeScreen.Recording.2024-03-01.at.12.21.48.AM.mp4iOS: NativeScreen.Recording.2024-02-29.at.11.54.09.PM.mp4iOS: mWeb SafariScreen.Recording.2024-02-29.at.11.58.09.PM.mp4MacOS: Chrome / SafariScreen.Recording.2024-02-29.at.11.36.07.PM.mp4MacOS: DesktopScreen.Recording.2024-02-29.at.11.47.07.PM.mp4 |
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.
Changes looks good and works well. Reviewers checklist is also complete.
All yours.
🎀 👀 🎀
C+ Reviewed
We did not find an internal engineer to review this PR, trying to assign a random engineer to #31952 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
FYI: @blimpich is assigned for internal review. |
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.
One question, otherwise looks good 👍
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.
✋ 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/blimpich in version: 1.4.47-0 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.4.47-10 🚀
|
Details
Fixed Issues
$ #31952
PROPOSAL:
Tests
Offline tests
QA Steps
Same as Tests
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.webm
Android: mWeb Chrome
Android.mWeb.webm
iOS: Native
iOS.native.mp4
iOS: mWeb Safari
iOS.mWeb.mov
MacOS: Chrome / Safari
Desktop.browser.mov
MacOS: Desktop
Desktop.electron.mov