Ilya Laktyushin
3e6363abf9
Various improvements
2026-05-28 16:50:05 +02:00
Ilya Laktyushin
91eb779ae2
Merge commit ' c64653ed37'
2026-05-14 12:45:26 +02:00
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
8408e0ae19
Postbox -> TelegramEngine waves 27-36
...
Consumer-sweep, facade-addition, and Peer→EnginePeer migrations:
- Wave 27: preferencesView consumer sweep
- Wave 28: resourceData consumer sweep
- Wave 29: resourceStatus consumer sweep
- Wave 30: _asStatus() bridge cleanup
- Wave 31: unused-import sweep re-run
- Wave 32: resourceStatus residue sweep
- Wave 33: loadedPeerWithId consumer sweep
- Wave 34: FoundPeer.peer Peer -> EnginePeer
- Wave 35: SendAsPeer.peer Peer -> EnginePeer
- Wave 36: ContactListPeer.peer Peer -> EnginePeer
Also includes per-wave specs, implementation plans, outcome logs, and
a CLAUDE.md wave-counter update.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 11:24:13 +04:00
isaac
7919556375
Postbox -> TelegramEngine wave 20: shortLivedResourceCachePathPrefix consumer sweep
...
22 call sites across 16 consumer modules migrated to the wave-19 facade:
context.account.postbox.mediaBox.shortLivedResourceCachePathPrefix(resource.id)
->
context.engine.resources.shortLivedResourceCachePathPrefix(id: EngineMediaResource.Id(resource.id))
ItemListStickerPackItem additionally drops the wave-18 `let rawResource` intermediate.
Skipped: MediaEditorComposerEntity.swift:245 (uses local `postbox:` init-param,
not `context.account.postbox`; needs its own wave). No modules become Postbox-free
this wave — each still has other Postbox usage.
2026-04-21 02:27:39 +04:00
Ilya Laktyushin
b138b9f549
Stickers & emoji search pagination
2026-04-19 18:32:40 +02:00
Isaac
d147c63b68
Refactoring
2026-04-07 11:31:22 +02:00
Isaac
8422b48216
Glass gallery
2026-01-27 21:04:08 +08:00
Isaac
ca6fdc1629
Glass
2026-01-25 00:31:18 +08:00
Isaac
7acf2b0b41
Forum improvements
2025-11-11 20:05:29 +08:00
Isaac
b9b38e5fbf
Various improvements
2025-10-11 00:56:21 +08:00
Ilya Laktyushin
4657ac752d
Various improvements
2025-09-27 01:27:56 +04:00
Ilya Laktyushin
5d43f14ccb
Various improvements
2025-09-23 16:04:39 +04:00
Ilya Laktyushin
fb7b93fbdc
Various improvements
2025-09-22 07:45:25 +04:00
Ilya Laktyushin
4b8d87b05f
Merge commit ' 202274073f' into call-messages
2025-09-17 22:05:40 +04:00
Ilya Laktyushin
cb523192d5
Various improvements
2025-09-17 20:58:42 +04:00
Isaac
5b15e139fd
Fix reaction selection glitches
...
(cherry picked from commit 7d5185ed4d )
2025-07-09 17:48:15 +04:00
Isaac
a23deded22
Cleanup
2025-06-28 19:48:34 +02:00
Isaac
1cd1c1e0b3
Merge branch 'temp-ppp'
...
# Conflicts:
# submodules/TelegramUI/Sources/AccountContext.swift
2025-03-14 15:37:17 +01:00
Isaac
daaa6a7e2e
IOSurface experiment
2025-03-14 15:34:16 +01:00
Isaac
383ab9e479
Various improvements
2025-03-07 17:52:50 +01:00
Isaac
faa765b601
Various optimizations
2025-03-04 14:13:07 +01:00
Isaac
6c4070eb52
Serialization update
2025-02-14 19:11:58 +04:00
Isaac
47c35dff70
Merge commit ' d92c751b6f'
2024-12-23 21:43:40 +08:00
Isaac
d9957ecf4e
Custom vibrance effect
2024-12-23 21:43:25 +08:00
Ilya Laktyushin
5451053195
Various improvements
2024-12-22 17:16:14 +04:00
Ilya Laktyushin
c4013c3df6
Various improvements
2024-11-29 00:28:50 +04:00
Isaac
113733d92d
Fix reaction search
2024-09-03 21:23:13 +08:00
Isaac
bdfe639f3e
Various improvements
2024-08-20 18:16:59 +08:00
Isaac
4ceb3ac58b
Various improvements
2024-08-16 21:41:36 +08:00
Isaac
03ee1379b2
Adjust stars animation
2024-08-12 12:20:02 +04:00
Isaac
17408cbb9a
Add star background effect
2024-08-09 19:38:30 +04:00
Isaac
6e13876636
Star reactions
2024-08-09 16:55:53 +04:00
Isaac
1655f69f08
Adjust star size
2024-08-06 16:17:58 +04:00
Isaac
3ff98fd2a8
[WIP] Star reactions
2024-08-06 15:00:29 +04:00
Isaac
d820ad65e1
Stars reactions
2024-08-02 21:15:11 +08:00
Isaac
05372b578c
[WIP] Stars reactions
2024-07-30 23:44:19 +08:00
Isaac
8af8de7096
Reaction experiments
2024-06-28 19:36:15 +02:00
Isaac
ad1ddf65c0
Stars reaction test [skip ci]
2024-06-27 14:39:09 +02:00
Isaac
47555ae97d
Update localization
2024-06-17 21:16:22 +04:00
Isaac
9a075fa39e
Refactoring
2024-06-12 23:04:04 +04:00
Isaac
667aa0349a
[WIP] Edit message preview
2024-05-26 18:59:44 +04:00
Isaac
fe788ed9ea
Message preview and effect improvements
2024-05-21 00:02:55 +04:00
Isaac
5545bdd978
Improvements
2024-05-17 18:12:37 +04:00
Isaac
feb80f5922
Fix emoji search indication
2024-05-14 15:56:32 +04:00
Isaac
7ef63a81df
[WIP] Message effects
2024-05-10 20:57:12 +04:00
Isaac
16faaa4575
[WIP] Send message effects
2024-05-03 22:56:50 +04:00
Isaac
be5bec8680
Merge commit ' e7df32ca3d'
...
# Conflicts:
# submodules/TelegramUI/Sources/Chat/ChatControllerLoadDisplayNode.swift
2024-04-30 23:41:16 +04:00
Isaac
e0c2800e8f
[WIP] Message context menu
2024-04-30 23:40:55 +04:00
Ilya Laktyushin
2b6a8e202e
Various fixes
2024-04-30 12:58:20 +04:00