Commit Graph
92 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
Ilya Laktyushin e8baaa5a22 Poll improvements 2026-04-30 15:36:13 +02:00
isaacandisaac 7ef7f16727 Improve animations 2026-04-30 12:56:55 +04:00
isaacisaacClaude Opus 4.7
8408e0ae19 Postbox -> TelegramEngine waves 27-36
Consumer-sweep, facade-addition, and Peer→EnginePeer migrations:

- Wave 27: preferencesView consumer sweep
- Wave 28: resourceData consumer sweep
- Wave 29: resourceStatus consumer sweep
- Wave 30: _asStatus() bridge cleanup
- Wave 31: unused-import sweep re-run
- Wave 32: resourceStatus residue sweep
- Wave 33: loadedPeerWithId consumer sweep
- Wave 34: FoundPeer.peer Peer -> EnginePeer
- Wave 35: SendAsPeer.peer Peer -> EnginePeer
- Wave 36: ContactListPeer.peer Peer -> EnginePeer

Also includes per-wave specs, implementation plans, outcome logs, and
a CLAUDE.md wave-counter update.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 11:24:13 +04:00
IsaacandIsaac 648430e37d Various improvements 2026-04-03 22:15:42 +08:00
Ilya Laktyushin ceceec2e94 Various fixes 2026-03-28 23:42:30 +01:00
Ilya Laktyushin 66d08c0e1b Various improvements 2026-03-22 13:44:04 +01:00
IsaacandIsaac af6e5f258e Merge commit '90f110a311466f1b105b16977963b235f362e55f'
# Conflicts:
#	Telegram/Telegram-iOS/en.lproj/Localizable.strings
#	submodules/ChatPresentationInterfaceState/Sources/ChatPresentationInterfaceState.swift
2026-03-20 18:55:29 +01:00
IsaacandIsaac bc7858ad2b AI editing 2026-03-20 18:23:45 +01:00
Ilya Laktyushin f12fb93a3e [WIP] Polls 2026-03-20 14:52:19 +01:00
Ilya Laktyushin 433237d1e9 [WIP] Polls 2026-03-20 10:15:00 +01:00
Ilya Laktyushin c32f645f5e [WIP] Polls 2026-03-17 16:32:49 +01:00
Ilya Laktyushin b1a190f87a [WIP] Polls 2026-03-16 18:07:12 +01:00
Ilya Laktyushin dca6b5f145 Various improvements 2026-03-12 13:51:27 +01:00
Ilya Laktyushin d9d1210c1d Various improvements 2026-02-19 21:53:26 +04:00
Ilya Laktyushin 2edce5ebf2 Alerts 2025-12-22 00:19:11 +04:00
Ilya Laktyushin a0e96582dd Update API [skip ci] 2025-09-19 12:20:21 +04:00
IsaacandIsaac df3e2db84c Suggested posts 2025-06-20 15:37:26 +02:00
Ilya Laktyushin 546f6ca7c2 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2025-06-19 01:27:49 +02:00
Ilya Laktyushin c5223959b2 Various improvements 2025-06-19 01:26:50 +02:00
IsaacandIsaac ab470b6be7 [WIP] Post suggestion 2025-06-17 15:22:39 +04:00
IsaacandIsaac 2c53fd2273 Update API 2025-06-13 02:15:04 +08:00
Ilya Laktyushin f59abe1689 Various improvements 2025-06-10 22:11:07 +02:00
Ilya Laktyushin 41ae916106 Various improvements 2025-06-08 18:28:49 +02:00
IsaacandIsaac f1d0f694f5 [WIP] Monoforums 2025-05-21 00:23:48 +08:00
IsaacandIsaac 140efd6cfd [WIP] Monoforums 2025-05-10 18:02:55 +01:00
Ilya Laktyushin c5168b8905 Various improvements 2025-04-03 17:06:20 +04:00
IsaacandIsaac dd471503ba Merge commit '7d8920db82052bce3d9c6f37b2bd78edebd6f06e'
# Conflicts:
#	submodules/CallListUI/Sources/CallListController.swift
2025-03-30 02:07:46 +04:00
IsaacandIsaac aaf52d4282 Conference calls 2025-03-30 02:06:50 +04:00
Ilya Laktyushin 5956d5142f Various improvements 2025-03-21 18:41:49 +04:00
IsaacandIsaac 16768ffb10 Prevent media gallery from opening multiple times 2025-02-28 14:52:13 +01:00
Ilya Laktyushin 2f2a27f0d2 Various improvements [skip ci] 2025-02-12 22:15:02 +04:00
Ilya Laktyushin 681b5c9d3a Various improvements 2025-01-28 19:59:32 +04:00
Ilya Laktyushin fdb4b80e27 Various improvements 2024-12-06 09:31:49 +04:00
Ilya Laktyushin ec9d5fde63 Bot ad improvements 2024-10-29 10:05:00 +04:00
Ilya Laktyushin 4b537a4cd5 Various improvements 2024-10-26 01:25:07 +04:00
Ilya Laktyushin 987befccc4 Ads and codes improvements 2024-09-19 17:47:49 +04:00
IsaacandIsaac 3ff98fd2a8 [WIP] Star reactions 2024-08-06 15:00:29 +04:00
IsaacandIsaac 42a6f6e8bc Bot previews 2024-07-24 01:56:34 +08:00
Ilya Laktyushin 39598deb04 Add reply action in gallery 2024-07-03 21:43:18 +04:00
Ilya Laktyushin e47b5a89ef Paid media improvements 2024-06-24 04:06:57 +04:00
Ilya Laktyushin 813a913bca Various improvements 2024-06-23 19:05:01 +04:00
Ilya Laktyushin b5b052ff7d Paid media improvements 2024-06-22 00:05:21 +04:00
Ilya Laktyushin 5470ba80ec Various improvements 2024-06-07 09:51:45 +04:00
IsaacandIsaac 8a1d228fba Fix animations 2024-06-02 16:07:00 +04:00
IsaacandIsaac 586428cfa9 Fix scheduled effectcs 2024-05-31 22:26:32 +04:00
Ilya Laktyushin 464eb8625f Hashtag search improvements 2024-05-22 14:04:37 +04:00
Ilya Laktyushin 43faf7619d Fact check fixes 2024-05-20 20:00:50 +04:00
Ilya Laktyushin abe1e40e2a Fact check 2024-05-20 09:33:53 +04:00