-
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-01-31] [HOLD for payment 2024-01-24] [$500] Feature Request: Three-finger swipe to go back and forward doesn't work on desktop #33435
Comments
Triggered auto assignment to @mallenexpensify ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Feature Request: Three-finger swipe to go back and forward doesn't work on desktop What is the root cause of that problem?Feature request. What changes do you think we should make in order to solve the problem?Electron now supports browserWindow.on('swipe', (e, direction) => {
if (direction === 'right') {
browserWindow.webContents.goBack();
}
if (direction === 'left') {
browserWindow.webContents.goForward();
}
}); However, as already highlighted in the documentation, in order for
What alternative solutions did you explore? (Optional)NA |
@mallenexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@mallenexpensify Eep! 4 days overdue now. Issues have feelings too... |
@mallenexpensify 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@mallenexpensify 10 days overdue. Is anyone even seeing these? Hello? |
Job added to Upwork: https://www.upwork.com/jobs/~01fce9f35e954f949c |
Triggered auto assignment to Contributor Plus for review of internal employee PR - @shubham1206agra ( |
A lil unsure what to do here. Our concept of navigation is weird. We don't have back/forward buttons on Desktop and @shubham1206agra , what do you think we should do? |
I think we should not do anything for swipe gesture as this is browser specific feature (only safari supports this). |
This works on all browsers. I've tried and it worked fine on Desktop. |
|
Tbh I don't think anybody will use swiping (that too 3 finger). |
I myself use it everyday (2-finger swipe) 😂 @rafecolton reported this so I think he uses it regularly as well. |
Yes, 2 finger-swipe, i.e., the default setting. |
I use it every day. It is supported by default in every browser I've used and on other desktop apps like Slack. |
Thanks all for the feedback! For Desktop, it the fix as simple as and, for PC, is there anything we want to do now, so that if/when we build a PC Desktop app, we also default to any forward/back navigation in settings there? |
Was just testing swiping on new.expensify.com in Chrome and wasn't able to use my default 'swipe two fingers' to go forward/back, so the issue might not only be related to Desktop |
@mallenexpensify You should set the |
I don't think that's right @gijoe0295 - it should work with whatever gesture is set up in the system settings |
@rafecolton Slack doesn't allow the same either. |
Hm, interesting. I tried changing the settings to two or three fingers, and three fingers still works in slack, but two fingers does not. However, after changing it, two finger swipe does work in browsers. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.30-1 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-01-31. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
|
Yep, seems to be working as expected now |
@shubham1206agra can you please accept the job and reply here once you have? @gijoe0295 , please confirm your name in Upwork so I can ensure I'm paying the right person? |
BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
Steps on Desktop only
|
Offer accepted. |
Noticed a possible regression, though I'm not 100% sure it's related - https://expensify.slack.com/archives/C049HHMV9SM/p1706724719541289 |
Not sure how this is related to our change. But will look into this. |
Not sure if it's related mechanically, only flagged it because it's related conceptually. So appreciate you checking it out.
I cannot, I don't know what they all are 😄 Off the top of my head, there should be three-finger swipe, cmd + left/right arrow, and cmd + square bracket. |
I confirmed this. And this is not related to desktop only. This is also a problem with web too. And github and slack does the navigation on cmd + left/right arrow on web too. So this is not a regression from this issue. cc @rafecolton |
i do not have access to the channel. Can you describe the issue? |
@gijoe0295 not sure what you are referring to, there is no channel in question here. Are you sure this is the issue you meant to comment on? @shubham1206agra thanks for checking. I don't know enough to say if it's a regression from this issue. Did you identify where the issue occurred? You are not quite correct about this not working on web. It works IF you are not focused on an input field. If you're in an input field, it goes to the beginning and end of the line. But if you click out of the input field, it still works in the browser because the browser supports back and forward using cmd + arrows. On desktop, it does not work at all. |
@rafecolton You linked the issue description here which is an internal Slack channel that contributors do not have access. So I did not know the issue and thus cannot investigate the root cause. |
Ah, that's just where I posted the concern in our bug-tracking channel, there's no new information there that does not appear in this GH |
Just confirming that I tested locally as well, and removing the code added in the PRs here did not fix cmd + arrows navigation. |
Thanks @amyevans, I updated the Slack thread to let everybody know it's a separate issue |
@mallenexpensify we're good for payment. |
Contributor: @gijoe0295 paid $500 via Upwork @gijoe0295 if you'd like to join the Slack channel, details are here I created the TestRail update steps |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number:
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @rafecolton
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1703008037476039
Action Performed:
Expected Result:
Navigates back and forward like in the browser or when using cmd + [ or cmd + ]
Actual Result:
Does nothing
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: