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

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.

arena-ai-coding-agent Bot pushed a commit to decoder-dev/Telegram-iOS that referenced this pull request Sep 16, 2026
…2220 TelegramMessenger#2221 TelegramMessenger#2218), share-extension hang (TelegramMessenger#2223), pinned+managing-bot panels (TelegramMessenger#2212), sharp large emoji (TelegramMessenger#2291), gallery boundary haptics (TelegramMessenger#2203), CASVA (TelegramMessenger#2227), rich-text Show-more sizing (TelegramMessenger#2330), startapp+start payload (TelegramMessenger#2289)

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
decoder-dev added a commit to decoder-dev/Telegram-iOS that referenced this pull request Sep 18, 2026
…2220 TelegramMessenger#2221 TelegramMessenger#2218), share-extension hang (TelegramMessenger#2223), pinned+managing-bot panels (TelegramMessenger#2212), sharp large emoji (TelegramMessenger#2291), gallery boundary haptics (TelegramMessenger#2203), CASVA (TelegramMessenger#2227), rich-text Show-more sizing (TelegramMessenger#2330), startapp+start payload (TelegramMessenger#2289)

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
decoder-dev added a commit to decoder-dev/Telegram-iOS that referenced this pull request Sep 18, 2026
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