Files
Telegram-iOS/submodules/TelegramUI/Components
isaacisaacClaude Opus 4.8
f6da30da70 InstantPage V2: audio/music rendering, playback, and file-bubble styling
Render and play InstantPageBlock.audio in the InstantPage V2 renderer
(rich-data message bubbles + the rich send preview), where audio was
previously an inert grey placeholder.

- New InstantPageV2AudioContentNode replicates the standard music message
  bubble (ChatMessageInteractiveFileNode's music layout): a SemanticStatusNode
  control (album art via playerAlbumArt + play/pause) with a download/progress
  overlay, title + "duration · performer" lines, exact fonts/colors from
  theme.chat.message.{incoming|outgoing}. Tap is driven by a
  UITapGestureRecognizer (ASControl .touchUpInside is cancelled by the chat
  ListView's gesture system). V1's InstantPageAudioNode is unchanged.
- Playback runs on InstantPageMediaPlaylist with a discriminated, message-scoped
  InstantPageMediaPlaylistId (.instantPage / .richMessage) so concurrent
  rich-message audio bubbles don't collide; the big control's play/pause comes
  from filteredPlaylistState, the overlay's download/progress from
  messageMediaFileStatus, and fetch goes through the fetch manager.
- Rich-message audio fetches via a MessageReference (threaded through the V2
  render context) instead of the synthesized webpage; FetchedMediaResource's
  .message revalidation arm now also searches RichTextMessageAttribute instant
  pages, so a stale instant-page audio/image reference can recover. Corrected a
  dormant inverted InstantPagePlaylistLocation.isEqual.
- New .mediaAudio laid-out item + layout/reveal-cost arms; the audio block lays
  out full-width at the file node's music normHeight.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 17:44:45 +02:00
..
2026-05-31 17:35:32 +02:00
2026-05-28 16:50:05 +02:00
2025-12-26 20:29:30 +08:00
2026-04-07 11:31:22 +02:00
2026-04-14 15:33:19 +02:00
2026-02-02 15:54:43 +04:00
2025-11-26 23:05:30 +08:00
2025-09-12 10:54:22 +02:00
2026-05-28 16:50:05 +02:00
2026-05-20 00:30:43 +08:00
2026-05-28 16:50:05 +02:00
2026-05-28 16:50:05 +02:00
2026-05-31 17:35:32 +02:00
2026-01-25 22:17:49 +04:00
2026-05-31 17:35:32 +02:00
2026-03-11 18:51:44 +01:00
2026-05-28 16:50:05 +02:00
2026-03-24 22:51:44 +08:00
2026-03-28 00:52:16 +08:00
2026-04-07 11:31:22 +02:00
2026-04-07 11:31:22 +02:00
2026-01-25 22:17:49 +04:00
2026-02-03 20:17:44 +08:00
2026-05-27 19:05:44 +02:00
2025-09-09 20:39:17 +04:00
2026-04-07 11:31:22 +02:00
2026-05-28 16:50:05 +02:00
2026-05-28 16:50:05 +02:00
2026-05-28 16:50:05 +02:00
2026-05-28 17:23:58 +02:00
2026-05-28 16:50:05 +02:00
2025-12-01 22:13:33 +08:00
2026-05-20 00:33:32 +08:00
2026-03-22 05:17:29 +03:00
2026-02-27 14:34:18 +04:00
2026-01-25 22:17:49 +04:00
2025-08-21 09:08:35 +04:00
2026-05-05 14:57:06 +02:00
2026-05-28 16:50:05 +02:00
2026-03-10 19:33:45 +01:00
2026-01-25 00:31:18 +08:00
2026-04-15 23:12:53 +02:00
2026-05-28 16:50:05 +02:00
2026-04-07 11:31:22 +02:00
2026-05-28 16:50:05 +02:00
2026-05-31 17:35:32 +02:00
2026-05-31 17:35:32 +02:00
2025-11-07 22:54:56 +08:00
2026-04-24 04:55:22 +02:00
2026-03-30 02:55:35 +02:00
2026-04-16 01:18:22 +02:00
2026-05-28 16:50:05 +02:00
2026-01-25 00:31:18 +08:00
2026-05-28 16:50:05 +02:00
2026-05-28 16:50:05 +02:00
2026-05-28 16:50:05 +02:00
2026-05-28 16:50:05 +02:00
2026-01-16 21:23:32 +08:00
2026-02-13 12:23:53 +04:00
2026-05-31 17:35:32 +02:00
2025-10-28 15:44:44 +04:00
2026-05-31 17:35:32 +02:00
WIP
2026-05-20 00:34:25 +08:00
2026-05-31 17:35:32 +02:00
2025-12-28 22:39:34 +08:00
2025-07-18 16:10:54 +02:00
2025-12-16 20:05:44 +04:00
2026-05-31 17:35:32 +02:00
2026-03-22 05:17:29 +03:00
2026-05-28 16:50:05 +02:00
2026-03-22 05:17:29 +03:00
2026-04-14 15:33:19 +02:00
2026-02-13 17:08:48 +04:00
2026-03-03 20:26:45 +04:00