Commit Graph

86 Commits

Author SHA1 Message Date
John Preston 567216f41f Fix crash in topic jump ripple animation.
Fixes #25500.
2022-12-29 17:48:33 +04:00
John Preston be8aeb0d96 Fix week name display in chats list.
Fixes #25625.
2022-12-29 10:27:22 +04:00
John Preston b334a1f4fd Support spoilers in chats list media previews. 2022-12-28 14:07:38 +04:00
Ilya Fedin 66093f0cb5 cTimeFormat/cDateFormat -> QLocale::ShortFormat
This allows to use platform-specific formatting functions
2022-12-28 10:28:12 +04:00
John Preston faf6c48f25 Remove ui/special_buttons module. 2022-12-26 14:24:06 +04:00
John Preston 833a259234 Colorize emoji in text color correctly. 2022-12-26 14:24:06 +04:00
John Preston 1b73b34810 Make HistoryItem a final class. 2022-12-26 14:24:04 +04:00
John Preston a8106aa38d Fix glitches in search results. 2022-12-06 20:33:17 +04:00
John Preston 2d6bac5a28 Fix background color in collapsed row with child list. 2022-12-06 13:05:05 +04:00
John Preston cb653df0f6 Support adaptive forum userpic rounding radius. 2022-12-05 16:18:10 +04:00
John Preston 2407ac50bc Improve shading of collapsed chats list. 2022-12-05 10:07:54 +04:00
John Preston 88b555e907 Fix incorrect topic names in forum preview row. 2022-12-05 08:55:39 +04:00
John Preston a4e4681835 Add jump-to-topic panel in View as Messages. 2022-12-02 18:20:22 +04:00
John Preston 32491ead5e Animate child topics list open / close. 2022-12-01 18:03:20 +04:00
23rd 4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
John Preston 188c6ba64a Paint expanded topics indicator. 2022-11-30 13:57:00 +04:00
John Preston 823bbb1b77 Fix jump-to-topic area and unread counter overlapping. 2022-11-30 13:55:46 +04:00
John Preston 623176e901 Show loading state for non-loaded forum topics list. 2022-11-29 18:30:38 +04:00
John Preston 8cd5105813 Fix unread badge render glitch. 2022-11-29 18:30:38 +04:00
John Preston ebf46e1270 Paint unread counter in expanded archive row. 2022-11-23 23:01:05 +01:00
John Preston 79a2d85287 Fix build with GCC. 2022-11-22 00:28:07 +00:00
John Preston f97e5d6307 Fix build with Xcode. 2022-11-22 00:26:49 +00:00
John Preston bb106b07af Show small unread mark for non-opened topics. 2022-11-22 00:26:49 +00:00
John Preston 561e3f4809 Handle clicks on topic jump area. 2022-11-22 00:26:48 +00:00
John Preston ede34578da Display jump to last topic message bubble. 2022-11-22 00:26:48 +00:00
John Preston 4c8187f623 Topics list in forum chats list entry. 2022-11-22 00:26:48 +00:00
John Preston 37308cde21 Support dialog rows with variable height. 2022-11-22 00:26:48 +00:00
John Preston 8ee28f6665 Skip forum send action painting. 2022-11-09 10:22:07 +04:00
John Preston 991fe491c5 Animate emoji only twice in chats list. 2022-11-07 14:32:06 +04:00
John Preston 34a2c5c8ce Display topic name in chats list. 2022-11-02 16:39:13 +04:00
John Preston ee8f997c14 Implement search inside a single topic. 2022-11-01 19:25:43 +04:00
John Preston 60aef7871a Append server-side topic search results. 2022-11-01 19:25:43 +04:00
John Preston d6ee5b3456 Show forum messages search results with topics. 2022-11-01 19:25:42 +04:00
John Preston 97d8aa0a0d Add a distinct forum icon in chats list. 2022-11-01 19:25:42 +04:00
John Preston 92bf925fd0 Show locked topic icon in topics list. 2022-11-01 19:25:41 +04:00
John Preston eab23df174 Improve narrow topics column in forum. 2022-11-01 19:25:41 +04:00
John Preston f9173ea849 Improve top bar design for forum / topic. 2022-11-01 19:25:41 +04:00
John Preston 4910a60499 Track mentions / reactions together with unread. 2022-11-01 19:25:40 +04:00
John Preston 89d0a71591 Update API scheme on layer 148: Drafts in topics. 2022-11-01 19:25:38 +04:00
John Preston b8bdca8921 Extract Data::Thread common for History / ForumTopic. 2022-11-01 19:25:37 +04:00
John Preston 2c0b5b3210 Track unread mentions / reactions in topics. 2022-11-01 19:25:36 +04:00
John Preston f258b054e8 Request last topic message if it becomes unknown. 2022-11-01 19:25:36 +04:00
John Preston b13471672d Move some chat styles from basic.style to chat.style. 2022-11-01 19:25:34 +04:00
John Preston 405d8c327d Support different row styles in chats list. 2022-11-01 19:25:34 +04:00
John Preston 1401b19994 Add PaintContext for Dialogs::Ui::RowPainter. 2022-11-01 19:25:34 +04:00
John Preston eaf679916a Create / move forum topics on new messages. 2022-11-01 19:25:32 +04:00
Ilya Fedin 7b5781b845 Use default-constructed QLocale for date/time/whatever else formatting
Qt 6 chenged the QDateTime API to use QLocale::c() rather than QLocale::system(), using default-constructed QLocale will make this consistent and overradable application-wide

Other formating use-cases as QLocale::decimalPoint use default-constructed QLocale now, too
2022-10-17 08:33:22 +04:00
John Preston 4f948699c0 Correct spoiler selections. 2022-09-18 16:52:31 +04:00
John Preston 749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
John Preston 2d07539892 Support colored emoji statuses. 2022-09-02 21:14:33 +04:00