-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[HOLD for payment 2024-11-29] [$250] Update second Allow location access
modal on web
#50601
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
Comments
Triggered auto assignment to @Christinadobrzyn ( |
Edited by proposal-police: This proposal was edited at 2024-10-17 18:30:45 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
if so, the App/src/components/LocationPermissionModal/index.tsx Lines 22 to 36 in 4c90d62
What changes do you think we should make in order to solve the problem?
App/src/components/LocationPermissionModal/index.tsx Lines 22 to 36 in 4c90d62
What alternative solutions did you explore? (Optional)Solution for new design:
App/src/components/LocationPermissionModal/index.tsx Lines 38 to 49 in 4c90d62
and prompt:
to match the new design:
It is very straightforward:
|
@jamesdeanexpensify We don't want to display the pre-prompt but still display the native prompt on web, no? |
Yes, we would still show the native prompt on web. Thanks! |
Edited by proposal-police: This proposal was edited at 2024-10-15 11:18:52 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Remove "Allow location access" modal on web What is the root cause of that problem?Feature request What changes do you think we should make in order to solve the problem?New Solution according to expected results:
And update the <ConfirmModal
onConfirm={(hasError && isWeb) ? skipLocationPermission : grantLocationPermission}
shouldShowCancelButton={!(hasError && isWeb)} These changes are enough to match the expected results in this case |
@jamesdeanexpensify @Julesssss In my opinion, I don’t think we can fully hide the modal Previously, when the user clicked the submit button and the native prompt hadn’t been shown yet, we displayed the pre-prompt modal: If the user chose 'Continue,' but location permission wasn’t granted, the native prompt wouldn’t appear in the future. That's why, the next time, we display a modal to inform them that they need to manually enable location permission: So, the 2nd modal should not be hidden. |
@Julesssss, @Christinadobrzyn Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Thanks for the feedback @truph01! Sorry, just catching up here, can you confirm the difference you are proposing? I think it's that we only show the "Not Now"/"Got it" prompt on the web and not the pre-prompt? Is that right? |
Yes |
I think this makes sense - do you @Julesssss @jamesdeanexpensify? Do you think we need a consensus from the team about this? |
That seems to be what we agreed, but lets check in with James first. |
We're discussing this one internally and may recommend an alternative course of action. Stay tuned! |
Just for alignment purposes - by "native prompt" on web, are we all talking about the second screenshot here? |
Yes |
The video you attached is not being played, can you add another |
@jamesdeanexpensify this means that we only show the prompt on native devices right? |
Hmmm...that video is working for me. Here it is again: 2024-10-10_09-11-41.mp4And sorry, what do you mean by "only show the prompt on native devices"? |
|
Ah, that's super helpful! Bringing this back to the team to chat about next steps again. Thanks! |
OK, here is where we landed: On web only, for the second
2024-10-10_09-11-41.mp4 |
Allow location access
modal on web
Allow location access
modal on webAllow location access
modal on web
@jamesdeanexpensify so by only web we mean that there should be no change to the behaviour on native platforms right ? |
Allow location access
modal on webAllow location access
modal on web
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.65-5 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-11-29. 🎊 For reference, here are some details about the assignees on this issue:
|
@alitoshmatov @Christinadobrzyn @alitoshmatov The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
@Julesssss, @Christinadobrzyn, @alitoshmatov, @truph01 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal
Precondition:
Test:Test 1: For [Chrome]
![]()
![]()
![]()
Test 2: For [Safari]
![]()
![]()
![]()
Test 3: For Android/IOS app
![]()
![]()
![]()
Do we agree 👍 or 👎 |
sorry @alitoshmatov can you update the images above so they are visible? I can't seem to access them. |
@Christinadobrzyn Can you recheck it |
Thanks @alitoshmatov can you just check this - I tested again and the popup isn't showing at all.
2024-12-03_10-10-35.mp4 |
Just checking @alitoshmatov - can you review ^. The |
@Christinadobrzyn You have to upload a receipt not create a distance expanse |
Also there is this point to consider:
|
@alitoshmatov sorry can you provide more context on that point, as in, do you think we should discuss changing something with the team related to that cooldown period or are you just thinking how that should be documented in the regression test? |
@Christinadobrzyn I think you can change computer/phone's time manually on the settings to bypass 7 day cooldown. Just checked it and it works. Updated QA to show when they should change device's time with Forward time in settings step. |
Awaiting payment summary |
Thanks @alitoshmatov! Created a regression test with this information. It look like payment is through Upwork according to this payment summary.
Closing out as complete! |
Uh oh!
There was an error while loading. Please reload this page.
On web only, for the second
Allow location access
modal only (the one with theGot it
button):Got it
(see video below)Got it
button, the same button quickly flickers to sayContinue
(same video below)Not now
button entirely because it serves no purpose in this case2024-10-10_09-11-41.mp4
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @alitoshmatovThe text was updated successfully, but these errors were encountered: