Telegram-iOS/submodules/ChatListUI/Sources
isaac 35711ec6ad Localize rich-text message preview labels; split audio into voice/music
Thread PresentationStrings through RichText/InstantPageBlock/InstantPage
previewText(), replacing the hardcoded //TODO:localize placeholders
("Photo", "Fx", "Table", "Map", ...) with localized keys and reusing the
existing Message.Photo/Video/Location strings. Add RichTextPreview.Formula
("[formula]"), RichTextPreview.Table ("[table]"), and RichTextPreview.Music
("Music").

The .audio block previously rendered the wrong label (Message.Audio is
"Voice Message"). Thread InstantPage.media down so the block can resolve
media[id] as TelegramMediaFile and split: isVoice -> "Voice Message",
otherwise -> "Music", mirroring MessageContentKind's voice/music handling.

Update both previewText() call sites (MessageContentKind, ChatListItemStrings)
to pass strings, and complete the InstantPageListItem migration that was
left on the old signature.

Also remove the dead streaming-status ("Thinking...") rendering block from
ChatMessageTextBubbleContentNode (guarded by an always-false `!"".isEmpty`)
along with the now-orphaned streamingTextFrame layout machinery it fed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 00:18:24 +02:00
..
Node Localize rich-text message preview labels; split audio into voice/music 2026-06-05 00:18:24 +02:00
ChatContextMenus.swift Merge commit 'c64653ed37' 2026-05-14 12:45:26 +02:00
ChatListAdditionalCategoryItem.swift Glass 2025-12-26 20:29:30 +08:00
ChatListContainerItemNode.swift Postbox -> TelegramEngine waves 107-137 (squashed) 2026-05-03 10:28:50 +02:00
ChatListController.swift Various improvements 2026-06-04 01:44:36 +02:00
ChatListControllerLeaveChatConfirmation.swift Update API 2026-02-10 12:58:04 +04:00
ChatListControllerNode.swift Various improvements 2026-05-28 16:50:05 +02:00
ChatListControllerStoryStealthMode.swift Stories 2025-11-06 12:53:18 +04:00
ChatListEmptyNode.swift Various improvements 2025-10-17 17:01:25 +04:00
ChatListFilterPresetCategoryItem.swift Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2026-05-29 09:24:16 +02:00
ChatListFilterPresetController.swift Various improvements 2026-05-28 16:50:05 +02:00
ChatListFilterPresetListController.swift Various improvements 2026-06-04 01:44:36 +02:00
ChatListFilterPresetListItem.swift Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2026-05-29 09:24:16 +02:00
ChatListFilterPresetListSuggestedItem.swift Various improvements 2026-05-28 16:50:05 +02:00
ChatListFilterTagSectionHeaderItem.swift Glass 2025-12-26 20:29:30 +08:00
ChatListRecentPeersListItem.swift Postbox -> TelegramEngine waves 11-14: stateManager collapse + BUILD-dep sweep 2026-04-20 20:26:58 +02:00
ChatListSearchContainerNode.swift Rich-message media in gallery/shared-media/preview pipelines via Message.effectiveMedia 2026-06-04 23:46:56 +02:00
ChatListSearchListPaneNode.swift Rich-message media in gallery/shared-media/preview pipelines via Message.effectiveMedia 2026-06-04 23:46:56 +02:00
ChatListSearchMediaNode.swift Rich-message media in gallery/shared-media/preview pipelines via Message.effectiveMedia 2026-06-04 23:46:56 +02:00
ChatListSearchMessageSelectionPanelNode.swift Postbox -> TelegramEngine waves 107-137 (squashed) 2026-05-03 10:28:50 +02:00
ChatListSearchPaneContainerNode.swift Glass 2025-12-06 01:28:06 +08:00
ChatListSelection.swift Refactoring 2023-04-17 20:21:14 +04:00
ChatListShimmerNode.swift Merge commit 'c64653ed37' 2026-05-14 12:45:26 +02:00
DateSuggestion.swift Grouped music files 2020-10-06 21:57:44 +04:00
ItemListFilterTitleInputItem.swift Glass 2025-12-26 20:29:30 +08:00
TabBarChatListFilterController.swift Merge commit 'c64653ed37' 2026-05-14 12:45:26 +02:00