John Preston
75f542747d
Fix build with GCC.
2023-07-20 20:12:47 +04:00
John Preston
da5bce00d4
Gray out names of users with non-unread stories.
2023-07-20 19:17:46 +04:00
John Preston
4402cce928
Allow archive with stories only.
2023-07-20 07:20:57 +04:00
John Preston
734c5c6740
Use a single Ui::UnreadStoryOutlineGradient.
2023-07-20 07:20:57 +04:00
John Preston
5f4dcc5eb6
Show segments in expanded stories list.
2023-07-20 07:20:57 +04:00
John Preston
94820f36ba
Improve expanded state of small amount of stories.
2023-07-20 07:20:56 +04:00
John Preston
3c28e7b585
Mark as read recent stories in profile top bar.
2023-07-20 07:20:56 +04:00
John Preston
5368507259
Improve lock/unlock icon behavior.
2023-07-20 07:20:56 +04:00
John Preston
91cc5f5284
Fix small stories thumbnails in profile / my stories.
2023-07-20 07:20:47 +04:00
John Preston
196447ac19
Fix build with GCC.
2023-07-20 07:20:46 +04:00
John Preston
6607848abc
Fix build with GCC.
2023-07-20 07:20:46 +04:00
John Preston
05cf8d034e
Improve touch-screen stories overscroll.
2023-07-20 07:20:46 +04:00
John Preston
7b911897fc
Remove legacy summaries from stories list.
2023-07-20 07:20:46 +04:00
John Preston
70ca3d4f1a
Show hidden stories in archive.
2023-07-20 07:20:46 +04:00
John Preston
61b8aac7c4
Allow manually toggle stories expand state.
2023-07-20 07:20:46 +04:00
John Preston
85795aa376
Working stories in overscroll.
2023-07-20 07:20:44 +04:00
John Preston
a0ffa15885
Update story mention layout, add outline.
...
Also use uint32 for bool-bitfields, otherwise:
int a : 1 = 0;
...
const auto test = true;
const auto b = test ? 1 : 0;
if (a != b) {
a = b;
...
}
Assert(a == b); // Violation, because a == -1, not 1 (after a = b).
2023-07-20 07:20:33 +04:00
John Preston
451c4e3101
Implement vertical list of hidden story sources.
2023-07-20 07:20:33 +04:00
John Preston
f0ab6e5690
Update main menu and stories icons.
2023-07-20 07:20:33 +04:00
John Preston
6c960243a9
Improve story source context menus.
2023-07-20 07:20:32 +04:00
John Preston
3d795f2f67
Implement story mention messages.
2023-07-20 07:20:32 +04:00
John Preston
71e341237d
Improve touchscreen chats list stories physics.
2023-07-20 07:20:14 +04:00
John Preston
7f583f86c0
Nice expand / collapse animations.
2023-07-20 07:20:14 +04:00
John Preston
aa2cf2f6ca
Collapse stories on chat open.
2023-07-20 07:20:14 +04:00
John Preston
8d2fd4bd69
Show only hidden stories in Contacts.
2023-07-20 07:20:12 +04:00
John Preston
19d0bf142c
Improve empty / archived stories section.
2023-07-20 07:20:12 +04:00
John Preston
d2dd63e90a
Show active stories in profile top bar.
2023-07-20 07:20:12 +04:00
John Preston
e98770d418
Improve saved / archive stories design.
2023-07-20 07:20:12 +04:00
John Preston
bafb4f91b4
Update API scheme on layer 160.
2023-07-20 07:20:11 +04:00
John Preston
c1be4d6451
Hide self in small stories userpics.
2023-07-20 07:20:10 +04:00
John Preston
087c27c5e0
Fix expire calculations for the stories.
2023-07-20 07:20:10 +04:00
John Preston
7f8a985067
Start stories overview in profile / My Stories.
2023-07-20 07:20:10 +04:00
John Preston
b71d72ca7c
Allow showing stories in different contexts.
2023-07-20 07:20:10 +04:00
John Preston
e7c0385aea
Show hidden stories above contacts list.
2023-07-20 07:20:10 +04:00
John Preston
f40391b4f0
Support two lists of stories sources.
2023-07-20 07:20:10 +04:00
John Preston
d0e1ac1238
Start hiding stories from chats list.
2023-07-20 07:20:10 +04:00
John Preston
f814e401b9
Mark stories as read.
2023-07-20 07:20:09 +04:00
John Preston
4a67641460
Load more story users on demand.
2023-07-20 07:20:09 +04:00
John Preston
4e165a2107
Sort chats list stories by unread state.
2023-07-20 07:20:09 +04:00
John Preston
7a042c23e9
Use real stories data, open from chats list.
2023-07-20 07:20:09 +04:00
John Preston
d57ada8a64
Show stories summary status in chats list.
2023-07-20 07:20:08 +04:00
John Preston
1fc37178b7
Show names for chats list stories.
2023-07-20 07:20:08 +04:00
John Preston
16128d61c0
Implement nice stories list scrolling.
2023-07-20 07:20:08 +04:00
John Preston
1d27c8c940
Paint nice stories userpics in chats list.
2023-07-20 07:20:08 +04:00
John Preston
864959aee0
Hide login code with a spoiler in chats list.
2023-04-27 15:23:36 +04:00
John Preston
2a4c39b9d7
Implement some power saving options.
2023-03-01 09:12:02 +04:00
John Preston
f2ed77649e
Preload complex last message on demand.
2023-02-09 09:56:54 +04:00
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
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
John Preston
b78b27f517
Move dialogs_layout to dialogs/ui/.
2021-10-04 23:45:21 +04:00