Commit Graph

249 Commits

Author SHA1 Message Date
John Preston 87df42f8c1 Improve icon padding in bot inline buttons. 2022-04-14 15:24:12 +04:00
23rd 59fc9d3bfd Replaced static reaction icon in settings with animated lottie. 2022-04-14 09:46:03 +04:00
John Preston 2253cd86e5 Add an icon to a webview bot button. 2022-04-13 15:06:23 +04:00
23rd 4304071d18 Added ability to configure quick action on double click. 2022-04-13 15:06:23 +04:00
John Preston d4cb56a73d Custom scroll bar in WebKit / Chromium. 2022-04-12 23:01:37 +04:00
John Preston d15ff46eb4 Fix webview initialization on GCC. 2022-04-08 23:15:37 +04:00
John Preston 94c6793e92 Add bot menu button with webview open support. 2022-04-07 16:31:07 +04:00
John Preston 73c5988e7e Allow opening external pages from attach bots. 2022-04-06 10:55:05 +04:00
John Preston 0e75204762 Support native button in bot webview. 2022-04-05 16:31:15 +04:00
23rd 8d923489d3 Replaced inputs for auto-delete setting with prepared values. 2022-04-01 15:53:58 +04:00
23rd d9541b6a6e Unified general phrases for duration. 2022-04-01 15:53:58 +04:00
23rd 3c4f575bc2 Added ability to set auto-delete from profile info. 2022-04-01 15:53:57 +04:00
23rd fc71a640a6 Added implementation of menu for auto-delete settings. 2022-04-01 15:53:57 +04:00
John Preston b1e66279d5 Update API scheme on layer 140. 2022-03-31 13:24:13 +04:00
John Preston b38ac32898 Allow removing a bot from attach menu. 2022-03-30 12:23:06 +04:00
John Preston 72ae2f0269 Support custom attach bot icons. 2022-03-30 12:23:06 +04:00
John Preston 273f2f7ce9 Prolong bot attach webview. 2022-03-30 12:23:06 +04:00
John Preston c6ded00461 Move webview attach code to a separate module. 2022-03-30 12:23:05 +04:00
John Preston aed1904b4c Support theming for webview-s (payments, attach). 2022-03-30 12:23:05 +04:00
John Preston df15ff9f8e Update API scheme on layer 140. 2022-03-30 12:23:05 +04:00
John Preston 1d8aac26ce Proof of concept webview attach menu support. 2022-03-30 12:23:05 +04:00
23rd a141a9404f Added list of result of search messages in dialogs. 2022-03-23 10:03:43 +04:00
23rd 69e37ad978 Added initial implementation of search of messages in dialogs. 2022-03-23 10:03:43 +04:00
23rd 0e6c036fa2 Moved Ui::SelectScrollManager to lib_ui. 2022-03-15 18:02:30 +03:00
John Preston 32d09f189b Use rpl::empty instead of rpl::empty_value(). 2022-03-11 09:56:29 +04:00
John Preston 6805259f74 Don't recompress some JPEGs when sending as photos.
If JPEG is saved in progressive mode and has bpp <= 4
and max(width, height) <= 1280 then we send original bytes.
2022-03-09 17:37:51 +04:00
23rd f74a75da75 Fixed display photo with modifications as file in attach media preview. 2022-03-04 18:58:07 +03:00
John Preston 1710863231 Update some icons. 2022-02-27 20:26:52 +03:00
23rd b46adec413 Added initial controller of message sending animations. 2022-02-25 19:41:15 +03:00
John Preston e8a7e86f41 Update menu icons. 2022-02-25 14:14:43 +03:00
23rd 641bb01ba2 Added ability to set forward options from ShareBox. 2022-02-04 22:20:17 +03:00
John Preston b415b293cf Fix crash from background access to style::icon-s. 2022-02-01 16:51:51 +03:00
John Preston 8f33d5903d Display unread reactions badge in chats list. 2022-01-28 19:10:07 +03:00
John Preston e9c79886d2 Track unread mentions and unread reactions the same way. 2022-01-28 19:10:07 +03:00
John Preston 8e749173de Render webm stickers in StickersListWidget. 2022-01-28 19:10:07 +03:00
John Preston 20dbf18106 Init webm player for sticker set thumbnails. 2022-01-28 19:10:07 +03:00
John Preston 8b7d2c880e Support rendering Webm videos with alpha. 2022-01-28 19:10:07 +03:00
John Preston 3ff17a8789 Refactor image transformation interfaces. 2022-01-21 15:33:44 +03:00
John Preston c8f7a8c795 Add a tab with "Who Seen" to "Who Reacted" box. 2022-01-18 21:44:59 +03:00
John Preston f3e84de5fb Implement recent reaction userpics in groups. 2022-01-14 21:55:48 +03:00
John Preston 2dec1b72f7 Rename reactionBottom* to reactionInline* styles. 2022-01-14 21:55:48 +03:00
John Preston 3d8b303ab7 Implement parabolic reaction drop. 2022-01-14 21:55:48 +03:00
John Preston 34c36d77c3 Paint reaction animations above everything. 2022-01-14 21:55:47 +03:00
John Preston 3b4ed03105 Image coords should be multiply devicePixelRatio.
I hope this fixes #17277.
2022-01-14 21:55:47 +03:00
John Preston a377364621 Use correct sizes for lottie frames. 2022-01-14 21:55:47 +03:00
John Preston cfc2a959cf Implement nice dropdown collapse animation. 2022-01-14 21:55:47 +03:00
John Preston a51be85199 Improve button and dropdown layout. 2022-01-14 21:55:47 +03:00
John Preston 508ba4750c Show appear animations in reactions dropdown. 2022-01-14 21:55:47 +03:00
John Preston bb3c91aa44 Scale reaction images explicitly.
Fixes #17459.
2021-12-31 00:28:44 +03:00
John Preston e722645e7c Try to show the reaction button outside of the bubble. 2021-12-30 23:38:06 +03:00