isaac
|
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 |
|
Isaac
|
16c630b946
|
Refactoring
|
2026-04-03 15:50:39 +08:00 |
|
Ilya Laktyushin
|
5efa8f63c0
|
Various fixes
|
2026-02-27 21:41:43 +04:00 |
|
Ilya Laktyushin
|
e12e096919
|
Various fixes
|
2026-02-27 00:53:51 +04:00 |
|
Isaac
|
2db08cde89
|
Glass
|
2026-01-13 19:21:49 +04:00 |
|
Ilya Laktyushin
|
0915a42e64
|
Various improvements
|
2025-10-16 05:30:06 +04:00 |
|
Ilya Laktyushin
|
a0e96582dd
|
Update API [skip ci]
|
2025-09-19 12:20:21 +04:00 |
|
Isaac
|
931e34e1bd
|
Temp
|
2024-11-27 17:37:21 +04:00 |
|
Isaac
|
16faaa4575
|
[WIP] Send message effects
|
2024-05-03 22:56:50 +04:00 |
|
Ilya Laktyushin
|
8f38831261
|
Various improvements
|
2023-12-19 14:15:09 +04:00 |
|
Isaac
|
b66f748969
|
[WIP] Channel appearance
|
2023-12-15 15:13:40 +04:00 |
|
Ilya Laktyushin
|
4c010cb5d2
|
Name color improvements
|
2023-10-27 14:02:18 +04:00 |
|
Ali
|
77a5857a25
|
Sharing refactoring
|
2023-08-15 23:57:04 +04:00 |
|
Ali
|
614c74b0b0
|
[WIP] Modern cache
|
2022-12-17 00:17:31 +04:00 |
|
Ilya Laktyushin
|
4955f9301e
|
Dark theme improvements
|
2022-10-23 21:24:09 +03:00 |
|
Ali
|
93a7f7ece8
|
[WIP] Topics
|
2022-10-23 18:03:26 +04:00 |
|
Ali
|
c51b58ca72
|
[WIP] Entity input panel
|
2022-07-13 01:21:54 +02:00 |
|
Ali
|
a9c595a640
|
Another feed experiment
|
2022-03-18 22:55:06 +04:00 |
|
Ali
|
4a8f28b866
|
Temp: reaction improvements
|
2021-12-10 19:34:57 +04:00 |
|
Ilya Laktyushin
|
680f0a7814
|
Various Fixes
|
2021-10-29 00:23:17 +04:00 |
|
Ilya Laktyushin
|
66b7729e13
|
Various Fixes
|
2021-10-28 23:32:09 +04:00 |
|
Ilya Laktyushin
|
641d4b9ca0
|
Various Fixes
|
2021-10-28 20:49:51 +04:00 |
|
Ilya Laktyushin
|
f844077ecb
|
Various Fixes
|
2021-10-28 18:56:40 +04:00 |
|
Ilya Laktyushin
|
d86b655413
|
Various fixes
|
2021-10-28 00:23:37 +04:00 |
|
Ilya Laktyushin
|
7860375458
|
Various fixes
|
2021-10-27 15:53:59 +04:00 |
|
Ilya Laktyushin
|
6b0fb9097b
|
Various settings UI improvements
|
2021-10-26 14:57:50 +04:00 |
|
Ilya Laktyushin
|
461f9b874c
|
Various settings UI improvements
|
2021-10-25 19:16:03 +04:00 |
|
Ilya Laktyushin
|
cfe88ffc9c
|
Various fixes
|
2021-10-24 15:14:19 +04:00 |
|
Ilya Laktyushin
|
d60588b3f1
|
Various Improvements
|
2021-10-22 18:59:41 +04:00 |
|
Ilya Laktyushin
|
7508fc7290
|
Various Improvements
|
2021-10-18 17:50:15 +04:00 |
|