14 Commits

Author SHA1 Message Date
isaac b20cd3502b Postbox -> TelegramEngine waves 11-14: stateManager collapse + BUILD-dep sweep
Wave 11: ActionSheetPeerItem de-Postboxed. Revisits wave-1 abandonment.
`postbox: Postbox, network: Network` init params collapse to
`stateManager: AccountStateManager`; avatar setPeer call routes via
`item.stateManager.postbox` / `.network`. Module never names Postbox.
Sole caller (ShareController.swift:1146) migrated in place.

Wave 12: HorizontalPeerItem de-Postboxed (same pattern). Ripples the
collapse up into ChatListSearchRecentPeersNode's public init
(`postbox:/network:` -> `stateManager:`). That module still imports
Postbox for PostboxViewKey/UnreadMessageCountsView internals but its
public surface simplifies. 3 external caller sites migrated.

Wave 13: AttachmentTextInputPanelNode minor cleanup. Module was already
Postbox-free at source level (wave 6) but carried a dead BUILD dep and
had 2 raw `peerId?.namespace == Namespaces.Peer.SecretChat` checks.
Both now use existing `PeerId.isSecretChat` extension in TelegramCore.

Wave 14: BUILD-dep sweep mirroring wave 6's source sweep. 98 modules
had `//submodules/Postbox:Postbox` (or `//submodules/Postbox`) BUILD
deps despite no source file importing Postbox since wave 6. Single
iteration, zero restores -- Bazel Swift requires source-level `import`
for symbol resolution, so redundant BUILD deps are pure metadata.

Net: 110 files, +116/-149. Build verified green (debug_sim_arm64).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 20:26:58 +02:00
Isaac 0c3530d8a8 Glass 2025-12-10 00:16:36 +08:00
Ilya Laktyushin 6bc1fe1939 Various improvements 2025-12-01 19:54:58 +04:00
Ilya Laktyushin 5877f2c20d Various improvements 2025-10-29 17:20:36 +04:00
Ilya Laktyushin 85092482f3 Various improvements 2025-10-17 17:01:25 +04:00
Isaac b9b38e5fbf Various improvements 2025-10-11 00:56:21 +08:00
Ali 7dd76ef329 [WIP] Stories 2023-04-28 20:20:46 +04:00
Ilya Yelagov e84b49e081 Cleanup 2023-01-08 17:44:35 +04:00
Ilya Yelagov 2863524530 Fixing transition animations and delaying activityIndicator when starting live stream 2023-01-06 15:26:11 +04:00
Ali 902263cf59 Various experiments 2022-05-06 21:14:28 +04:00
Ali ac93545965 Notification improvements 2022-04-03 23:23:15 +04:00
Ilya Laktyushin 1bcdd691ec Web app improvements 2022-04-02 15:51:30 +04:00
Ali fe0311b1e9 Media-related improvements 2022-03-15 22:08:20 +04:00
Ali 19a2a113ee Stream improvements 2022-03-08 21:39:01 +04:00