Commit graph

163 commits

Author SHA1 Message Date
isaac
0050cc7a08 Rich-message media in gallery/shared-media/preview pipelines via Message.effectiveMedia
Add Message/EngineMessage.effectiveMedia (= message.media when non-empty, else
richText.instantPage.allMedia()) and route the media-consuming sites through it
so a rich message's instant-page media participates in the same pipelines as
normal message.media: shared-media grids/file-rows, search media grid, gallery
open + item nodes + footer, the peer audio/voice playlist, secret-media preview,
resource-by-id resolution, recent downloads, downloaded-media store, delete-time
resource cleanup, cache-usage stats, the in-chat download manager, and the
context-menu / share actions (Save to Camera Roll, copy image, save audio/music
to files). For normal messages effectiveMedia == message.media, so each swap is
behavior-preserving; rich messages render their own bubble via
ChatMessageRichDataBubbleContentNode (not the text/file bubbles), so those paths
are deliberately untouched, as are the forward path (the attribute travels with
the forward) and the markdown-based rich-edit path. First-media scope for now.

See docs/instantpage-richtext.md for the full architecture + invariants.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-04 23:46:56 +02:00
Ilya Laktyushin
622f9d970a Various fixes 2026-05-31 17:35:32 +02:00
Ilya Laktyushin
3e6363abf9 Various improvements 2026-05-28 16:50:05 +02:00
Ilya Laktyushin
91eb779ae2 Merge commit 'c64653ed37' 2026-05-14 12:45:26 +02:00
Isaac
648430e37d Various improvements 2026-04-03 22:15:42 +08:00
Isaac
16c630b946 Refactoring 2026-04-03 15:50:39 +08:00
Ilya Laktyushin
ceceec2e94 Various fixes 2026-03-28 23:42:30 +01:00
Isaac
93bf472472 Text selection 2026-03-24 22:51:44 +08:00
Isaac
fe8d847408 Gallery fixes 2026-02-13 18:09:56 +04:00
Isaac
157a7a978d Glass 2026-02-13 17:08:48 +04:00
Isaac
44fab3078a Temp 2026-02-06 11:39:09 +04:00
Isaac
bc3523d4e0 Various improvements 2026-02-02 17:38:32 +08:00
Isaac
58aab15546 Various improvements 2026-01-30 22:39:20 +08:00
Isaac
9c4e390f0d Various improvements 2026-01-30 18:50:18 +08:00
Isaac
8422b48216 Glass gallery 2026-01-27 21:04:08 +08:00
Isaac
6ad2622b30 Various updates 2026-01-24 00:35:42 +08:00
Isaac
bc6b472960 Temp glass UI 2026-01-20 22:30:38 +08:00
Isaac
4f04dc0bb7 Glass 2026-01-20 21:35:04 +08:00
Ilya Laktyushin
91036bcdc2 Force external for video ads 2025-08-13 18:07:18 +04:00
Ilya Laktyushin
be6890d189 Various improvements 2025-06-29 20:27:53 +02:00
Isaac
66ea2cd0c3 Update localization 2025-02-28 15:39:15 +01:00
Isaac
f17ead143a Various improvements 2025-02-18 14:43:23 +01:00
Isaac
3728be84cb Video improvements 2025-01-28 20:51:04 +04:00
Isaac
c21ebb06b5 Finalize timestamp sharing 2025-01-24 21:03:39 +04:00
Isaac
40828e9037 [WIP] UI 2025-01-21 21:08:44 +04:00
Ilya Laktyushin
ef6c097f6f Various improvements 2025-01-18 13:44:42 +04:00
Ilya Laktyushin
00af1d8816 Fix image editing in groups 2024-12-03 03:15:51 +04:00
Isaac
3990889211 Video playback improvements 2024-10-25 13:36:04 +02:00
Ilya Laktyushin
00516523a4 Various fixes 2024-09-26 17:18:16 +04:00
Isaac
923587b0da [WIP] Dynamic video streaming 2024-09-18 01:04:29 +08:00
Ilya Laktyushin
d2deea0ea2 Various fixes 2024-09-03 15:48:15 +04:00
Ilya Laktyushin
c92ce1c1dc Various improvements 2024-08-11 01:19:25 +02:00
Ilya Laktyushin
d0156faede Various improvements 2024-08-10 18:41:17 +02:00
Ilya Laktyushin
8fdcb91bbc Various improvements 2024-08-10 00:16:43 +02:00
Ilya Laktyushin
2bf11a6279 Various improvements 2024-08-09 17:43:47 +02:00
Ilya Laktyushin
3e448e833e Story covers 2024-07-19 17:43:17 +04:00
Ilya Laktyushin
63d380a534 Paid media improvements 2024-06-23 04:50:08 +04:00
Ilya Laktyushin
b5b052ff7d Paid media improvements 2024-06-22 00:05:21 +04:00
Ilya Laktyushin
40a4183095 Paid media content 2024-06-18 18:57:32 +04:00
Isaac
efae3b90a7 Support Xcode 15.3 2024-04-02 19:16:00 +04:00
Ilya Laktyushin
43cd8a4144 Various fixes 2024-03-26 12:05:10 +04:00
Isaac
8446fd3ab1 Business fixes 2024-02-28 19:22:43 +04:00
Isaac
50339b3c4c [WIP] Business 2024-02-23 23:12:28 +04:00
Isaac
953e1598f7 [WIP] Release changes 2024-01-26 15:33:01 +01:00
Ali
82281662e1 Code highlight improvements 2023-11-10 15:20:17 +04:00
Ali
5452f275b4 Add light context menu theme 2023-10-24 18:39:41 +04:00
Ali
784e20a993 Input message preview improvements 2023-10-24 14:52:54 +04:00
Ali
82046c886b Various improvements 2023-10-23 20:09:08 +04:00
Ali
eae866c77e [WIP] Quotes 2023-10-07 00:33:12 +04:00
Ilya Laktyushin
4270261dd6 Channel premium gifts 2023-09-29 13:23:14 +04:00