Commit Graph

780 Commits

Author SHA1 Message Date
John Preston 0b32a0a1ea Lock scroll either horizontal or vertical. 2023-07-21 21:50:35 +04:00
John Preston 676a3f8cfa Open hidden stories by archive userpic click. 2023-07-21 20:31:10 +04:00
John Preston daef7faaa4 Don't open stories from userpic in narrow chats mode. 2023-07-21 20:23:52 +04:00
John Preston 87206a6c79 Use transparent outline for stories in chats list. 2023-07-21 19:49:58 +04:00
John Preston 6e3c3a8dd2 Collapse stories on archive open/close. 2023-07-20 21:42:35 +04:00
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 d7d493e0bf Don't open stories on saved messages click. 2023-07-20 13:55:30 +04:00
John Preston 585bbd45f4 Fix undesired lock/unlock button visibility. 2023-07-20 07:20:57 +04:00
John Preston b630e48a77 Improve chats list filter border. 2023-07-20 07:20:57 +04:00
John Preston 4402cce928 Allow archive with stories only. 2023-07-20 07:20:57 +04:00
John Preston 8818012182 Show segments around chats list userpics. 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 3b59f52028 Fix overscroll background on theme change. 2023-07-20 07:20:56 +04:00
John Preston 6b4ccd2995 Fix lock/unlock toggle without stories. 2023-07-20 07:20:56 +04:00
John Preston 3851fa27d9 Update lock/unlock icon. 2023-07-20 07:20:56 +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 39a1743e7e Fix overscroll in topics list. 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 dfd1aa5cd6 Fix empty stories list hiding. 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 e0c10e7cc2 Fix scroll-to-top in chats list visibility. 2023-07-20 07:20:33 +04:00
John Preston dc806d4286 Try ElasticScroll in Dialogs::Widget. 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 d7d8847c1d Show stories in chats list userpics. 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 e66d9d5d24 Fix jump to top on a new message send. 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 75d4ba7be1 Use scroll phase information from wheel events. 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 fba1b79252 Don't delete files on Shift+Drop on Windows. 2023-07-20 07:20:14 +04:00
John Preston b46659eb22 Restore scroll to collapsed stories in chats list. 2023-07-20 07:20:14 +04:00
John Preston c61e1b9139 Don't scroll through from chats list to stories. 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 010c666d23 Preload next stories inside the media viewer. 2023-07-20 07:20:14 +04:00
John Preston 4e39144d0f Resolve unknown story on open. 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