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
|
6b7a23867c
|
Postbox -> TelegramEngine wave 45
PeerInfoHeader* update(peer:) bundle: Peer? -> EnginePeer?.
Four update methods across PeerInfoHeaderNode, PeerInfoHeaderEditingContentNode,
PeerInfoEditingAvatarNode, PeerInfoEditingAvatarOverlayNode.
Drops wave-43 ADD-WRAP bridges (net ~-11 wraps). Stored
PeerInfoHeaderNode.peer: Peer? field stays raw (out of scope).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-04-25 00:02:22 +04: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 |
|
Ilya Laktyushin
|
532a3ae3e1
|
Various fixes
|
2026-04-16 21:45:26 +02:00 |
|
Isaac
|
1bb139ff32
|
Various improvements
|
2026-02-03 20:17:44 +08:00 |
|
Isaac
|
87187bd414
|
Fixes
|
2026-01-02 23:11:51 +08:00 |
|
Isaac
|
61108c162b
|
Saved messages search
|
2025-12-29 19:05:22 +08:00 |
|
Isaac
|
c3c82f4e9b
|
Fixes
|
2025-12-29 02:20:50 +08:00 |
|
Isaac
|
f4f3ed1d54
|
Adjust colors
|
2025-12-26 22:27:03 +08:00 |
|
Isaac
|
4a13c3830a
|
Glass
|
2025-12-26 20:29:30 +08:00 |
|
Isaac
|
3486393f99
|
Glass
|
2025-12-20 03:02:08 +08:00 |
|
Isaac
|
5561667d04
|
Glass
|
2025-12-13 02:45:39 +08:00 |
|
Isaac
|
a63c90aa00
|
Glass
|
2025-12-12 23:58:00 +08:00 |
|
Isaac
|
0055396d4d
|
Update
|
2025-11-26 23:05:30 +08:00 |
|
Ilya Laktyushin
|
85f8bde398
|
Various fixes
|
2025-09-25 23:19:21 +04:00 |
|
Ilya Laktyushin
|
3e71e2428b
|
Fix profile buttons display with reduced transparency on
|
2025-09-12 02:17:36 +04:00 |
|
Isaac
|
dbcc62ee40
|
Merge commit 'b9e5a3f3de'
# Conflicts:
# submodules/TelegramCore/Sources/State/Serialization.swift
# submodules/TelegramCore/Sources/TelegramEngine/Payments/StarGifts.swift
# submodules/TelegramCore/Sources/TelegramEngine/Themes/ChatThemes.swift
|
2025-09-05 15:26:45 +02:00 |
|
Isaac
|
1d06c3f058
|
Bot forums v2
|
2025-09-05 15:25:50 +02:00 |
|
Ilya Laktyushin
|
b9e5a3f3de
|
Various improvements
|
2025-09-05 17:39:32 +05:00 |
|
Ilya Laktyushin
|
3f9820f2ef
|
Various fixes
|
2025-09-03 21:37:47 +05:00 |
|
Ilya Laktyushin
|
b1bcf52a09
|
Various fixes
|
2025-09-01 13:14:37 +04:00 |
|
Ilya Laktyushin
|
34ff4d1f16
|
Various improvements
|
2025-08-28 02:55:00 +04:00 |
|
Ilya Laktyushin
|
1802a28686
|
Various improvements
|
2025-08-28 02:40:18 +04:00 |
|
Ilya Laktyushin
|
e7c698d5f1
|
Various fixes
|
2025-08-23 21:40:21 +04:00 |
|
Ilya Laktyushin
|
6e3c3940c2
|
Various fixes
|
2025-08-23 11:41:30 +04:00 |
|
Ilya Laktyushin
|
a60a437206
|
Various improvements
|
2025-08-22 21:46:07 +04:00 |
|
Ilya Laktyushin
|
0bac271cdb
|
[WIP] Saved music
|
2025-08-21 09:08:35 +04:00 |
|
Isaac
|
b4a0e8809c
|
Temp
|
2025-08-15 09:18:26 +02:00 |
|
Isaac
|
18a491fa48
|
Various improvements
|
2025-08-08 12:41:03 +02:00 |
|
Isaac
|
a25bedd36b
|
Rating
|
2025-08-05 17:43:59 +02:00 |
|
Isaac
|
179c1341be
|
Various improvements
|
2025-08-01 21:29:26 +02:00 |
|
Isaac
|
61b3025654
|
Fix colors
|
2025-08-01 16:22:26 +02:00 |
|
Isaac
|
375c2a6b6e
|
Various improvements
|
2025-08-01 16:07:23 +02:00 |
|
Isaac
|
edd33a0103
|
Update localization
|
2025-07-29 20:54:12 +02:00 |
|
Isaac
|
e574e2def7
|
Improvements
|
2025-07-29 19:22:41 +02:00 |
|
Isaac
|
7377b811e1
|
Various improvements
|
2025-07-29 13:44:38 +02:00 |
|
Isaac
|
ef01d24f02
|
Story folders
|
2025-07-28 20:42:23 +02:00 |
|
Isaac
|
bd797798e1
|
Rating
|
2025-07-28 18:00:24 +02:00 |
|
Isaac
|
865cebe0e7
|
Levels
|
2025-07-28 11:55:56 +02:00 |
|
Isaac
|
6ff5012e18
|
Rating
|
2025-07-28 00:29:25 +02:00 |
|
Isaac
|
b8ac955792
|
Update
|
2025-07-25 17:40:09 +02:00 |
|
Isaac
|
43bb746776
|
Hide in-progress features
|
2025-07-20 19:26:13 +02:00 |
|
Isaac
|
a6544e5d57
|
Story folders
|
2025-07-18 16:10:54 +02:00 |
|
Isaac
|
5ad4331eeb
|
WIP
|
2025-07-17 10:34:19 +02:00 |
|
Isaac
|
2ed6f9616b
|
Peer star rating
|
2025-07-11 14:53:02 +04:00 |
|
Isaac
|
0e119dd6f1
|
[WIP] Monoforums
|
2025-05-08 20:56:55 +01:00 |
|
Ilya Laktyushin
|
5956d5142f
|
Various improvements
|
2025-03-21 18:41:49 +04:00 |
|
Ilya Laktyushin
|
c6718b3a5e
|
Various fixes
|
2025-03-13 15:31:01 +04:00 |
|
Ilya Laktyushin
|
369116767a
|
Various fixes
|
2025-03-12 18:57:22 +04:00 |
|
Ilya Laktyushin
|
5ee53ad996
|
Various fixes
|
2025-03-12 00:40:11 +04:00 |
|