 
|
d1aa0db537
|
Postbox -> TelegramEngine waves 46-93 (squashed)
Squash of 63 commits spanning waves 46-93 (plus interspersed docs commits)
of the gradual Postbox->TelegramEngine consumer-side migration.
Scope: 139 files changed, 2123 insertions(+), 452 deletions(-).
## Themes by wave-block
**Waves 46-58 — Peer field migrations + facade additions**
Foundational EnginePeer convenience init additions (PeerReference, RenderedPeer,
SelectivePrivacyPeer). Multiple `peer: Peer` field migrations across PeerInfo,
ChatList, and SettingsUI components.
**Waves 59-73 — peer field cascade + EnginePeer wrap drops**
Series of single- to two-file peer-field migrations; consumer-side wrap
removal (`EnginePeer(peer)` -> direct EnginePeer use); `as? TelegramUser`
cast conversion to `case let .user(...)` enum match. Wave 64: RenderedPeer
convenience init. Wave 68: SelectivePrivacyPeer convenience init.
**Waves 74-83 — controller-Node bridge cleanup + small migrations**
Wave-71 shadow-pattern cleanup at controller->Node bridges. Migrations of
ChatRecentActionsController.peer (74), PeerInfoMember (75), MentionChatInputPanelItem
(76), PassportUI SecureIdAuthController (77), AccountWithInfo + ShareController
(78), peerInputActivitiesPromise (79), InactiveChannel (80), BlockedPeers (81),
openHashtag resolveSignal (82), NotificationExceptionsList (83).
**Waves 84-90 — TelegramEngine.Resources facade migrations**
Per-method Shape-A/B sweeps converting `<ctx>.account.postbox.mediaBox.X(...)`
to `<ctx>.engine.resources.X(...)`. Wave 90 was a single-commit big sweep:
40 fetchedMediaResource sites in 25 files migrated to engine.resources.fetch
facade in one atomic pass with first-pass-clean build.
Methods covered: storeResourceData, completedResourcePath, cancelInteractiveResourceFetch,
resourceRangesStatus, resourceStatus, fetch (fetchedMediaResource).
**Waves 91-92 — additional type migrations**
Wave 91: ItemListWebsiteItem.peer + RecentSessionsController enum-case payload
+ openWebSession callback Peer? -> EnginePeer?.
Wave 92: ChatListController StateHolder.EntryContext status type
MediaResourceStatus -> EngineMediaResource.FetchStatus.
**Wave 93 — speculative `import Postbox` drop sweep**
Drop import from 7 wave-touched files where it became unused; restore in 5
files where bare PeerId/Message/MediaId/StoryId references escaped the
pre-flight regex. Includes one MediaId(...) -> EngineMedia.Id(...) swap in
InAppPurchaseManager to unlock its import drop.
## Build state
Final state at squash: clean Telegram/Telegram build at debug_sim_arm64.
## Persistent-state notes
- Pre-existing WIP unchanged across the squashed range:
- build-system/bazel-rules/sourcekit-bazel-bsp submodule marker
- Untracked: build-system/tulsi/, submodules/TgVoip/, third-party/libx264/
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-04-25 20:48:15 +04:00 |
|
 
|
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 |
|
Ilya Laktyushin
|
ceceec2e94
|
Various fixes
|
2026-03-28 23:42:30 +01:00 |
|
Ilya Laktyushin
|
bbad57434f
|
Various fixes
|
2026-02-02 15:54:43 +04:00 |
|
Ilya Laktyushin
|
0d12dd29ad
|
Various improvements
|
2026-01-25 22:17:49 +04:00 |
|
Ilya Laktyushin
|
f7f3b92fa7
|
Various improvements
|
2025-12-23 22:25:44 +04:00 |
|
Ilya Laktyushin
|
1a1f08de64
|
Various improvements
|
2025-12-17 14:31:54 +04:00 |
|
 IsaacandIsaac
|
0c3530d8a8
|
Glass
|
2025-12-10 00:16:36 +08:00 |
|
Ilya Laktyushin
|
cbf23d0df5
|
Various fixes
|
2025-11-14 02:08:00 +04:00 |
|
Ilya Laktyushin
|
3886b847ae
|
Various improvements
|
2025-11-13 08:27:11 +04:00 |
|
Ilya Laktyushin
|
9527b2d8be
|
Various improvements
|
2025-11-13 07:18:15 +04:00 |
|
Ilya Laktyushin
|
35c9a5d279
|
Various improvements
|
2025-10-20 00:46:26 +04:00 |
|
Ilya Laktyushin
|
a60a437206
|
Various improvements
|
2025-08-22 21:46:07 +04:00 |
|
Ilya Laktyushin
|
72c58813a8
|
Various improvements
|
2025-08-01 23:25:24 +02:00 |
|
Ilya Laktyushin
|
e3ed629d8f
|
Various improvements
|
2025-07-28 17:38:08 +02:00 |
|
Ilya Laktyushin
|
cf3bc1edbd
|
Various fixes
|
2025-07-27 23:36:37 +02:00 |
|
Ilya Laktyushin
|
4016ae8a25
|
Update localization
|
2025-06-29 14:54:42 +02:00 |
|
Ilya Laktyushin
|
8862492480
|
Update API
|
2025-06-28 17:38:45 +02:00 |
|
 IsaacandIsaac
