73 Commits
Author SHA1 Message Date
Ilya Laktyushin 3e6363abf9 Various improvements 2026-05-28 16:50:05 +02:00
Ilya Laktyushin 91eb779ae2 Merge commit 'c64653ed37ce9fe2bc74e260e9e960fcf3ab5dc1' 2026-05-14 12:45:26 +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
Ilya Laktyushin e3bf0cd30c Various fixes 2026-04-23 01:26:13 +02:00
isaac 524c29cbe3 Various improvements 2026-04-22 00:32:34 +04:00
isaac 3716f59e7d Cleanup 2026-04-20 18:55:27 +02:00
IsaacandClaude Opus 4.7 684796144c TextProcessing: style create/edit/delete, AI previews, and integration
Wires up TextProcessingScreen to the edit/delete AI text style facades,
renders AI text style webpage previews in chat bubbles, and exposes a
shared makeEmojiStatusSelectionController on SharedAccountContext so
the screen can present the emoji picker when assigning a style emoji.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 23:45:18 +02:00
Ilya Laktyushin 0df319742a Update API 2026-04-16 01:18:22 +02:00
Isaac 41d6f727e0 Various improvements 2026-04-10 17:21:36 +02:00
Ilya Laktyushin 7d65064f9b Various improvements 2026-02-25 04:38:32 +04:00
Ilya Laktyushin 5d50aa34af Various improvements 2026-02-23 21:25:25 +04:00
Isaac 0f5a019f04 Glass updates 2026-01-11 21:01:45 +04:00
Isaac 4a13c3830a Glass 2025-12-26 20:29:30 +08:00
Isaac 6758fa57cc Adjust avatar inset 2025-10-11 01:07:26 +08:00
Isaac b9b38e5fbf Various improvements 2025-10-11 00:56:21 +08:00
Isaac 70be4f840f Update localization 2025-10-02 00:48:42 +08:00
Isaac 7ed1261193 Various improvements 2025-09-23 21:59:54 +08:00
Isaac ee749050f0 Bot forums 2025-08-19 17:24:33 +02:00
Isaac b4a0e8809c Temp 2025-08-15 09:18:26 +02:00
Isaac 06eaf81fa9 [WIP] Post suggestion 2025-06-17 13:55:44 +04:00
Isaac 1cbc239dc0 Monoforums 2025-06-04 23:38:44 +08:00
Isaac 7b72c1a034 Monoforums 2025-05-29 00:23:43 +08:00
Isaac db34a7c175 Monoforums 2025-05-28 17:05:37 +08:00
Isaac 8d65fb3495 Monoforums 2025-05-27 23:37:35 +08:00
Isaac 2a3e3ad4ba Monoforums 2025-05-24 00:05:48 +08:00
Isaac 9633013275 Monoforums 2025-05-23 15:56:01 +08:00
Isaac 56532e3ab8 Monoforums 2025-05-22 19:39:52 +08:00
Isaac f1d0f694f5 [WIP] Monoforums 2025-05-21 00:23:48 +08:00
Isaac 09c49d47d9 [WIP] Monoforums 2025-05-16 21:03:00 +08:00
Isaac f90402102b [WIP] Monoforums 2025-05-14 00:50:46 +08:00
Isaac 140efd6cfd [WIP] Monoforums 2025-05-10 18:02:55 +01:00
Isaac 0e119dd6f1 [WIP] Monoforums 2025-05-08 20:56:55 +01:00
Isaac 603d5754db [WIP] Post suggestions 2025-04-23 12:18:56 +04:00
Isaac faa765b601 Various optimizations 2025-03-04 14:13:07 +01:00
Ilya Laktyushin 8d7f9bf372 Various improvements 2025-02-22 19:17:36 +04:00
Ilya Laktyushin d167aa4b0e Update API [skip ci] 2025-02-18 10:09:58 +04:00
Ilya Laktyushin 6e850130fd Update API [skip ci] 2024-12-26 07:27:14 +04:00
Ilya Laktyushin dce651616e Update API [skip ci] 2024-12-18 21:40:23 +04:00
Isaac caf10fe889 Various improvements 2024-10-25 11:24:06 +02:00
Ilya Laktyushin ab6d94b4eb Codes improvements 2024-09-21 02:24:36 +04:00
Ilya Laktyushin 987befccc4 Ads and codes improvements 2024-09-19 17:47:49 +04:00
Isaac 923587b0da [WIP] Dynamic video streaming 2024-09-18 01:04:29 +08:00
Ilya Laktyushin d761d9314c Various improvements 2024-09-01 10:32:03 +04:00
Isaac d8d7264772 Various improvements 2024-08-14 23:52:04 +08:00
Isaac 03ee1379b2 Adjust stars animation 2024-08-12 12:20:02 +04:00
Isaac 6e13876636 Star reactions 2024-08-09 16:55:53 +04:00
Isaac 289273dcd9 Update API [skip ci] 2024-08-08 14:15:32 +04:00
Isaac 3ff98fd2a8 [WIP] Star reactions 2024-08-06 15:00:29 +04:00
Ilya Laktyushin 3e448e833e Story covers 2024-07-19 17:43:17 +04:00
Isaac a4b4bb5a82 [WIP] Bot previews 2024-07-16 19:12:26 +08:00