-
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
[hold for payment 2024-10-08] [$250] Web - Debug - RHP tabs can be swiped #49483
Comments
Triggered auto assignment to @joekaufmanexpensify ( |
Triggered auto assignment to @MarioExpensify ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Edited by proposal-police: This proposal was edited at 2024-09-19 19:01:04 UTC. ProposalPR - #45481 I would not say it's regression but a missing case/observation while implementing the feature. Please re-state the problem that we are trying to solve in this issue.Web - Debug - RHP tabs can be swiped What is the root cause of that problem?This is default behaviour for tab navigation (check on submit expense view) where we can change between amount, bill and distance by swiping with mouse. What changes do you think we should make in order to solve the problem?We can pass the App/src/pages/Debug/ReportAction/DebugReportActionPage.tsx Lines 54 to 67 in 98dc643
as - options={{swipeEnabled: false}} Based on design team we can add this value based on device (phone or desktop). Screen.Recording.2024-09-20.at.12.26.45.AM.movIf we want to change other pages where we use tab navigator we can update there as well What alternative solutions did you explore? (Optional) |
Demoting as it's a debug feature |
Job added to Upwork: https://www.upwork.com/jobs/~021836846411247309742 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @brunovjk ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Current implementation of What is the root cause of that problem?The What changes do you think we should make in order to solve the problem?
screenOptions={{
...defaultScreenOptions,
swipeEnabled: false,
}} This change will allow us to control whether users can swipe between tabs or not, based on specific use cases. What alternative solutions did you explore? (Optional) |
Updated proposal with proof of work:- Before - Recording.2024-09-20.Before.mp4After code change- Recording.2024-09-20.023122.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Debug - RHP tabs can be swiped What is the root cause of that problem?
App/src/pages/Debug/DebugDetails.tsx Lines 150 to 221 in 25450d9
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)Result |
Hey everyone, I've tested all of the proposals thoroughly, and here are my findings:
Screen.Recording.2024-09-20.at.12.22.11.movFeel free to reach out if you have any ideas or suggestions! Let’s smash this bug together! 💪 |
@brunovjk, we can wrap the text in a view and apply the same logic as below.
|
Great @Krishna2323 can you include that in your proposal? I'll get back to you soon. Thanks!! |
can we |
@brunovjk, proposal updated. |
@1subodhpathak Perhaps, but as we use I think we can go with @Krishna2323's proposal. It’s important to ensure this fix is applied consistently across all tab pages to prevent similar issues. 🎀👀🎀 C+ reviewed |
Current assignee @MarioExpensify is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
1 similar comment
Current assignee @MarioExpensify is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
@MarioExpensify Do you think you'll have a chance to sign off on this proposal soon? |
📣 @brunovjk 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @Krishna2323 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@Krishna2323 sounds good, thank you and thanks @brunovjk! Waiting for the PR on this one. |
@Krishna2323 is there an ETA for PR here? |
Will raise PR within 24 hours. |
Hmmm, I agree the behavior in the bug report is a bit odd, but are we sure it is not intended? This same behavior exists on the submit expense RHP, create chat RHP, and track expense RHP. Or was this a bug introduced at the same time for all of them? |
@joekaufmanexpensify from testing this, it seems the major issue is on browsers, when trying to select text to copy with the mouse you end up switching tabs. |
TY! |
Regression Test Proposal:
Do we agree 👍 or 👎? |
TY! Given this is an internal debugging tool rather than something that impacts customers, I don't think we need a regression test that's run every time here. But other than that, looks good. |
All set for payment tomorrow! We need to pay:
|
@brunovjk $250 sent and contract ended! |
@Krishna2323 $250 sent and contract ended! |
Upwork job closed. |
All set, thanks everyone! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.38.0
Reproducible in staging?: Y
Reproducible in production?: N/A - new feature, doesn't exist in prod
Issue was found when executing this PR: #45481
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
The opened tab should not be changed
Actual Result:
It swipes to the next tab
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6608974_1726758147798.Recording__801.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @brunovjkThe text was updated successfully, but these errors were encountered: