Commit Graph
70 Commits
Author SHA1 Message Date
isaacisaacClaude Opus 4.7
86d1456552 Postbox -> TelegramEngine waves 107-137 (squashed)
31 waves of consumer-side migration from `import Postbox` to TelegramEngine
typealiases. Net: 173 import drops + 39 BUILD-dep drops + 1 new typealias
(`EngineStoryId = StoryId`, wave 113).

Wave shapes used:
- Orphan-import sweeps (107, 108, 128): drop `import Postbox` from files
  whose only Postbox-symbol reference was the import line itself, then
  resolve build failures. Methodology requires token-level (`grep -oE`)
  filtering, not line-level, to avoid masking real Postbox usage on lines
  that also contain `Namespaces.X` references.
- Identifier-swap mini-waves (109-127, 129-134, 136-137): rename
  Postbox-typealiased identifiers to engine equivalents
  (PeerId -> EnginePeer.Id, MessageId -> EngineMessage.Id,
  MediaId -> EngineMedia.Id, MessageIndex -> EngineMessage.Index,
  StoryId -> EngineStoryId, ItemCollectionId -> EngineItemCollectionId,
  PreferencesEntry -> EnginePreferencesEntry,
  FetchResourceSourceType/Error -> EngineFetchResourceSourceType/Error,
  MemoryBuffer -> EngineMemoryBuffer, MessageTags -> EngineMessage.Tags,
  MessageAttribute -> EngineMessage.Attribute,
  TempBox -> EngineTempBox).
- Asset-string FP-only orphans (124).
- Typealias addition + drain (113): added `EngineStoryId` typealias to
  TelegramCore, then drained 3+11 consumer sites.