|
f2e96efdb5
|
Adjust icon
|
2025-06-24 13:29:25 +02:00 |
|
 IsaacandIsaac
|
6ca38476a4
|
Transaction screen currency
|
2025-06-24 13:24:22 +02:00 |
|
Ilya Laktyushin
|
d166e32b3e
|
Various improvements
|
2025-06-24 01:24:14 +02:00 |
|
Ilya Laktyushin
|
41ae916106
|
Various improvements
|
2025-06-08 18:28:49 +02:00 |
|
Ilya Laktyushin
|
9e0600edfa
|
Various fixes
|
2025-04-25 18:13:30 +04:00 |
|
Ilya Laktyushin
|
2962851527
|
Various improvements
|
2025-04-22 21:06:46 +04:00 |
|
Ilya Laktyushin
|
a8b02015ce
|
Various improvements
|
2025-03-24 05:27:50 +04:00 |
|
Ilya Laktyushin
|
5956d5142f
|
Various improvements
|
2025-03-21 18:41:49 +04:00 |
|
Ilya Laktyushin
|
5ee53ad996
|
Various fixes
|
2025-03-12 00:40:11 +04:00 |
|
Ilya Laktyushin
|
edecdd7fec
|
Various fixes
|
2025-03-07 21:58:30 +04:00 |
|
Ilya Laktyushin
|
2adffc2ebc
|
Various fixes
|
2025-03-01 20:29:28 +04:00 |
|
Ilya Laktyushin
|
7a89a58930
|
Various improvements
|
2025-02-28 20:09:31 +04:00 |
|
Ilya Laktyushin
|
8d7f9bf372
|
Various improvements
|
2025-02-22 19:17:36 +04:00 |
|
 IsaacandIsaac
|
f17ead143a
|
Various improvements
|
2025-02-18 14:43:23 +01:00 |
|
Ilya Laktyushin
|
0485aed646
|
Various improvements
|
2025-01-23 06:46:50 +04:00 |
|
Ilya Laktyushin
|
5d4213c4fc
|
Various improvements
|
2024-12-27 23:04:34 +04:00 |
|
Ilya Laktyushin
|
292798a494
|
Update API
|
2024-12-23 22:02:31 +04:00 |
|
 IsaacandIsaac
|
7aaf95e40a
|
Stars ref
|
2024-11-30 00:23:21 +04:00 |
|
 IsaacandIsaac
|
ef3b593aa6
|
Fix ref duration
|
2024-11-29 21:46:10 +04:00 |
|
 IsaacandIsaac
|
005887b8a8
|
Stars ref
|
2024-11-29 17:05:02 +04:00 |
|
 IsaacandIsaac
|
be83150aba
|
[WIP] Star refs
|
2024-11-28 16:13:06 +04:00 |
|
Ilya Laktyushin
|
490d0f8ea7
|
Various improvements
|
2024-11-15 00:48:41 +04:00 |
|
Ilya Laktyushin
|
e7f6d60b73
|
Various improvements
|
2024-11-12 02:15:21 +04:00 |
|
Ilya Laktyushin
|
37c91f89c5
|
Various improvements
|
2024-11-07 16:32:33 +01:00 |
|
Ilya Laktyushin
|
3391371ea3
|
Various fixes
|
2024-10-31 20:37:29 +04:00 |
|
Ilya Laktyushin
|
30e4041149
|
Various improvements
|
2024-10-28 18:21:47 +04:00 |
|
Ilya Laktyushin
|
4806840989
|
Hashtag search improvements
|
2024-10-23 15:53:21 +04:00 |
|
Ilya Laktyushin
|
060c2e9c37
|
Various improvements
|
2024-10-14 18:41:24 +04:00 |
|
Ilya Laktyushin
|
89e3ae02a2
|
Various improvements
|
2024-10-09 00:05:41 +04:00 |
|
Ilya Laktyushin
|
1a3f7dc42d
|
Content reporting
|
2024-09-24 17:26:51 +04:00 |
|
Ilya Laktyushin
|
e27bb3a220
|
Various improvements
|
2024-09-01 16:03:17 +04:00 |
|
Ilya Laktyushin
|
7aaebe5d48
|
Stars giveaways
|
2024-08-27 20:42:47 +04:00 |
|