Skip to content

fix(voice): improve slide-to-cancel UX for voice message recording#6281

Open
mahibi wants to merge 1 commit into
masterfrom
bugfix/noid/voiceMessageSliderSpeed
Open

fix(voice): improve slide-to-cancel UX for voice message recording#6281
mahibi wants to merge 1 commit into
masterfrom
bugfix/noid/voiceMessageSliderSpeed

Conversation

@mahibi
Copy link
Copy Markdown
Collaborator

@mahibi mahibi commented Jun 2, 2026

  • Fix swipe speed: text now follows finger 1:1 instead of using a fixed increment per touch event
  • Start tracking swipe from the initial touch-down, eliminating the dead zone while the finger is still over the record button
  • Double the cancel threshold (150 → 300px) so accidental cancellations are less likely
  • Center the slide-to-cancel text with a 30dp rightward offset
  • Add a fade-out gradient to the recording timer so the sliding text disappears smoothly behind it instead of overlapping visibly; separate light/dark drawables avoid the grey transparent artifact

AI-assistant: Claude Code v2.1.142 (Claude Sonnet 4.6)

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

  - Fix swipe speed: text now follows finger 1:1 instead of using a fixed
    increment per touch event
  - Start tracking swipe from the initial touch-down, eliminating the dead
    zone while the finger is still over the record button
  - Double the cancel threshold (150 → 300px) so accidental cancellations
    are less likely
  - Center the slide-to-cancel text with a 30dp rightward offset
  - Add a fade-out gradient to the recording timer so the sliding text
    disappears smoothly behind it instead of overlapping visibly;
    separate light/dark drawables avoid the grey transparent artifact

AI-assistant: Claude Code v2.1.142 (Claude Sonnet 4.6)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
@mahibi mahibi added this to the 24.1.0 milestone Jun 2, 2026
@mahibi mahibi requested a review from rapterjet2004 June 2, 2026 13:56
@mahibi mahibi self-assigned this Jun 2, 2026
@mahibi mahibi added the 3. to review Waiting for reviews label Jun 2, 2026
@mahibi
Copy link
Copy Markdown
Collaborator Author

mahibi commented Jun 2, 2026

/backport to stable-24.0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 2, 2026

APK file: https://github.com/nextcloud/talk-android/actions/runs/26824547396/artifacts/7360631159
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant