-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
fix: Web - IOU - Swiping with the mouse causes text to be selected and tabs quickly switching. #48004
fix: Web - IOU - Swiping with the mouse causes text to be selected and tabs quickly switching. #48004
Conversation
…d tabs quickly switching. Signed-off-by: krishna2323 <belivethatkg@gmail.com>
@ZhenjaHorbach 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] |
Sorry for delay, I need a bit more time as I see the header button text still gets selected when dragging. I'm trying to find a solution for that and will update very soon. |
What is the status PR? |
Will be completed today. |
@ZhenjaHorbach, the drag isn't working correctly for some reason, can you please check as your end? Monosnap.screencast.2024-08-30.08-53-23.mp4 |
Oh yeah |
Looks like problem with this changes |
@Krishna2323 |
Thanks @ZhenjaHorbach, I will start working on this today. |
@ZhenjaHorbach I couldn't find any solution for the header text selection but I think it's an edge case so we can ignore that as it only happens if drag all the way to the backdrop. Could you please test and let me know what do you think? I will add the recordings after that. Thanks 🙏🏻 |
Could you provide a video ? |
Monosnap.screencast.2024-09-01.10-59-38.mp4 |
Yeah |
Actually I noticed that this problem is relevant for all modal windows 2024-09-03.12.55.48.movSo let's fix in this PR only our issue |
@ZhenjaHorbach, haha thanks😅, can you please test this out once when you have a chance? I want to make sure everything works fine before I add the videos. I have already tested it at my end. If you think I should add the videos first then let me know. |
Just checked |
@ZhenjaHorbach, checklist completed. |
@Krishna2323 https://github.com/Expensify/App/actions/runs/10695658792/job/29649445346?pr=48004 |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromeandroid-web.moviOS: Nativeios.moviOS: mWeb Safariios-web.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
I was unable to understand the React Compiler issue yesterday, will check again today... |
Although everything is fine
We can ignore got MemberExpression key in ObjectExpression issue following this comment |
LGTM |
@ZhenjaHorbach, do we need to do something? I'm not in the channel so I couldn't open the link. |
Thanks for sharing, I don't have access to any channel 😅 |
This PR looks good to me but is failing the react compiler test for some reason. The error message seems unclear. @kirillzyusko am I missing a more detailed description? All I see is "Some files could be compiled with react-compiler before successfully, but now they can not be compiled." |
Currently, the only way to get more details is by running the following command locally
And then find the files with changes in react-compiler-output.txt |
@stitesExpensify yeah, the error message is not very informative, but it gives enough information for developer who opened a PR (it just contains a filename which file can not be compiled anymore). We may consider an option to add a specific errors that prevents successful compilation of a particular file. Let me know if you would like to add it! Regarding this PR - this error can not be fixed due to unsupported syntax, I think it'll be fixed in future versions of |
I agree that we can ignore this error for now ! |
@stitesExpensify looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
Not an emergency, this test could not pass due to unsupported syntax #48004 (comment) |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
About this In the video we just drag a tab content and tab switches periodically #26407 And also in video when we switched tabs, all the text on the modal was selected But I may be wrong 😅 |
@stitesExpensify |
I think that you are correct here @ZhenjaHorbach. No further action necessary |
Details
Fixed Issues
$ #47651
PROPOSAL: #47651 (comment)
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 methodSTYLE.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 and/or tagged@Expensify/design
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.mp4
Android: mWeb Chrome
android_chrome.mp4
iOS: Native
ios_native.mp4
iOS: mWeb Safari
ios_safari.mp4
MacOS: Chrome / Safari
web_chrome.mp4
MacOS: Desktop
desktop_app.mp4