Commit Graph
49 Commits
Author SHA1 Message Date
isaacisaacClaude Opus 4.7
c0acc09cb1 Postbox -> TelegramEngine wave 44
Migrate RenderedChannelParticipant.peers from [PeerId: Peer] to
[EnginePeer.Id: EnginePeer]. Closes the wave-41 ratchet — the public
struct no longer leaks raw Peer types in any field (presences stays
Postbox-typed; separate migration).

Consumer-surface: -10 bridges. Dropped 6 EnginePeer(peer) read-wraps
at participant.peers[...] extraction sites across
ChannelAdminsController, ChannelMembersSearchContainerNode,
ChannelBlacklistController. Dropped 5 .mapValues({ $0._asPeer() })
constructor-unwrap transforms in ChannelAdminsController,
ChannelMembersSearchContainerNode, ChannelMembersSearchControllerNode.
Added 2 ._asPeer() unwraps in ChatRecentActionsHistoryTransition at
the two iteration sites (line 673 via participant.peers, line 2273
via new.peers in participantSubscriptionExtended) where the iterated
value is inserted into a raw-Peer SimpleDictionary.

TelegramCore producers: 8 files build the local peers dict inside
postbox.transaction and wrap at the insertion point. ChannelMembers,
RequestStartBot, ChannelOwnershipTransfer, JoinChannel, AddPeerMember,
PeerAdmins, ChannelBlacklist, Ranks.

2-iteration build convergence. Iteration-1 surfaced new.peers at
ChatRecentActionsHistoryTransition:2272 that the plan's participant.peers
pre-flight grep missed; wider grep now confirms the two iteration sites
are the complete surface.

No unit tests in this project; full Telegram/Telegram build verified
under configuration=debug_sim_arm64.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 23:21:05 +04:00
isaacisaacClaude Opus 4.7
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
IsaacandIsaac 9a4327116d Refactor 2026-03-10 00:38:36 +01:00
Ilya Laktyushin 0d12dd29ad Various improvements 2026-01-25 22:17:49 +04:00
IsaacandIsaac 0c3530d8a8 Glass 2025-12-10 00:16:36 +08:00
IsaacandIsaac 4bed1703a2 Emoji in chat folders 2024-12-25 00:17:19 +08:00
Ilya Laktyushin dc68eab568 Merge branch 'master' into stars-subscriptions 2024-07-30 11:29:42 +02:00
AliandAli 95947fdb99 Refactoring [skip ci] 2023-04-20 18:43:29 +04:00
AliandAli 6a548e11a6 Refactoring [skip ci] 2023-04-19 23:47:38 +04:00
AliandAli 1656ecff49 - Forum improvements
- Global autoremove settings
2022-11-25 23:08:40 +04:00
AliandAli 3ec3cce9c1 [WIP] Topics 2022-10-23 00:22:27 +04:00
Ilya Laktyushin 851f106afd Various Fixes 2022-01-31 22:35:34 +03:00
Ilya Laktyushin cc5de9372f Add peer categories in members lists 2022-01-23 03:22:19 +03:00
AliandAli 49279a33f0 Refactoring 2021-09-23 19:57:25 +03:00
AliandAli 6e5c503338 Refactoring 2021-09-20 14:51:46 +03:00
AliandAli 1a04fb4408 Refactor SyncCore back into TelegramCore 2021-07-21 21:43:20 +02:00
AliandAli 7bed1728bb Refactor string generation 2021-07-20 11:57:50 +02:00
Ilya Laktyushin 00727f45e8 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2021-07-07 03:12:17 +03:00
Ilya Laktyushin 4a853bf13d Add stickerpack strip expansion 2021-07-07 03:12:07 +03:00
AliandAli 9134bae908 Refactoring 2021-07-07 01:59:12 +04:00
Ilya Laktyushin afd1184408 Video Chat Improvements 2021-05-26 13:17:57 +04:00
Ilya Laktyushin a1a926c5cf Voice Chat fixes 2021-03-11 23:01:46 +04:00
Ilya Laktyushin e673a3153f Added list view accessibility scrolling localization 2021-02-19 20:27:25 +04:00
AliandAli 7b1377f121 Support admins with empty rights 2021-02-18 17:11:01 +04:00
Ilya Laktyushin a47a83e9a9 Various Fixes 2021-02-12 16:54:07 +04:00
Ilya Laktyushin fa125d0192 Various Improvements 2021-01-17 10:18:10 +03:00
AliandAli 53b762dab0 UI fixes 2020-12-15 20:22:47 +04:00
AliandAli a9b4910ba7 Voice chat fixes 2020-12-14 17:50:52 +04:00
AliandAli 9388ddafb1 Merge commit 'b1ca1470ed3c9af6944bfde1ea8c7ee0cf61d7eb' 2020-12-08 21:11:54 +04:00
AliandAli 3f6c0124a8 Update localization 2020-12-08 21:10:58 +04:00
Ilya Laktyushin b1ca1470ed Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2020-12-08 21:07:03 +04:00
Ilya Laktyushin e94885aa08 Voice Chat UI improvements 2020-12-08 21:06:03 +04:00
AliandAli 60a808aea8 Voice chat fixes 2020-12-08 18:23:47 +04:00
Ilya Laktyushin c1d731400f Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2020-12-06 21:11:37 +04:00
Ilya Laktyushin 63bd91f33b Voice Chat UI fixes 2020-12-06 21:10:37 +04:00
AliandAli 0c2085d628 Voice chat fixes 2020-12-06 16:31:28 +00:00
AliandAli 3e3c9e2005 Voice chat UI improvements 2020-12-04 13:42:42 +00:00
AliandAli b08e5eb0cf Voice chat UI changes 2020-12-04 01:34:16 +00:00
AliandAli 1b8cd5e9e0 Comment improvements 2020-09-03 17:09:26 +01:00
AliandAli 04efb74bfa Updates too many to describe 2020-05-08 18:42:36 +04:00
AliandAli 5faa143d6f Implement content restriction API 2019-12-08 02:52:11 +04:00
Ilya Laktyushin 7ef1f54f4e Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2019-11-20 07:38:29 +04:00
Ilya Laktyushin b1602e651a Cleanup ListView layout animation duration and curve calculations 2019-11-20 07:25:59 +04:00
AliandAli eaa8bcb08e Support Dynamic Type 2019-11-19 23:28:36 +04:00
AliandAli 8ad20aa51c Don't display deleted users in channel member search 2019-11-12 17:43:29 +04:00
PeterandPeter 53ae0fa5e9 Dismiss keyboard when dragging 2019-10-25 23:08:27 +04:00
PeterandPeter 10692a323e Refactor SyncCore 2019-10-21 16:58:00 +04:00
PeterandPeter 538e3dbe70 Upgraded navigation 2019-09-14 00:13:50 +04:00
PeterandPeter b6316ab12c Refactor PeerInfoUI and related modules 2019-08-15 14:12:19 +03:00