15 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 3ed35f973b Update text field 2025-10-03 19:35:03 +08:00
Isaac 7ef63a81df [WIP] Message effects 2024-05-10 20:57:12 +04:00
Ali c45607ffd6 Refactor url handling 2023-10-20 21:51:45 +04:00
Ali 6e3cc4a6e9 Refactoring 2023-04-17 20:21:14 +04:00
Ilya Laktyushin 4f5d1445ae Tune outgoing bubble highlight color 2023-03-03 14:30:08 +04:00
Ilya Laktyushin e625323f11 Various fixes 2022-10-22 21:55:09 +03:00
Ilya Laktyushin e3d4c2e881 Various fixes 2022-10-22 20:28:14 +03:00
Ilya Laktyushin 3532108c30 Various improvements 2022-10-22 00:26:00 +03:00
Ilya Laktyushin a645b57563 Dark theme improvements 2022-10-19 21:23:10 +03:00
Ilya Laktyushin 5fe2dcdc1c Various fixes 2022-09-23 18:55:00 +04:00
Ali 17b7ebc3d6 Fix animation 2022-06-09 22:45:52 +04:00
Ilya Laktyushin d99dbbffb7 Various Fixes 2022-04-19 18:41:19 +04:00
Ilya Laktyushin 9786748565 Attachment menu improvements 2022-02-27 20:07:08 +04:00
Ilya Laktyushin 0874d92b11 Various fixes 2022-02-27 17:19:12 +04:00