14 Commits
Author SHA1 Message Date
isaacandClaude Opus 4.7 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
Ilya Laktyushin 142d59cf8f Various improvements 2026-01-27 22:24:31 +04:00
Ilya Laktyushin 0d12dd29ad Various improvements 2026-01-25 22:17:49 +04:00
Isaac 4a13c3830a Glass 2025-12-26 20:29:30 +08:00
Ilya Laktyushin 8897deff91 Various improvements 2025-11-04 01:04:57 +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
Ilya Laktyushin 72c58813a8 Various improvements 2025-08-01 23:25:24 +02:00
Isaac d9a2d06270 Various improvements 2025-05-30 23:06:26 +08:00
Isaac 084bb5bcd5 [WIP] Post suggestions 2025-04-28 23:34:03 +02:00
Isaac 6ff961d250 Various improvements 2025-04-25 10:54:34 +01:00
Ilya Laktyushin edecdd7fec Various fixes 2025-03-07 21:58:30 +04:00
Ilya Laktyushin 4aeab37c70 Various improvements 2025-02-24 19:08:50 +04:00
Ilya Laktyushin 2f2a27f0d2 Various improvements [skip ci] 2025-02-12 22:15:02 +04:00