Commit Graph
53 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 9c15b8c27d Various improvements 2026-04-25 17:32:26 +02:00
Ilya Laktyushin 28d4e1e171 Various improvements 2025-12-16 20:05:44 +04:00
IsaacandIsaac bdca60c3d0 Update 2025-09-30 20:54:54 +08:00
Ilya Laktyushin 10ac25e1cb Various improvements 2025-01-27 23:44:07 +04:00
IsaacandIsaac 9a075fa39e Refactoring 2024-06-12 23:04:04 +04:00
IsaacandIsaac 7c0216b907 Effect improvements 2024-05-20 18:51:35 +04:00
IsaacandIsaac 66b3d8b874 [WIP] Colored profiles 2023-11-22 01:05:47 +04:00
AliandAli 48d1a9fba9 Update icon 2023-11-09 21:22:22 +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 1502134ca6 Audio rate fixes 2023-03-02 11:04:50 +04:00
AliandAli bb7ffa6191 Low power experiments 2023-02-14 17:48:09 +04:00
AliandAli 4b2902ac71 UI improvements 2023-01-31 12:42:37 +01:00
AliandAli 05b4d6f3ca UI improvements 2023-01-27 11:21:05 +01:00
Ilya Laktyushin ab9d4748ec Various fixes 2023-01-19 16:14:44 +04:00
AliandAli 2cb2717ce7 Support colored emoji 2022-12-10 00:22:38 +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 b924ea326e Emoji status and reaction improvements 2022-08-30 18:38:47 +04:00
AliandAli 2495a30c33 Reaction and status improvements 2022-08-29 03:36:53 +04:00
AliandAli ffe00ac2e1 Reaction improvements 2022-08-19 22:51:12 +03:00
AliandAli f1e4e2dc7b [WIP] Reactions 2022-08-16 22:19:22 +03:00
AliandAli feb899920c [WIP ]Emoji statuses 2022-08-09 22:58:03 +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
AliandAli 57213bbeb8 Use round selection for featured tab 2022-07-25 21:17:41 +02:00
AliandAli 75f68cc6fe Fix layout 2022-07-25 02:27:31 +02:00
AliandAli 42d748ce4d Emoji fixes 2022-07-25 01:20:57 +02:00
AliandAli ccdd8efc6e Emoji improvements 2022-07-24 23:27:31 +02:00
AliandAli 2f6cf1618c Emoji improvements 2022-07-24 23:14:47 +02:00
AliandAli c95c59661a Emoji improvements 2022-07-24 20:55:19 +02:00
AliandAli 99207385b1 Emoji improvements 2022-07-24 16:23:12 +02:00
AliandAli d7a851d61f Gif improvements 2022-07-24 16:14:16 +02:00
AliandAli 6fd38af0fe Emoji improvements 2022-07-24 15:25:27 +02:00
AliandAli cb83ca4ec8 Fix again 2022-07-24 03:44:56 +02:00
AliandAli 3347f0514e Emoji improvements 2022-07-24 03:15:19 +02:00
AliandAli 61b47ada27 Emoji improvements 2022-07-22 23:30:46 +02:00
AliandAli 806536a4cd Emoji input improvements 2022-07-21 03:30:22 +02:00
AliandAli b56132cbc1 Emoji improvements 2022-07-20 01:32:47 +02:00
AliandAli c141531c7b Animated emoji improvements 2022-07-19 03:38:07 +02:00
AliandAli 0577baac79 Emoji input improvements 2022-07-15 03:37:03 +02:00
AliandAli c51b58ca72 [WIP] Entity input panel 2022-07-13 01:21:54 +02:00
AliandAli 1ac654e8b2 [Temp] custom emoji layouts 2022-07-08 15:09:55 +02:00
AliandAli e99cefa2d6 Ongoing work on the updated entity input 2022-07-05 19:16:06 +02:00
AliandAli 087bf3352e Sticker input rewrite continued 2022-07-02 00:04:43 +02:00