Commit Graph
23 Commits
Author SHA1 Message Date
isaacisaacClaude Opus 4.7
e918b353ec Postbox refactor waves 278-356: squash
Squashes 79 sequential refactor waves into a single commit.

Highlights:
- Drop `import Postbox` (and matching `//submodules/Postbox` BUILD deps) from a wide swath of consumer files: ChatList, ChatMessage*BubbleContentNode subclasses, ListMessageNode/ListMessageItem, GalleryData, ChatHistorySearchContainerNode, ChatPanelInterfaceInteraction, ChatControllerInteraction, ChatMessageStickerItemNode, ChatMessageReplyInfoNode, ChatMessageInstantVideoItemNode, ChatPresentationInterfaceState, BrowserMarkdown/Readability, MediaResources, LocalMediaResources, ICloudResources, FetchManager, ShareController, OpenChatMessage, GalleryController, GroupStickerSearchContainerNode, GroupStickerPackCurrentItem, ChatPinnedMessageTitlePanelNode, OverlayAudioPlayerController, PresentationThemeSettings, StatisticsUI/StoryIconNode, TextFormat/StringWithAppliedEntities, GalleryUI/VideoAdComponent, StickerPackPreviewUI, WallpaperPreviewMedia, WallpaperResources, YoutubeEmbedImplementation, InstantPageExternalMediaResource, PlatformRestrictionMatching, TelegramUIDeclareEncodables, ChatListNode/ChatListSearchContainerNode.
- Add `TelegramEngine` facades: `Themes.wallpapers`, `Themes.themes`, `AccountData.addAppLogEvent`.
- Add `EngineMessageHistoryEntryLocation` wrapper.
- Add `EngineRaw*` escape-hatch typealiases (`EngineRawMessage`, `EngineRawPeer`, `EngineRawMedia`, `EngineRawMediaResource`, `EngineRawMediaResourceData`, `EngineRawItemCollectionItem`, `EngineRawItemCollectionInfo`) and `engineDeclareEncodable` forwarder.
- Drop unused `account:`/`postbox:`/`network:` parameters from several public functions and delete the dead overloads/types/functions left over: `automaticThemeShouldSwitchNow`, `cancelFreeMediaFileInteractiveFetch`, `legacyEnqueueVideoMessage`, `TelegramMediaFileReference`, plus assorted dead public TelegramCore/AccountContext SecureId entry points.
- Delete entire dead modules: `LegacyDataImport`, `TonBinding`, `SpotlightSupport`, `SvgRendering`, third-party `AppCenter`/`VectorPlus`/`SwiftColor`/`SwiftSVG`.
- Drop orphan `//submodules/Postbox` BUILD deps across 3 cleanup rounds.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-05 14:11:06 +02:00
isaacandisaac fdb2f369ec Rich bubble: scrollToAnchor + getAnchorRect
Adds a base getAnchorRect on ChatMessageBubbleContentNode, the rich-bubble
override (including titleHeight in details recursion), bubble-item
forwarding to content nodes, ChatControllerInteraction.scrollToMessageIdWithAnchor,
and a scrollToAnchor that lands the anchor at the top of the content area /
its line. Threads anchor/scroll params through ChatController and related
call sites.
2026-05-02 00:36:34 +02:00
isaacandisaac 7ef7f16727 Improve animations 2026-04-30 12:56:55 +04:00
Ilya Laktyushin e81e7c6897 Formatted date support 2026-02-06 14:24:03 +04:00
IsaacandIsaac ee749050f0 Bot forums 2025-08-19 17:24:33 +02:00
IsaacandIsaac aaf52d4282 Conference calls 2025-03-30 02:06:50 +04:00
Ilya Laktyushin 8d7f9bf372 Various improvements 2025-02-22 19:17:36 +04:00
IsaacandIsaac fa2da2832e Video player improvements 2024-10-21 20:21:15 +04:00
Ilya Laktyushin 40a4183095 Paid media content 2024-06-18 18:57:32 +04:00
Ilya Laktyushin a2348148ff Various improvements 2024-06-18 01:06:31 +04:00
IsaacandIsaac 5fe5812328 Merge commit 'd7f7eefd4b91c6112a30ab4755a3c4e2a352dfb9' 2024-05-24 13:39:26 +04:00
IsaacandIsaac b7fe230590 Quote improvements 2024-05-24 13:39:23 +04:00
Ilya Laktyushin 2007f15998 Various improvements 2024-05-24 02:43:22 +04:00
IsaacandIsaac 378b7e8ed5 Message preview improvements 2024-05-17 17:10:19 +04:00
Ilya Laktyushin 6de753b14a Phone numbers improvements 2024-05-16 00:50:11 +04:00
IsaacandIsaac 16faaa4575 [WIP] Send message effects 2024-05-03 22:56:50 +04:00
AliandAli 5261f34e6a Add a special case for tap-and-context menu 2023-10-25 16:18:14 +04:00
AliandAli 5e51a2d7c2 Various improvements 2023-10-19 20:25:41 +04:00
AliandAli af8474aca5 [WIP] Quotes and link previews 2023-10-18 01:11:23 +04:00
Ilya Laktyushin 3137bc9b14 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2023-10-15 17:27:40 +04:00
Ilya Laktyushin 9f7056670c Various improvements 2023-10-15 17:07:39 +04:00
AliandAli 154c8767d2 Refactoring 2023-10-15 15:19:11 +04:00
AliandAli 3f6d4678f5 Refactoring 2023-10-02 19:04:00 +04:00