-
Notifications
You must be signed in to change notification settings - Fork 3k
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 2021-11-09] Reduce the haptic feedback vibration to a short bip #4355
Comments
Triggered auto assignment to @pecanoro ( |
Triggered auto assignment to @Jag96 ( |
It looks like there's some more context on this issue in this slack thread. cc @rushatgabhane since you had some good thoughts here. |
@Jag96 I'm not able to find any npm package which matches the short blip of Slack. However, I can get the exact haptic feedback as Slack's using native code for Android. Here are our options for adding native code.
Which one do you prefer? Alternatively, we could settle for a shorter duration of the strange vibration using rn-haptic-feedback. |
We've used NativeModules before here so I think that would be fine, but I'd reply to the thread in slack (and send to the main channel as well by ticking And just to confirm, using NativeModules would you just override the index.android.js functionality and continue using the current lib for iOS? |
No. I won't using the current lib (expo-haptics) at all. |
This comment has been minimized.
This comment has been minimized.
Update from slack thread We decided to add I won't be available for a few weeks. So I won't be taking this issue. Android: Correction: |
Tiny thing: I vote naming the API call "bip" instead of "blip". When you
say it out loud, "bip" is closer to the actual vibrate we're going for.
…On Tue, Aug 3, 2021 at 1:34 PM Rushat Gabhane ***@***.***> wrote:
Update from slack thread
<https://expensify.slack.com/archives/C01GTK53T8Q/p1627669368027700>
We decided to add blip() method to Vibration
<https://reactnative.dev/docs/vibration> API by creating a PR for React
Native.
I won't be available for a few weeks. So I won't be taking this issue.
But here are things that might help with implementation.
Android: Vibrate(createPredefined(VibrationEffect.EFFECT_CLICK))
iOS: Selection
<https://developer.apple.com/design/human-interface-guidelines/ios/user-interaction/haptics/>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4355 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEMNURFQSCEDCPEFWASKN3T3BHD7ANCNFSM5BLKL4VA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
@Jag96 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
In this case we add the code
in InvertedFlatList in "/src/pages/home/report/ReportActionsView.js" |
change src\components\PressableWithSecondaryInteraction\index.native.js
|
@arpitdeveloper @chira37 please see the description of this issue for the desired implementation: To achieve the desired result, we should:
|
We can reduce the time of vibration. |
Still held on n6, clearing overdue label |
Still held on n6 |
Please refer to this post for updated information on the |
@Jag96 should I submit a PR to NewDot? -- I hoped that my PR to Is there anything that I can do to get it merged faster? |
@rushatgabhane this is still on n6-hold, and we'll need to create an Expensify fork of Going to assign you the issue here, re-create the Upwork posting since it looks like it expired, and hire you for the job. Since there hasn't been any reply for a bit I think it's fine to email the maintainer to see if they missed it, you can also try requesting a review from |
Got it, thanks! |
Removed the n6-hold label and created an internal ticket to get the repo forked. @rushatgabhane once the repo is forked I'll post the URL here so you can create your PR against it! |
@rushatgabhane the fork can be located here: https://github.com/Expensify/react-native-haptic-feedback. Please create your PR there! You can then create a draft PR in Expensify/App that has the changes required and points to your latest commit on your Expensify/react-native-haptic-feedback PR so we can test the changes that way. |
Hi Joe! So I created a new draft PR (5960) which uses it, and fixes this issue. Expensify's fork of |
@rushatgabhane sounds good, once the Expensify/App PR is merged I'll go ahead and remove the unneeded repo |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.12-3 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 2021-11-09. 🎊 |
Paid, including n6 hold bonus! |
Thanks a ton! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Upwork posting: https://www.upwork.com/jobs/~0105c031baf3dfd3df
Action Performed:
Expected Result:
There should be a short blip of vibration.
Actual Result:
Current vibration is longer that it should be.
To achieve the desired result, we should:
Workaround:
N/A
Platform:
Where is this issue occurring?
Version Number: 1.0.82-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
View all open jobs on Upwork
From @quinthar https://expensify.slack.com/archives/C01GTK53T8Q/p1627669368027700
The text was updated successfully, but these errors were encountered: