48 Commits
Author SHA1 Message Date
Ilya Laktyushin 3e6363abf9 Various improvements 2026-05-28 16:50:05 +02:00
isaacandClaude 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
Isaac ca6fdc1629 Glass 2026-01-25 00:31:18 +08:00
Isaac 2db08cde89 Glass 2026-01-13 19:21:49 +04:00
Isaac aa890a14f5 Various improvements 2025-09-26 23:09:24 +08:00
Ilya Laktyushin e351bbfd42 Various fixes 2025-03-01 19:38:31 +04:00
Isaac 6c4070eb52 Serialization update 2025-02-14 19:11:58 +04:00
Isaac efae3b90a7 Support Xcode 15.3 2024-04-02 19:16:00 +04:00
Ali 6f5d2b3292 Refactoring 2023-10-08 22:46:18 +04:00
Ali 62765b241d Memory management issues 2023-09-21 00:12:53 +02:00
Ali e8dab90584 [WIP] Stories 2023-05-10 00:36:37 +04:00
Ali b324029366 Energy settings 2023-02-14 23:12:59 +04:00
Ali b92d21f9d7 Emoji UI improvements 2023-01-24 14:25:26 +01:00
Ilya Laktyushin 77df1cf45a Various improvements 2022-12-17 15:35:00 +04:00
Ilya Laktyushin 1750bc5a73 Revert "Fix stickers search panel"
This reverts commit 601fbfadad.
2022-11-19 14:24:21 +04:00
Ilya Laktyushin 601fbfadad Fix stickers search panel 2022-11-19 13:55:12 +04:00
Ali 93cb743468 Emoji improvements 2022-09-01 03:12:43 +04:00
Ilya Laktyushin b337ce0b05 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2022-07-16 15:27:30 +02:00
Ilya Laktyushin f21265881e Various improvements 2022-07-16 15:21:52 +02:00
Ali 89ecb672c7 Animated emoji autocompletion 2022-07-15 16:05:37 +02:00
Ali c51b58ca72 [WIP] Entity input panel 2022-07-13 01:21:54 +02:00
Ali 131be5aaab Input node improvements 2022-06-28 22:54:05 +02:00
Ali 0f1b382265 [Temp] Input panel progress 2022-06-21 21:47:01 +01:00
Ali 5b6e5a7509 [Temp] New input pane 2022-06-19 21:24:54 +01:00
Ilya Laktyushin 3d4a2ebe4b Various improvements 2022-06-06 14:46:30 +04:00
Ali 0dd4f9d438 Merge commit '8aca1f28fb3faf48a85feb33216ce673a4ad438a' 2022-05-29 02:09:28 +04:00
Ali a183d69534 Refactoring 2022-05-29 02:09:25 +04:00
Ilya Laktyushin 7b0e7a47af Various improvements 2022-05-28 19:28:58 +04:00
Ilya Laktyushin 00d343a892 Various improvements 2022-05-22 23:06:33 +04:00
Ilya Laktyushin b0396c8d15 Various improvements 2022-05-22 01:05:56 +04:00
Ilya Laktyushin 4b41660767 Various improvements 2022-05-20 23:11:45 +04:00
Ilya Laktyushin 3fb304bd6f Various improvements 2022-05-19 21:15:31 +04:00
Ilya Laktyushin 7b95219e14 Various Improvements 2022-04-27 00:55:00 +04:00
Ilya Laktyushin bc4952ce81 Various improvements 2022-04-26 00:24:56 +04:00
Ilya Laktyushin 71bde57b6a Various Improvements 2022-04-23 05:28:29 +04:00
Ilya Laktyushin 9994bb44ad Further attach menu refinements 2022-02-13 04:11:04 +03:00
Ilya Laktyushin 3a865c3e6a Various Fixes 2021-09-18 00:56:08 +03:00
Ilya Laktyushin 1f285271b2 Various Improvements 2021-09-17 21:25:13 +03:00
Ilya Laktyushin 0f87a813e9 Set choosing sticker activity when interacting with search by emoji 2021-09-14 12:18:37 +03:00
Ali 1a04fb4408 Refactor SyncCore back into TelegramCore 2021-07-21 21:43:20 +02:00
Ilya Laktyushin 302cfa6390 Improve context panels appearance animation 2021-06-17 16:22:53 +03:00
Ilya Laktyushin 6eb0726390 Add bot commands menu 2021-06-15 19:35:43 +03:00
Ali 3b621f0075 Combo update 2021-06-10 01:15:00 +04:00
Ilya Laktyushin 4a465a5893 Upgrade peek controller to modern context menu implementation 2021-05-07 21:16:24 +04:00
Ilya Laktyushin a33ca84134 Voice Chat UI improvements 2020-12-15 20:33:09 +04:00
Ali b9aeb28c0d UI fixes 2020-06-02 16:38:24 +04:00
Ali 189f0d4306 Fix sticker suggestions menu 2020-05-27 01:27:17 +04:00
Ali 2ab830e3a1 GIF-related improvements 2020-05-22 19:13:47 +04:00