Commit Graph

15017 Commits

Author SHA1 Message Date
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 06469270d0 Remove hidden stories from contacts box. 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 08ee386b28 Fix build for macOS. 2023-07-20 07:20:33 +04:00
John Preston 1c914e40bb Closed alpha version 4.8.4.1. 2023-07-20 07:20:33 +04:00
John Preston 6a11888852 Poll views for my story that is viewed. 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 12fe0a836a Apply editions in realtime, show badge. 2023-07-20 07:20:33 +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 e41dba5fb2 Cache title controls layout. 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 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 f0ab6e5690 Update main menu and stories icons. 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 e66d9d5d24 Fix jump to top on a new message send. 2023-07-20 07:20:33 +04:00
John Preston fcc15dd52d Open profile on header click. 2023-07-20 07:20:33 +04:00
John Preston ac534780cc Implement context menu actions in stories list. 2023-07-20 07:20:33 +04:00
John Preston a733b83642 Use stories ShareBox from the saved stories list. 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 af0e578da5 Save to Profile / Archive stories from the viewer. 2023-07-20 07:20:32 +04:00
John Preston 6c960243a9 Improve story source context menus. 2023-07-20 07:20:32 +04:00
John Preston 074a4e3c92 Track stories deletion and refresh views. 2023-07-20 07:20:32 +04:00
John Preston 1d5b57c39c Add video story saved toast to viewer. 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 1cd20ff5e2 Implement custom scrolling using DirectManipulation.
Use it in Ui::RpWindow. This is an experiment.

Thanks Chromium and Firefox.
2023-07-20 07:20:29 +04:00
John Preston 24012a76b3 Fix stories snap-by-timeout on macOS. 2023-07-20 07:20:14 +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 fda2f56fd8 Don't copy empty selected text. 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 a73490e5ad Add simple scroll control to Hidden Stories. 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 aff094f278 Prevent some accidental story closing. 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 bc7da9309d Fix controls in regular media viewer. 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 d567282430 Preload stories in the sources lists. 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