Skip to content

Add haptic feedback when crossing media message boundaries#2203

Open
dasmfm wants to merge 2 commits into
TelegramMessenger:masterfrom
dasmfm:haptic-message-boundary
Open

Add haptic feedback when crossing media message boundaries#2203
dasmfm wants to merge 2 commits into
TelegramMessenger:masterfrom
dasmfm:haptic-message-boundary

Conversation

@dasmfm

@dasmfm dasmfm commented Jun 15, 2026

Copy link
Copy Markdown

Summary

  • Adds a light selection haptic when swiping in the gallery from one media message/group to another.
  • Treats grouped media albums as one boundary using groupInfo.stableId.
  • Initializes the current boundary on gallery open so the first boundary transition also triggers feedback.

Behavior

  • No haptic when moving between items in the same media group.
  • Haptic when moving from one group/message to another, including single-image messages.

Testing

  • Tested on simulator with temporary on-screen debug indication at the same trigger point, since simulator does not produce physical haptic feedback.
  • Verified the indication appears only when moving to a different media message/group, and not when moving within the same media group.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant