element-hq / element-hq/compound

Haptics across Element X

Open
#216 1 comment 1 reaction 2 assignees Claimed by @janogarcia View on GitHub
T-Component-Design
Dominant language
MDX
Stars
24
Forks
7
PR merge metrics
No merged PRs in 30d

Description

# Summary

Haptics are currently present across many instances on iOS but there are no haptics on Android. Haptics are supported better on iOS but that doesn't mean that we should forget about them on Android. Some context from @janogarcia:

Testing:

1. Long tap on room room list/channel to reveal bottom sheet or contextual actions.
2. Long tap on message on timeline to reveal the bottom sheet or contextual actions.

All of the following competitor Android apps provided haptic feedback (super short click):

Discord
Google Chat
Facebook Messenger
Signal
Slack
Teams
Telegram
WhatsApp

Element X Android, on the other hand, is lacking that kind of haptic feedback, which is becoming more and more expected.

**Goals**
- Ensure platform guidelines for haptics are adhered to
- Create haptic consistency across platforms
- Create guidelines for where we add haptics in the product

**Resources:**
- https://developer.apple.com/design/human-interface-guidelines/playing-haptics
- https://m2.material.io/design/platform-guidance/android-haptics.html
- https://developer.android.com/develop/ui/views/haptics
- https://source.android.com/docs/core/interaction/haptics

# Platform

- iOS and Android

```[tasklist]
# Design phase
- [ ] Component exists on Figma
- [ ] Component is documented in the component library
- [ ] Component is tested for theming
- [ ] Component shareout for designers
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.