WinterGram/submodules/Components
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
..
ActivityIndicatorComponent Update to iOS 13 2025-06-11 16:59:53 +08:00
AnimatedStickerComponent Refactoring 2024-06-12 23:04:04 +04:00
BalancedTextComponent Various improvements 2026-03-22 16:41:22 +01:00
BlurredBackgroundComponent Various improvements 2025-03-13 00:34:59 +01:00
BundleIconComponent Update API 2025-03-17 21:10:07 +04:00
ComponentDisplayAdapters Temp 2026-04-14 15:33:19 +02:00
Forms Refactoring 2024-06-12 23:04:04 +04:00
HierarchyTrackingLayer Stories 2023-06-29 23:32:01 +02:00
LottieAnimationComponent Cleanup 2025-06-28 19:48:34 +02:00
MetalImageView Add MetalImageView 2022-02-18 20:09:16 +04:00
MultilineTextComponent Various fixes 2026-03-28 20:47:35 +01:00
MultilineTextWithEntitiesComponent Text selection 2026-03-24 22:51:44 +08:00
PagerComponent Various fixes 2026-04-17 11:06:56 +02:00
ProgressIndicatorComponent Refactoring 2024-06-12 23:04:04 +04:00
ReactionButtonListComponent Postbox -> TelegramEngine waves 11-14: stateManager collapse + BUILD-dep sweep 2026-04-20 20:26:58 +02:00
ReactionImageComponent Serialization update 2025-02-14 19:11:58 +04:00
ReactionListContextMenuContent Postbox -> TelegramEngine waves 11-14: stateManager collapse + BUILD-dep sweep 2026-04-20 20:26:58 +02:00
ResizableSheetComponent Various improvements 2026-04-18 08:41:08 +02:00
SheetComponent Various improvements 2026-04-18 08:41:08 +02:00
SolidRoundedButtonComponent Various improvements 2025-11-04 01:04:57 +04:00
UndoPanelComponent Refactoring 2024-06-12 23:04:04 +04:00
ViewControllerComponent Fix emoji pack tap 2026-02-03 01:41:59 +08:00