isaac
|
4107263747
|
Postbox refactor waves 358-426
Squashed range bf01b4c..a66739c (70 commits) covering 69 waves of the
Postbox -> TelegramEngine consumer migration plus a few BUILD-dep
followups.
Notable additions to TelegramCore in this range:
- Engine typealiases: EngineRawPeerPresence, EngineRawValueBoxKey,
EngineSimpleDictionary, EngineRawPeerView, EngineRawPostboxViewKey,
EngineRawPreferencesView, EngineRawMessageHistoryView (+ entry/attrs/
read-state), EngineMessageIdNamespaces, EngineHistoryViewInputAnchor,
EngineRawUnreadMessageCountsItem, EngineRawMessageHistorySavedMessages
IndexView, EngineRawChatInterfaceStateView, EngineRawOrderedItemList
View, EngineRawMessageHistoryThreadIndexView, EngineRawCombinedRead
StateView, EngineRawMessageHistoryThreadInfoView, EngineRawBasicPeer
View, EngineRawCachedPeerDataView, EngineMessageHistoryThreadData,
EngineViewUpdateType, EngineInitialMessageHistoryData,
EnginePeerGroupId, EngineChatLocationInput, EngineHistoryViewInputTag.
- Engine data items: Peer.CachedData, ItemCollections.InstalledPackInfos,
ItemCollections.InstalledPackIds.
- Engine facade: TelegramEngine.ItemCollections.allItems(namespace:).
- Free function: engineAreMediaArraysEqual forwarder.
Net effect: 65+ consumer modules drop "import Postbox"; 131 files
changed (+1386 / -1493). Build green at HEAD.
|
2026-05-07 07:36:30 +02:00 |
|
isaac
|
493f3103b3
|
Postbox -> TelegramEngine waves 37-43 + wave 44 design/plan (squashed)
Squashes 20 commits — the implementation and outcome commits of
waves 37 through 43 plus wave 44's spec and implementation-plan
docs — into a single commit. Per-wave lessons remain recorded in
docs/superpowers/postbox-refactor-log.md. The unrelated "Add swift
svg" commit is preserved separately outside this squash.
Wave 37 — peerTokenTitle: peer Peer → EnginePeer (1 file)
Wave 38 — canSendMessagesToPeer: peer Peer → EnginePeer (12 files)
Wave 39 — AccountContext.makePeerInfoController: peer Peer → EnginePeer (52 files)
Wave 40 — makeChatQrCodeScreen + makeChatRecentActionsController bundle (8 files)
Wave 41 — RenderedChannelParticipant.peer: Peer → EnginePeer (28 files)
Wave 42 — PeerInfoScreenData.peer: Peer? → EnginePeer? (17 files)
Wave 43 — PeerInfoScreen 6 helpers: peer Peer? → EnginePeer? (12 files)
Wave 44 — RenderedChannelParticipant.peers design doc + implementation plan
(impl and outcome land in subsequent commits, not part of squash)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-04-24 23:19:43 +04:00 |
|