Commit Graph

538 Commits

Author SHA1 Message Date
23rd 9e2b9acddb Fixed position of popup selector for messages with inline keyboard. 2026-07-13 21:46:58 +03:00
John Preston b5c839f261 Show underline and tooltip for rich message links 2026-07-10 14:04:32 +04:00
John Preston 7e57bd7186 Keep word/paragraph selection across article nodes in chat 2026-07-10 14:04:31 +04:00
23rd 88fec5742f Adapted ephemeral plate layout for round video messages. 2026-07-10 14:04:28 +04:00
23rd 9a16dafc3e Added display badge to view ephemeral messages. 2026-07-10 14:04:28 +04:00
John Preston ea0ba76035 Add a skip above rich messages. 2026-07-02 17:49:09 +04:00
John Preston fd759d9048 Fix rich message re-layout.
Fixes #30906.
2026-07-02 17:49:08 +04:00
John Preston 60cd89484b Fix copy of codeblock from rich message. 2026-07-02 17:48:58 +04:00
Denys Melnyk 24ccd1c92e Fix crash when finishing the appearing text animation
textAppearCheckLine() runs synchronously from inside the width and
height animation tick callbacks (textAppearWidthCallback /
textAppearHeightCallback). Calling RemoveComponents(TextAppearing::Bit())
there destroys those very animations (and their Ui::Animations::Simple
data) while the animations manager is still iterating them, leading to a
use-after-free / null _data dereference in Simple::value().

Defer the component removal to the next main loop iteration so the
running tick can unwind first.
2026-06-30 12:09:52 +04:00
23rd c9c02ad916 [poll-view] Fixed description being selected instead of question. 2026-06-23 22:59:58 +03:00
23rd a1f3ee5057 Added tooltip above link for hidden forwarded sender. 2026-06-22 20:27:09 +03:00
John Preston d4336a9046 Fix possible crash in rich messages. 2026-06-11 23:47:18 +04:00
John Preston b94f7da463 Replace [OBJ] with explicit TeX in flattened text. 2026-06-10 18:37:05 +04:00
John Preston 5098ca6373 Fix width of small rich messages. 2026-06-10 10:46:34 +04:00
John Preston f4ca73691d Fix reveal animation in rich messages. 2026-06-09 14:28:13 +04:00
John Preston 4796cbe939 Support jump-to-anchor in rich messages. 2026-06-09 14:28:12 +04:00
John Preston 7e8ad153cd Support partial rich messages. 2026-06-09 14:28:12 +04:00
John Preston b0505eb642 Use correct message view as host of media. 2026-06-09 14:28:11 +04:00
John Preston 3d45440a67 Support horizontal scroll for tables in IV. 2026-06-09 14:28:11 +04:00
John Preston 29a93b1260 Make block Code allowing of RichText. 2026-06-09 14:28:10 +04:00
John Preston 8c987c28f8 Remove legacy web-based Instant View. 2026-06-09 14:28:10 +04:00
John Preston d20bd0a53f Support animated Thinking block. 2026-06-09 14:28:09 +04:00
John Preston 599459a2ad Animated reveal for rich messages. 2026-06-09 14:28:09 +04:00
John Preston db03b237f6 Support selection in rich messages. 2026-06-09 14:28:09 +04:00
John Preston 596d8ee0ba Introduce MarkdownArticlePaintContext. 2026-06-09 14:27:38 +04:00
John Preston fa63d6416c Improve rich_message display styles. 2026-06-09 14:27:37 +04:00
John Preston a2b18e3400 Use MakeWrappedEmoji which forwards nullptr-s. 2026-06-09 14:27:37 +04:00
John Preston 5c825f352f Support basic display of IV in messages. 2026-06-09 14:27:37 +04:00
John Preston 3ea799391a Fix name overlapping emoji status. 2026-05-26 11:43:46 +04:00
John Preston e7bc456974 Improve design of IV parts. 2026-05-19 12:49:08 +04:00
23rd 3bfe2e520f [thanos] Excluded selection checks from snapshots in message deletes. 2026-05-18 10:36:52 +03:00
23rd 5df7666104 Added experimental option to remove width limit on text-only messages. 2026-05-14 18:27:01 +03:00
John Preston c681d41c10 Guest chat info link position fix. 2026-05-11 13:34:48 +04:00
John Preston 647e3b4b4f Adjust width of file albums by captions. 2026-05-05 23:27:49 +04:00
John Preston a65593cadd Fix userpic painting for guest chat bot messages. 2026-05-05 10:45:43 +04:00
John Preston ffe5f1ac00 Support guest chat bot messages. 2026-05-05 10:45:43 +04:00
23rd bf7c6acba9 Fixed display of popup selector for top peers in replies history. 2026-04-23 21:09:43 +03:00
John Preston 56851519da Fix possible layout bug with media. 2026-04-21 23:24:12 +07:00
John Preston 810ebff849 Fix clickable geometry of "via @bot". 2026-04-21 23:01:19 +07:00
John Preston f34e62f24a Fix text appearing height animation. 2026-04-21 16:26:32 +07:00
John Preston c9ca79ab47 Don't remember incorrect value in textRealWidth. 2026-04-19 16:34:36 +07:00
Sergey A. Osokin d53ee9c241 Fix warnings. 2026-04-17 22:04:20 +07:00
John Preston 5eed8136dd Fix layout for RTL messages. 2026-04-17 12:31:58 +07:00
John Preston 59e9a91a1e First text appearing animation duration floor. 2026-04-14 22:32:34 +07:00
John Preston ab61ddaf16 Disable shrink-to-text with media shown. 2026-04-14 13:22:52 +07:00
John Preston 9af4fb4a26 Improve text-tight bubble width, appear animation. 2026-04-12 17:43:00 +07:00
John Preston 24edbf43ed Implement gradient-reveal for text appearing. 2026-04-12 16:18:42 +07:00
John Preston 045cb6822f Fix timestamp text appearing glitch. 2026-04-11 14:06:58 +07:00
John Preston ac3c731b64 Use text real width for bubbles. 2026-04-10 21:16:33 +07:00
John Preston b4b3446135 Add loading draft streaming animation. 2026-04-10 15:33:01 +07:00