Commit graph

2414 commits

Author SHA1 Message Date
John Preston
f31b40f6ce Add stories outline to group participants list. 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
91cc5f5284 Fix small stories thumbnails in profile / my stories. 2023-07-20 07:20:47 +04:00
John Preston
06469270d0 Remove hidden stories from contacts box. 2023-07-20 07:20:46 +04:00
John Preston
ee507722ba Add stories counter to hidden stories sources. 2023-07-20 07:20:33 +04:00
John Preston
57b7391f53 Improve design of contacts according to mockups. 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
9a29807276 Show stories segments in contacts list. 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
a79deb89ce Update API scheme on laydr 160. 2023-07-20 07:20:33 +04:00
John Preston
ef1f1846a4 Respect PowerSaver in TranslateBox. 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
a73490e5ad Add simple scroll control to Hidden Stories. 2023-07-20 07:20:14 +04:00
John Preston
d567282430 Preload stories in the sources lists. 2023-07-20 07:20:14 +04:00
John Preston
e21c06f67c Support deleting and reporting stories. 2023-07-20 07:20:12 +04:00
John Preston
8d2fd4bd69 Show only hidden stories in Contacts. 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
e41fc69513 Show nice short info box from viewers dropdown. 2023-07-20 07:20:11 +04:00
John Preston
ad5b96b049 Show toasts on reply / archive / unarchive. 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
087c27c5e0 Fix expire calculations for the 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
d82381881a Allow sending stickers / GIFs in story replies. 2023-07-20 07:20:09 +04:00
John Preston
04e7ce4408 Update API scheme on layer 160: Replies. 2023-07-20 07:20:09 +04:00
John Preston
2c5d990e1c Implement full theming of attachments in stories. 2023-07-20 07:20:08 +04:00
John Preston
a02876562a Finish improved stories reply area theming. 2023-07-20 07:20:08 +04:00
John Preston
2bc7f465c2 Hide "Close friends" in privacy edit by default. 2023-07-20 07:20:08 +04:00
John Preston
429a3da3e5 Update API scheme to layer 160. 2023-07-20 07:20:07 +04:00
John Preston
04a3a50e74 Show error when trying change number from TDesktop. 2023-05-24 18:11:17 +04:00
John Preston
65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
Klemens Nanni
11906297d8 Explicitly specify QVector element type to fix build with clang13+range-v3+qt6
Same story as 2b383a4 for #24014.
Fixes 4.8.0 build on OpenBSD/amd64 7.3 with clang 13.0.0, range-v3 0.12.0 and Qt 6.5.0.
2023-04-27 09:59:32 +04:00
John Preston
ad238108bd Fix background dimming slider initial visibility. 2023-04-24 22:50:36 +04:00
John Preston
81f40586a3 Don't re-apply exactly the same custom chat wallpaper. 2023-04-24 22:47:31 +04:00
John Preston
5ad4719c08 Correctly handle shareable->non-shareable conversion. 2023-04-24 21:39:21 +04:00
John Preston
faf6352a11 Support colorized emoji in reactions inline dropdown. 2023-04-24 20:59:19 +04:00
John Preston
e285b22398 Add "Send when online" to the send button context menu. 2023-04-22 22:26:09 +04:00
John Preston
27aa678f6a Version 4.8: Fix build with GCC. 2023-04-22 16:09:52 +04:00
23rd
2e85f7e5fc Fixed bottom padding below description field in bot management box. 2023-04-21 14:39:43 +03:00
John Preston
05b8b9f22e Show pin confirmation correctly in topics. 2023-04-21 15:09:06 +04:00
John Preston
7dfed2a012 Disable some bot editing items while there is no design. 2023-04-21 14:23:54 +04:00
23rd
47756fb8c3 Removed focus from disabled editor in UsernamesBox for bots. 2023-04-21 00:23:49 +03:00
23rd
efa19d5782 Added check of bot info with correct lang code to bot management box. 2023-04-21 00:13:11 +03:00
John Preston
66e7f1d490 Fix dimming edition for new wallpapers. 2023-04-20 23:05:54 +04:00
John Preston
4617ba5fb9 Add couple of phrases to the langpack. 2023-04-20 23:02:33 +04:00
John Preston
65f54d937f Toggle wallpaper dark mode / edit dimming. 2023-04-20 22:55:42 +04:00
John Preston
ae6d703a44 Always show current custom wallpaper. 2023-04-19 11:15:50 +04:00
John Preston
0b25d19e3b Allow uploading chat wallpapers from file. 2023-04-19 10:42:01 +04:00
John Preston
9130735ed6 Add a 'Choose from file' button in wallpapers gallery. 2023-04-18 22:07:12 +04:00