21 Commits
Author SHA1 Message Date
Ilya Laktyushin 3e6363abf9 Various improvements 2026-05-28 16:50:05 +02:00
Ilya Laktyushin 91eb779ae2 Merge commit 'c64653ed37ce9fe2bc74e260e9e960fcf3ab5dc1' 2026-05-14 12:45:26 +02:00
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
IsaacandClaude Opus 4.7 7b2b74e79b Postbox -> TelegramEngine wave 6: unused import Postbox batch sweep
First build-verified unused-import sweep: speculatively dropped
import Postbox from 782 consumer files (plain ^import Postbox$ lines,
excluding TelegramCore/Postbox/TelegramApi paths), iterated 18 full
project builds with --continueOnError, restored the import on every
file that failed to compile. 183 drops survived; 189 consumer modules
newly Postbox-free.

Bundled: spec + plan + C1 atomic batch drop + C2 CLAUDE.md outcome and
permanent methodology guidance under Wave-selection. The methodology
subsection captures the reusable playbook (--continueOnError is
essential, dependency graphs are deep so expect many iterations,
pattern-based preemptive restores accelerate convergence, and
CLAUDE.md's engine typealias cheat sheet arrows are migration targets
rather than typealiases in TelegramCore).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 23:46:13 +02:00
Ilya Laktyushin 2bba31bcdf Alerts 2025-12-22 23:28:04 +04:00
Isaac cf5584e02f Collapse sibling options 2025-12-02 17:20:43 +08:00
Ilya Laktyushin 2f3cf25666 Various improvements 2025-11-03 03:12:54 +04:00
Ilya Laktyushin 0915a42e64 Various improvements 2025-10-16 05:30:06 +04:00
Isaac c7a2fe5d3e Update to iOS 13 2025-06-11 16:59:53 +08:00
Isaac 9a075fa39e Refactoring 2024-06-12 23:04:04 +04:00
Isaac d192889e0e Improvements 2024-03-28 16:02:30 +04:00
Isaac d8026b4009 [WIP] Premium setup 2024-03-15 15:10:58 +04:00
Isaac 7966993955 Business fixes 2024-03-05 15:32:59 +04:00
Isaac 42b14666a2 Business 2024-03-01 00:09:39 +04:00
Isaac cbb9d42744 [WIP] Business 2024-02-27 18:18:27 +04:00
Isaac 6b199c3fd0 [WIP] Business 2024-02-27 17:23:41 +04:00
Isaac 729a260626 [WIP] Business 2024-02-27 00:52:17 +04:00
Isaac 0ba75f81de [WIP] Business 2024-02-26 18:43:15 +04:00
Isaac 7232d36c3a [WIP] Business 2024-02-21 20:08:46 +04:00
Isaac f259829c8a [WIP] Business 2024-02-20 14:45:25 +04:00
Isaac d9fec0a500 [WIP] Business 2024-02-13 20:13:40 +04:00