Hard blockers identified during these waves (must restore `import Postbox`
when present): MediaResource[A-Za-z]* (any suffix -- the literal
`MediaResource` matches don't catch MediaResourceData/MediaResourceId/etc.),
Postbox/MediaBox/MediaResource raw types, PostboxCoding/PostboxEncoder/
PostboxDecoder, TempBoxFile, ValueBoxKey, PostboxView, combinedView,
HashFunctions, postboxLog, openPostbox, declareEncodable, PeerView,
MessageHistoryView, MessageHistoryThreadData, CachedPeerData, RenderedPeer,
SelectivePrivacyPeer, SimpleDictionary, ItemCollectionInfosView,
ItemCollectionItem, ItemCollectionItemIndex, ItemCollectionViewEntryIndex,
ChatListIndex, ChatListEntrySummaryComponents, CodableEntry,
MessageHistoryThread, MessageHistoryAnchorIndex,
MessageHistoryEntryLocation, PeerStoryStats, PeerNameIndex,
PeerSummaryCounterTags, ChatListTotalUnreadStateCategory/Stats,
arePeersEqual. Protocol-shape blockers: bare `Peer`/`Message`/`Media`
in function signatures, generic args, enum-case payloads, or dict value
types (e.g., `[PeerId: Peer]`, `case messages([Message])`,
`Signal<(Peer?, ...), NoError>`).

`replace_all PeerId -> EnginePeer.Id` is dangerous: mangles compound
names like `failedPeerId`, `ContactListPeerId`, `nextRemoteMediaId`,
`replyToMessageId`. Pre-flight grep `\b[a-z][a-zA-Z]*PeerId\b` and only
replace_all if 0 matches.

Also removes unneeded design/plan docs from a separate (link-highlighting)
feature branch:
- docs/superpowers/plans/2026-05-02-link-highlighting-modern-path-fixes.md
- docs/superpowers/specs/2026-05-02-link-highlighting-modern-path-fixes-design.md

Squashed commits: 6d82c2980d..e6de5d53a3 (59 commits, including
per-wave content commits and per-wave CLAUDE.md bumps).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-03 10:28:50 +02:00
Ilya Laktyushin 1fa0c7991c Various fixes 2026-04-17 11:06:56 +02:00
IsaacandIsaac 34477605b1 Various improvements 2026-03-31 20:24:24 +08:00
Ilya Laktyushin 28d4e1e171 Various improvements 2025-12-16 20:05:44 +04:00
IsaacandIsaac c2c99edf89 Emoji bottom panel 2025-10-01 00:10:10 +08:00
IsaacandIsaac cfbd75f03d Fix entity inputs 2025-09-29 00:51:42 +08:00
IsaacandIsaac 5a8bd1d98d Temp 2025-09-16 10:11:54 +04:00
IsaacandIsaac 4337026fba Glass 2025-09-01 18:44:03 +02:00
Ilya Laktyushin 10ac25e1cb Various improvements 2025-01-27 23:44:07 +04:00
Ilya Laktyushin 4216ee3933 Various improvements 2024-07-13 18:13:58 +04:00
IsaacandIsaac 9a075fa39e Refactoring 2024-06-12 23:04:04 +04:00
Ilya Laktyushin f81856351a Various improvements 2024-03-28 13:23:23 +04:00
IsaacandIsaac ac9c6a5f7f Business features 2024-03-26 01:32:26 +04:00
Ilya Laktyushin b909d1bea0 Group boosts 2024-02-06 16:18:26 +04:00
IsaacandIsaac 66b3d8b874 [WIP] Colored profiles 2023-11-22 01:05:47 +04:00
AliandAli 8051e43e4c [WIP] Custom channel reactions 2023-11-04 00:37:02 +04:00
Ilya Laktyushin 2107f94bc3 Various improvements 2023-10-20 21:56:12 +04:00
Ilya Laktyushin 7fbac7ddc0 Various improvements 2023-10-18 23:59:56 +04:00
Ilya Laktyushin a80709842e Various fixes 2023-08-09 14:16:08 +02:00
Ilya Laktyushin 74faad7a03 Various improvements 2023-08-05 15:32:12 +02:00
Ilya Laktyushin 6c7b921030 Fix stickers search 2023-07-12 20:17:01 +02:00
Ilya Laktyushin dc0d4d25bf Various improvements 2023-07-07 07:02:54 +02:00
Ilya Laktyushin a4297cf1c5 Various fixes 2023-07-06 21:28:29 +02:00
Ilya Laktyushin 9d5f5c137d Various improvements 2023-07-04 03:18:54 +02:00
Ilya Laktyushin 5b51f35b36 Various improvements 2023-07-03 11:52:02 +02:00
Ilya Laktyushin 803b887a2e Camera and editor improvements 2023-06-21 16:54:12 +04:00
AliandAli b65d4c2243 UI improvements 2023-01-27 17:16:26 +01:00
AliandAli 2a0ab901ae UI improvements 2023-01-27 02:32:01 +01:00
AliandAli 3b42f14613 UI improvements 2023-01-23 14:36:47 +04:00
AliandAli 263778c906 UI improvements 2023-01-20 18:18:44 +04:00
Ilya Laktyushin ab9d4748ec Various fixes 2023-01-19 16:14:44 +04:00
AliandAli 6d8c7243e5 Permission and search UI improvements 2023-01-17 23:02:57 +04:00
Ilya Laktyushin 89481bdef2 Initial avatar editor implementation 2023-01-11 01:05:10 +04:00
Ilya Laktyushin a0f3cfef58 Various improvements 2022-12-25 10:33:53 +04:00
Ilya Laktyushin 84bbf58e88 Various fixes 2022-12-19 17:04:37 +04:00
Ilya Laktyushin 8985192fa1 Various fixes 2022-12-18 13:46:59 +04:00
Ilya Laktyushin 77df1cf45a Various improvements 2022-12-17 15:35:00 +04:00
Ilya Laktyushin 02e06779ef Drawing 2022-12-03 21:57:32 +04:00
Ilya Laktyushin 58f9896a10 Various fixes 2022-11-26 16:16:37 +04:00
Ilya Laktyushin d1ef404d37 Emoji search improvements 2022-11-18 20:00:13 +04:00
AliandAli ab76f8b02a [WIP] Reaction UI improvements 2022-09-14 00:03:32 +04:00
AliandAli 64b1eab732 UI improvements 2022-09-09 21:34:27 +04:00
AliandAli 78c9c2b15c Reaction improvements 2022-09-05 21:48:49 +04:00
AliandAli 93cb743468 Emoji improvements 2022-09-01 03:12:43 +04:00
AliandAli ffe00ac2e1 Reaction improvements 2022-08-19 22:51:12 +03:00
AliandAli 97239853a2 [WIP] Custom reactions 2022-08-12 23:36:56 +04:00
AliandAli 04ea87c1e3 [WIP] Emoji statuses 2022-08-05 23:16:30 +04:00
AliandAli 680e56bc7b Emoji improvements 2022-08-02 04:57:19 +04:00
AliandAli 095b9d5058 Emoji 1.1 WIP 2022-08-01 02:22:35 +04:00
AliandAli f6ad7dc77a Residual coding 2022-07-29 18:32:51 +02:00