Commit graph

3127 commits

Author SHA1 Message Date
John Preston
1207e84dcb Add reaction menu to story context menu. 2023-08-14 22:30:38 +02:00
John Preston
13f67d68c4 Implement custom reactions in stories. 2023-08-14 22:30:38 +02:00
John Preston
4bd925ac2c Implement simple UI for single-type likes in stories. 2023-08-14 22:30:37 +02:00
23rd
717041a462 Added ripple animation to message replies. 2023-08-14 22:30:36 +02:00
John Preston
dfe36f638b Correctly apply editions to media-edit-in-progress. 2023-08-10 18:19:00 +03:00
John Preston
bda3bae712 Always use crl::time for media durations. 2023-08-04 08:46:46 +02:00
23rd
eb2fa5b806 Added round corners to preview in pinned messages bar. 2023-08-04 08:46:45 +02:00
John Preston
61f4defa4d Partially revert "Support and use share comment in stories."
Send sharing comment as a separate message, like in posts sharing.
2023-07-28 21:20:18 +04:00
John Preston
815e9d2462 Call viewMessage only when marking as read. 2023-07-28 12:20:41 +04:00
John Preston
37ab65d952 Allow editing photos in messages in ComposeControls. 2023-07-26 10:47:19 +04:00
John Preston
e71f614f4d Fix a possible crash in messages list. 2023-07-26 09:48:44 +04:00
John Preston
885a8b3161 Attempt to fix a crash in pinned message translations. 2023-07-25 21:33:32 +04:00
23rd
fd33fb4e7a Fixed style of input field in boxes from compose controls in media view. 2023-07-24 23:09:11 +03:00
23rd
6d69a78a05 Fixed width updating of message field with hidden right buttons. 2023-07-24 17:52:06 +03:00
23rd
39f494eadd Removed display of right buttons in message field while editing message. 2023-07-24 17:52:06 +03:00
John Preston
fb4e05405e Support and use share comment in stories. 2023-07-24 11:43:20 +04:00
John Preston
2cc0faa5b3 Pause stories if reply context menu is shown. 2023-07-21 17:11:49 +04:00
John Preston
9d8d039886 Fix possible crash in pinned item translations. 2023-07-21 13:15:38 +04:00
John Preston
315b95a214 Fix voice recording indicator. 2023-07-21 12:58:36 +04:00
John Preston
e646205bca Version 4.8.5: Fix build. 2023-07-20 23:30:12 +04:00
John Preston
1bdab16d7b Pause story while previewing a voice note. 2023-07-20 23:13:35 +04:00
John Preston
68fa3e36d7 Fix story mention text updating. 2023-07-20 20:50:04 +04:00
John Preston
5b10b7e15f Use separate record cancel text in stories. 2023-07-20 19:39:24 +04:00
John Preston
92f2b6dfbf Fix unintentional stories viewer move-by-mouse-drag. 2023-07-20 10:00:29 +04:00
John Preston
734c5c6740 Use a single Ui::UnreadStoryOutlineGradient. 2023-07-20 07:20:57 +04:00
John Preston
b46799f2c3 Fix premium gift message layout. 2023-07-20 07:20:56 +04:00
John Preston
d46f974ab5 Fix mark-as-read of deleted accounts by Enter. 2023-07-20 07:20:56 +04:00
John Preston
ebd8380019 Use correct reply placeholder in stories view. 2023-07-20 07:20:47 +04:00
John Preston
641a03c988 Fix crash on mention story opening. 2023-07-20 07:20:46 +04:00
John Preston
08ee386b28 Fix build for macOS. 2023-07-20 07:20:33 +04:00
John Preston
5ccb97668c Add short-polling of stories. 2023-07-20 07:20:33 +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
5f72a5238c Save to Profile / Archive / Delete in list. 2023-07-20 07:20:33 +04:00
John Preston
3d795f2f67 Implement story mention messages. 2023-07-20 07:20:32 +04:00
John Preston
fba1b79252 Don't delete files on Shift+Drop on Windows. 2023-07-20 07:20:14 +04:00
John Preston
fda2f56fd8 Don't copy empty selected text. 2023-07-20 07:20:14 +04:00
John Preston
21543338d7 On typing in messages selection focus input field. 2023-07-20 07:20:14 +04:00
John Preston
3c44cf0251 Track all sponsored messages clicks. 2023-07-20 07:20:12 +04:00
John Preston
7ad5520b82 Support external links sponsored messages. 2023-07-20 07:20:12 +04:00
John Preston
1b581a1597 Support story link previews. 2023-07-20 07:20:12 +04:00
John Preston
e21c06f67c Support deleting and reporting stories. 2023-07-20 07:20:12 +04:00
John Preston
eb260b91c1 Improve unsupported stories design. 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
a2bf0fc511 Show unsupported stories with an Update button. 2023-07-20 07:20:11 +04:00
John Preston
ff835ec76c Show animation on story reaction sending. 2023-07-20 07:20:11 +04:00
John Preston
881867186a Load more saved / archive in the viewer. 2023-07-20 07:20:11 +04:00
John Preston
1c41df364c Improved shared story layout. 2023-07-20 07:20:11 +04:00
John Preston
c133f4de69 Display shared stories in message history. 2023-07-20 07:20:11 +04:00
John Preston
a933168ef7 Allow sharing stories and copying a link. 2023-07-20 07:20:11 +04:00
John Preston
10d64d6bdf Send story reactions as single-emoji messages. 2023-07-20 07:20:11 +04:00