-
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
[HOLD for payment 2024-06-28] [$250] [MEDIUM] Debugability: Add a keyboard shortcut to open "four finger tap" debug screen on desktop #43256
Comments
Auto-assigning issues to engineers is no longer supported. If you think this issue should receive engineering attention, please raise it in #whatsnext. |
Only client side logging is currently supported on web and desktop natively right now, so the menu options should reflect that. |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
Job added to Upwork: https://www.upwork.com/jobs/~01b24a23b8f2770a3b |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jayeshmangwani ( |
Overall @dominictb's Proposal looks good to me. We can move forward with it and Disabling the Client side logging option for platforms other than web and desktop can be discussed in the PR. @muttmuure What shortcut key should we use for opening the debug screen? CMD + D? 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @Julesssss, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
CMD + D seems good 👍 |
📣 @dominictb 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@dominictb as one additional change, could you add the shortcut to the Keyboard shortcut list under ![]() |
The new debug shortcut will be displayed on the KeyboardShortcutsPage. As short cut data comes from the CONST.KEYBOARD_SHORTCUTS and we will define the new debug shortcutKey under KEYBOARD_SHORTCUTS |
Oh nice |
Got it, that's v helpful, thanks! Yeah we could either do |
Thanks. Agree that 'Open testing preferences dialog' aligns better with the other option. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.85-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-06-28. 🎊 For reference, here are some details about the assignees on this issue:
|
Regression Test Proposal
Do we agree 👍 or 👎 |
Issue is ready for payment but no BZ is assigned. @kevinksullivan you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks! |
@LLPeckham, @Julesssss, @kevinksullivan, @jayeshmangwani, @dominictb Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Summary:
|
Requested $250 on NewDot |
$250 approved for @jayeshmangwani |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
What performance issue do we need to solve?
e.g. memory consumption, storage read/write times, React native bridge concerns, inefficient React component rendering, etc.
When debugging mobile when you are attempting to retrieve client-side logs, you can isolate the logs with the highest context and least noise by using the four-finger tap gesture and enabling at the very moment you need to.
There is no such method of isolating these logs immediately on web and desktop, which means to gather important logs you need to navigate to the Troubleshoot menu and add a bunch of noise and by navigating through the stack add another command which resolves the problematic command you wanted to debug in the first place.
What is the impact of this on end-users?
List specific user experiences that will be improved by solving this problem e.g. app boot time, time to for some interaction to complete, etc.
This will allow our internal team to debug web issues with the same precision and reliability as mobile.
List any benchmarks that show the severity of the issue
Please also provide exact steps taken to collect metrics above if any so we can independently verify the results.
N/A
Proposed solution (if any)
Please list out the steps you think we should take to solve this issue.
Add a keyboard shortcut that opens the debug page like we have on mobile:
List any benchmarks after implementing the changes to show impacts of the proposed solution (if any)
Note: These should be the same as the benchmarks collected before any changes.
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number:
Reproducible in staging?:
Reproducible in production?:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
View all open jobs on Upwork
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @jayeshmangwaniThe text was updated successfully, but these errors were encountered: