Commit Graph

1260 Commits

Author SHA1 Message Date
John Preston 4bd925ac2c Implement simple UI for single-type likes in stories. 2023-08-14 22:30:37 +02:00
John Preston 3adb0c1856 Show correct reply placeholder in stealth mode. 2023-08-14 22:30:37 +02:00
John Preston c12297d8cb Implement stealth mode in stories. 2023-08-14 22:30:37 +02:00
Ilya Fedin f7bff01793 Fullscreen hack for Windows 11 native resize 2023-08-10 20:04:27 +04:00
John Preston 21b06f390c Fix initial video playback speed.
Regression was introduced in b663edff09.
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 39e8ed22a9 Removed display of all layers in media view on open any media. 2023-08-04 08:46:46 +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 b663edff09 Improve silent stories playback. 2023-07-28 11:48:16 +04:00
23rd 7149119098 Fixed style of media player controls. 2023-07-28 10:06:27 +03:00
23rd 16e5792f3a Improved style of buttons in stickers search results. 2023-07-26 12:06:51 +04:00
John Preston ce39431beb Don't jump by scroll events in stories viewer. 2023-07-26 12:01:53 +04:00
John Preston 3654c197a9 Fix DirectManipulation scroll events in media viewer. 2023-07-26 12:00:57 +04:00
John Preston 35f0f87f73 Fix possible crash in story deletion.
Fixes #26571.
2023-07-25 20:24:14 +04:00
John Preston a85f33f7d3 Fix reactions strip glitch in story reply sending. 2023-07-25 20:08:26 +04:00
John Preston 6098e5ac33 Close stories on Key_Right press on last one. 2023-07-25 18:03:02 +04:00
John Preston 0f2e8d9a79 Add a small scale for stories siblings. 2023-07-25 17:59:53 +04:00
John Preston 5aa6102903 Implement nice expandable story caption viewer. 2023-07-25 17:48:31 +04:00
John Preston 8cc90c3373 Fix media viewer with MacBook top notch. 2023-07-25 12:30:52 +04:00
23rd 921aeb3083 Removed display of all layers in media view on open story. 2023-07-24 23:33:37 +03:00
23rd fd33fb4e7a Fixed style of input field in boxes from compose controls in media view. 2023-07-24 23:09:11 +03:00
John Preston fce8bc6201 Add stories-above-chats-list tooltip. 2023-07-24 21:42:13 +04:00
John Preston 2323aef899 Show nice tooltips about story privacy / silence. 2023-07-24 17:01:33 +04:00
John Preston fb4e05405e Support and use share comment in stories. 2023-07-24 11:43:20 +04:00
John Preston e7312697bf In the viewer remember which story was opened. 2023-07-21 18:49:54 +04:00
John Preston c0b7577db9 If opening an unread story show only unread. 2023-07-21 18:21:42 +04:00
John Preston 2cc0faa5b3 Pause stories if reply context menu is shown. 2023-07-21 17:11:49 +04:00
John Preston 21fa3264e3 Pause video while caption is expanded. 2023-07-21 16:40:20 +04:00
John Preston 75dc7e6e81 Fix a crash with possible empty contact name. 2023-07-21 14:42:51 +04:00
John Preston 2402285d03 Fix possible crash in views refresh. 2023-07-21 13:11:53 +04:00
John Preston 9a6cb68d71 Version 4.8.5: Fix build with GCC. 2023-07-21 00:53:53 +04:00
John Preston 1bdab16d7b Pause story while previewing a voice note. 2023-07-20 23:13:35 +04:00
John Preston 2cd08b8923 Cut off name / date correctly. 2023-07-20 23:08:43 +04:00
John Preston c35556b33a Improve short info button geometry. 2023-07-20 22:31:47 +04:00
John Preston 94ad9221ed Fix opening recent viewers short profiles. 2023-07-20 22:08:24 +04:00
John Preston 75f542747d Fix build with GCC. 2023-07-20 20:12:47 +04:00
John Preston d392c7e8f0 Use only vertical volume dropdown layout. 2023-07-20 19:39:24 +04:00
John Preston 5b10b7e15f Use separate record cancel text in stories. 2023-07-20 19:39:24 +04:00
John Preston 0b7af5bfe3 Auto-focus story reply on input start. 2023-07-20 19:31:43 +04:00
John Preston 7e18ecfb78 Use "My Story" instead of name in viewer. 2023-07-20 19:10:10 +04:00
John Preston dd9ea29334 Close short info box by outside click in stories. 2023-07-20 19:07:51 +04:00
Ilya Fedin d60d80ba63 Reuse lib_ui's title control side deduction code 2023-07-20 17:58:41 +04:00
John Preston 150cbe2866 Support silent video volume toggle state. 2023-07-20 10:21:04 +04:00
John Preston 7d067d4924 Fix build with Xcode. 2023-07-20 10:20:53 +04:00
John Preston 92f2b6dfbf Fix unintentional stories viewer move-by-mouse-drag. 2023-07-20 10:00:29 +04:00
John Preston 69b9c63a69 Implement volume dropdown. 2023-07-20 07:20:57 +04:00
John Preston 80bdf9b74c Add play/pause button to video stories. 2023-07-20 07:20:57 +04:00
John Preston 99926be57a Add privacy badge to stories userpic. 2023-07-20 07:20:57 +04:00
John Preston ffd691e556 Update API scheme, pass privacy info to viewer. 2023-07-20 07:20:57 +04:00
John Preston 961dd2a4a8 Break large stories lists by days in viewer. 2023-07-20 07:20:57 +04:00
John Preston ad8f06fd95 Mark stories as read almost instantly. 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 6607848abc Fix build with GCC. 2023-07-20 07:20:46 +04:00
John Preston 8726884b21 Fix media rotation animation. 2023-07-20 07:20:46 +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 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 1d5b57c39c Add video story saved toast to viewer. 2023-07-20 07:20:32 +04:00
John Preston aff094f278 Prevent some accidental story closing. 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 e7ccf5d8ad Fix possible std::clamp contract violation. 2023-07-20 07:20:13 +04:00
John Preston 6eaa192f51 Don't allow reply to changelog stories. 2023-07-20 07:20:13 +04:00
John Preston e21c06f67c Support deleting and reporting stories. 2023-07-20 07:20:12 +04:00
John Preston ebafb55b1b Cache stories sources order in viewer. 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 119ee6044a Update stories icons in some places. 2023-07-20 07:20:12 +04:00
John Preston fc0902adf0 Force focus on parent widget on story show. 2023-07-20 07:20:11 +04:00
John Preston e41fc69513 Show nice short info box from viewers dropdown. 2023-07-20 07:20:11 +04:00
John Preston a2bf0fc511 Show unsupported stories with an Update button. 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 ff835ec76c Show animation on story reaction sending. 2023-07-20 07:20:11 +04:00
John Preston 41eac3692c Correctly show views count without viewers. 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 a933168ef7 Allow sharing stories and copying a link. 2023-07-20 07:20:11 +04:00
John Preston 3ac7725111 Show relative time in stories, like last seen. 2023-07-20 07:20:11 +04:00
John Preston 0401364d71 Fix build with Xcode. 2023-07-20 07:20:11 +04:00
John Preston af5228771c Send views for expired pinned stories. 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
John Preston 43af9fd87e Fix controls fading in raster stories backend. 2023-07-20 07:20:11 +04:00
John Preston 39538e89e0 Show stories reactions in dark theme. 2023-07-20 07:20:10 +04:00
John Preston 0ed200beee Show / expand / collapse / hide reactions strip. 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 8eac04cb90 Track and load ids of expired mine stories. 2023-07-20 07:20:10 +04:00
John Preston aba84a6010 Update API scheme on layer 160: Duration. 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 41edd41b92 Pause story while viewing the viewers list. 2023-07-20 07:20:10 +04:00
John Preston d28bd36d22 Load and show list of users who viewed a story. 2023-07-20 07:20:10 +04:00
John Preston 1f1e543df7 Fix good thumbnail generation in sibling stories. 2023-07-20 07:20:10 +04:00
John Preston d76c80bf0e Show recent viewers in self stories. 2023-07-20 07:20:10 +04:00
John Preston 8b22f9dcac Better track paused story state. 2023-07-20 07:20:09 +04:00
John Preston b8cf00a0b2 Fix replying to stories with voice messages. 2023-07-20 07:20:09 +04:00
John Preston f814e401b9 Mark stories as read. 2023-07-20 07:20:09 +04:00
John Preston f323370752 Preload stories in both directions. 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 d82381881a Allow sending stickers / GIFs in story replies. 2023-07-20 07:20:09 +04:00
John Preston 2e6790c45c Support replies to stories layout in messages. 2023-07-20 07:20:09 +04:00
John Preston b195ec4fd5 Support stories file reference refreshing. 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 ff902f2a1f Send StoryReply info correctly. 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 455cb0d21b Fix build with Xcode. 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 ae4d660c38 Improve stories controls geometry constraints. 2023-07-20 07:20:08 +04:00
John Preston 00b4f77384 Finish theming for voice recording 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 75d2b5994f Apply dark theme to reply controls in stories. 2023-07-20 07:20:08 +04:00
John Preston a745c9ff75 Display full caption if it doesn't fit. 2023-07-20 07:20:08 +04:00
John Preston 0331955ce7 Show captions with darkening over stories. 2023-07-20 07:20:08 +04:00
John Preston 0d3df824e3 Apply stories fade in raster renderer. 2023-07-20 07:20:08 +04:00
John Preston 30871ed116 Show userpic / name on sibling stories. 2023-07-20 07:20:08 +04:00
John Preston a0e9e148b0 Apply rounding to stories. 2023-07-20 07:20:08 +04:00
John Preston bab66c4ff6 Darken and pause on reply field focus. 2023-07-20 07:20:08 +04:00
John Preston 0ca40e9d34 Fix build with Xcode. 2023-07-20 07:20:08 +04:00
John Preston 2212b55b13 Allow downloading my own stories. 2023-07-20 07:20:08 +04:00
John Preston ae94cd2d42 Allow navigating to stories of sibling users. 2023-07-20 07:20:08 +04:00
John Preston 7717de19ab Implement stories switching, photo "animation". 2023-07-20 07:20:08 +04:00
John Preston 027bd89e5b Apply geometry constraints in stories viewer. 2023-07-20 07:20:07 +04:00
John Preston 89ca38ed29 Start stories viewer with ComposeControls. 2023-07-20 07:20:07 +04:00
Ilya Fedin 8352aeb338 Send mouse release event after startSystemMove/startSystemResize 2023-06-01 20:01:46 +04:00
Ilya Fedin 2ce9e610fa Update icons when icon theme on Linux changes 2023-05-29 11:07:19 +04:00
John Preston 65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
Ilya Fedin bb008911b0 Get rid of SystemMediaControls::setServiceName usage 2023-05-15 09:50:28 +04:00
John Preston 4201a0193c Add additional assertion for OOM detection. 2023-04-22 21:35:06 +04:00
23rd 383b100fc7 Fixed changing speed of video in windowed media viewer. 2023-04-21 01:34:05 +03:00
John Preston 0d6e5eda0c Allow larger PiP window size. 2023-04-20 12:55:01 +04:00
John Preston 32c7964e8c Fix video thumbnail in PiP raster renderer. 2023-04-20 12:49:44 +04:00
John Preston 2c17f41c61 Beta version 4.6.12: Compare speed values safely. 2023-03-17 21:18:56 +04:00
Ilya Fedin 2635b35b74 Move kurlmimedata.h include to where it's really used 2023-03-17 18:56:23 +04:00
John Preston f410a3b6da Fix possible crash in media viewer content re-show. 2023-03-17 17:51:35 +04:00
John Preston 75a1db9900 Move media viewer menu when resizing the window. 2023-03-17 15:40:49 +04:00
John Preston ca50ad3468 Fix cursor on speed changing context menu item. 2023-03-16 09:55:27 +04:00
Ilya Fedin 77f4256d8d Show speed control in media viewer only when supported 2023-03-16 06:59:12 +04:00
John Preston fc860a1ef4 Beta version 4.6.11: Fix build for Linux. 2023-03-15 22:57:53 +04:00
John Preston 152661dcea Use global Fn+F shortcut for toggle fullscreen on macOS. 2023-03-15 16:39:13 +04:00
John Preston eae2788f73 Fix icons in audio player. 2023-03-15 16:39:13 +04:00
John Preston 832d426c1c Add media viewer title to lang pack keys. 2023-03-15 16:27:54 +04:00
John Preston 1eff68813d Reuse new speed change control for video. 2023-03-15 13:36:40 +04:00
John Preston 4351baffb3 Unify playback speed settings serialization. 2023-03-15 09:15:40 +04:00
John Preston f9066235ca Fix custom ripple on speed change button. 2023-03-14 22:02:53 +04:00
John Preston 5ca7b95cdb Implement new voice speed change control design. 2023-03-14 17:30:50 +04:00
John Preston 42d999922f Fix media viewer on macOS multi-monitor setup. 2023-03-13 16:04:42 +04:00