Commit Graph

51 Commits

Author SHA1 Message Date
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
John Preston cece9cf09b Show in chats list EntityType::Pre like EntityType::Code. 2022-09-02 21:14:29 +04:00
John Preston 21fd381778 Show emoji status in chats list / top bar. 2022-09-02 21:14:28 +04:00
John Preston 8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
John Preston f8e22210e7 Move Webm sticker to UnwrappedMedia. 2022-08-04 13:35:34 +03:00
23rd 1a6b6e6084 Fixed right padding of text in dialogs entries with unread reactions. 2022-07-26 20:12:10 +03:00
John Preston 68ee753fc7 Fix sender name / media color in chats list previews. 2022-07-26 20:12:09 +03:00
John Preston 6d17226c7f Don't show bold markup in chats list previews. 2022-07-26 20:12:09 +03:00
John Preston b976aa0872 Support custom emoji in chats list entries. 2022-07-26 20:12:08 +03:00
John Preston 705753efb2 Use small userpic video in dialogs list / chat history. 2022-06-03 15:58:02 +04:00
John Preston d81bba155a Update some premium icons. 2022-05-20 19:28:50 +04:00
John Preston 8a87f2996a Fix build with Xcode. 2022-05-19 19:11:45 +04:00
John Preston 73bacfc650 Animate video userpics in chat history. 2022-05-19 17:27:03 +04:00
John Preston 201edb2e69 Play premium video avatars in chats list. 2022-05-19 17:27:03 +04:00
John Preston 22dc842705 Gray unread reaction mention in muted chats. 2022-03-16 10:11:16 +04:00
Klemens Nanni 6decece009 Remove unused variables 2022-02-28 23:11:07 +03:00
23rd 4dee21c0e6 Added userpics support to sponsored messages. 2022-02-25 19:41:16 +03:00
John Preston d15af0c5f0 Use red chats list badge for unread reactions. 2022-02-25 14:14:42 +03:00
John Preston d7c63b85ed Simplify main menu cover according to the mockup. 2022-02-25 14:14:42 +03:00
John Preston bce19c7151 Adjust main menu accounts to the mockup. 2022-02-25 14:14:42 +03:00
John Preston 98e7de01b0 Improve naming in dialogs_layout module. 2022-01-31 16:17:34 +03:00
John Preston 8f33d5903d Display unread reactions badge in chats list. 2022-01-28 19:10:07 +03:00
John Preston e9c79886d2 Track unread mentions and unread reactions the same way. 2022-01-28 19:10:07 +03:00
John Preston 6207770120 Paint unread mention badge as an icon. 2022-01-28 19:10:07 +03:00
23rd e451eb5126 Removed text commands from dialogs list. 2022-01-12 11:54:24 +03:00
23rd b55ed7214a Removed text commands from history item components. 2022-01-12 11:54:24 +03:00
23rd f2c7237d5f Moved item preview structs to separated file. 2021-12-29 21:22:33 +03:00
John Preston c534f3f22e Some internal HistoryItem refactoring.
Replace most IsServerMsgId / id <=> 0 with isRegular().
Track isLocal / isHistoryEntry in flags.
Remove toHistoryMessage.
2021-11-07 12:50:13 +04:00
CoderTimZ c9e24c2283 Display dates with the system date format 2021-10-11 21:56:29 +04:00
John Preston 24fa3dbf8f Beta version 3.1.6: Fix build on macOS. 2021-10-06 11:10:06 +04:00
John Preston 730412fefe Load albums of last chat messages. 2021-10-04 23:47:33 +04:00
John Preston 992d636680 Generate album mini previews with up-to-three images. 2021-10-04 23:47:33 +04:00
John Preston d5f935b73d Put mini-previews after sender name. 2021-10-04 23:47:33 +04:00
John Preston 792b9090a7 Generate mini-previews for photos and files. 2021-10-04 23:45:21 +04:00
John Preston 8c21fad642 Move preview paint to Dialogs::Ui::MessageView. 2021-10-04 23:45:21 +04:00
John Preston 5136cc3c9c Rename Dialogs::Layout to Dialogs::Ui. 2021-10-04 23:45:21 +04:00