Commit graph

60 commits

Author SHA1 Message Date
isaac
c46249178d Disable forward name hiding for rich messages 2026-06-02 21:18:17 +02:00
Ilya Laktyushin
3e6363abf9 Various improvements 2026-05-28 16:50:05 +02:00
isaac
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
3c6ea30767 Various fixes 2026-04-26 01:07:12 +02:00
Ilya Laktyushin
1fa0c7991c Various fixes 2026-04-17 11:06:56 +02:00
Isaac
796826b0ad Various improvements 2026-03-31 22:42:02 +08:00
Ilya Laktyushin
b1a190f87a [WIP] Polls 2026-03-16 18:07:12 +01:00
Ilya Laktyushin
dca6b5f145 Various improvements 2026-03-12 13:51:27 +01:00
Isaac
2db08cde89 Glass 2026-01-13 19:21:49 +04:00
Isaac
4337026fba Glass 2025-09-01 18:44:03 +02:00
Ilya Laktyushin
b4832ff856 Update API 2025-07-14 12:50:11 +01:00
Isaac
7b18685825 Fix user suggest changes 2025-07-01 16:10:32 +02:00
Isaac
3e40713aad Various improvements 2025-06-26 20:29:23 +02:00
Isaac
9a14b076c6 Update API [skip ci] 2025-06-23 21:52:31 +02:00
Isaac
df3e2db84c Suggested posts 2025-06-20 15:37:26 +02:00
Isaac
ab470b6be7 [WIP] Post suggestion 2025-06-17 15:22:39 +04:00
Isaac
2c53fd2273 Update API 2025-06-13 02:15:04 +08:00
Isaac
c42b2bd9c0 Various improvements 2025-06-11 13:37:58 +08:00
Isaac
60f2b98ee8 Monoforums 2025-05-26 23:38:55 +08:00
Ilya Laktyushin
acae4de3fb Various fixes 2024-12-28 16:29:12 +04:00
Ilya Laktyushin
d09c539298 Various fixes 2024-06-28 00:01:40 +04:00
Ilya Laktyushin
5d2377bcb7 Various improvements 2024-06-15 20:34:07 +04:00
Isaac
2f177e9a48 Group call optimizations 2024-06-14 23:03:36 +04:00
Ilya Laktyushin
5470ba80ec Various improvements 2024-06-07 09:51:45 +04:00
Isaac
d7bb7d55b4 - Story search UI
- Delete message confirmation
2024-06-04 19:18:41 +04:00
Isaac
16faaa4575 [WIP] Send message effects 2024-05-03 22:56:50 +04:00
Ilya Laktyushin
2b6a8e202e Various fixes 2024-04-30 12:58:20 +04:00
Isaac
51fcc024d6 Various improvements 2024-02-06 00:06:31 +04:00
Isaac
dabe782b58 Fix build 2024-01-14 22:16:09 +04:00
Isaac
df1e522519 Update localization and hide new features 2024-01-14 22:13:41 +04:00
Isaac
eeba8a7db1 Privacy settings 2024-01-12 22:42:18 +04:00
Ilya Laktyushin
22d44c4db8 Various fixes 2023-12-29 12:52:40 +04:00
Isaac
0e75f18f14 [WIP] Saved messages 2023-12-25 22:58:09 +04:00
Isaac
61efee0d51 Local webpage preview experiment 2023-12-06 00:51:05 +04:00
Ali
8d9406465b Merge branch 'beta' 2023-11-06 23:56:38 +04:00
Ali
686f3c4a75 Unify link preview image size 2023-11-06 23:50:16 +04:00
Ali
2a02a41ac2 Precise quote support 2023-11-04 01:20:34 +04:00
Ali
bc3bdcd623 Support view as messages api 2023-11-04 00:36:52 +04:00
Ali
9c75edcc31 Compound webpage preview 2023-10-27 16:13:22 +04:00
Ali
47ef146565 Various improvements 2023-10-26 20:10:07 +04:00
Ali
25624f2ce1 Various improvements 2023-10-25 23:57:58 +04:00
Ali
be6ddfc28f Update localization 2023-10-25 00:29:39 +04:00
Ali
99047a4de4 Context menu pagination 2023-10-24 12:59:28 +04:00
Ali
29ee666889 Various improvements 2023-10-23 23:35:39 +04:00
Ali
82046c886b Various improvements 2023-10-23 20:09:08 +04:00
Ali
75ee418716 Various improvements 2023-10-23 17:41:52 +04:00
Ali
ab5e3ae947 Various improvements 2023-10-22 22:06:14 +04:00
Ali
4b8027bbe2 Various improvements 2023-10-22 01:22:12 +04:00
Ali
ad3e45a365 Update message option menus 2023-10-21 16:30:57 +04:00
Ali
c45607ffd6 Refactor url handling 2023-10-20 21:51:45 +04:00