Commit graph

1589 commits

Author SHA1 Message Date
John Preston
cd00d41cca Correct spoiler colors in fully selected messages. 2022-09-18 16:52:31 +04:00
John Preston
749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
John Preston
379736a7d1 Show extended preview inline keyboard button. 2022-09-12 16:40:19 +04:00
John Preston
2e8a03dfd1 Correctly round spoiler animation in ExtendedMedia. 2022-09-12 09:06:26 +04:00
John Preston
3129d9f0df Add a distinct "N seconds" key for the slowmode phrase. 2022-09-10 08:19:37 +04:00
John Preston
d4810713cb Fly-animate reactions from the new context menu. 2022-09-06 17:08:20 +04:00
John Preston
f0955f2021 Add emoji-status disclaimer for unknown peers. 2022-09-06 11:20:55 +04:00
23rd
fa4801ac94 Added ability to set emoji status for certain period of time. 2022-09-02 21:14:34 +04:00
John Preston
9bb2bb09b9 Update API scheme on layer 145.
Restrict send from channels to premium in line with API restrictions.
2022-09-02 21:14:34 +04:00
John Preston
2618ee3d75 Paint two-loops of custom emoji statuses. 2022-09-02 21:14:33 +04:00
John Preston
2d07539892 Support colored emoji statuses. 2022-09-02 21:14:33 +04:00
23rd
7ed10eaacc Added gradient colors to radiobutton views in Premium Settings. 2022-09-02 21:14:33 +04:00
23rd
5505a566be Replaced gradient header in Premium Settings for dark themes. 2022-09-02 21:14:32 +04:00
23rd
35c59ad35a Moved out util function for contrast calculation between 2 colors. 2022-09-02 21:14:32 +04:00
John Preston
ed3f246510 Use FrameGenerator-based AnimatedIcon for reactions. 2022-09-02 21:14:32 +04:00
23rd
da6d580348 Fixed style of box for premium doubled limits. 2022-09-02 21:14:32 +04:00
23rd
149d92d224 Added ability to choose subscription option for Premium in Settings. 2022-09-02 21:14:32 +04:00
23rd
6f3d19914d Unified parsing of MTP gift and subscription options in separate file. 2022-09-02 21:14:32 +04:00
23rd
fc759ac688 Renamed GiftOption to SubscriptionOption. 2022-09-02 21:14:31 +04:00
23rd
b519b6bf4c Reduced minimum and maximum sizes of ministars. 2022-09-02 21:14:31 +04:00
23rd
65ad8e6ac1 Moved out class for colored ministars to separate file. 2022-09-02 21:14:31 +04:00
John Preston
668a3308be Support custom emoji reactions in WhoReacted. 2022-09-02 21:14:31 +04:00
John Preston
ba83836922 Display custom emoji reactions under messages. 2022-09-02 21:14:31 +04:00
John Preston
8a6b3027f5 Support multiple reactions from one user. 2022-09-02 21:14:31 +04:00
John Preston
96805b62b2 Seamless switch from strip icons to custom emoji. 2022-09-02 21:14:30 +04:00
John Preston
0277d765bb Nice reactions panel expanding. 2022-09-02 21:14:30 +04:00
John Preston
c5fa4aae62 Support reaction dropdown based on EmojiListWidget. 2022-09-02 21:14:30 +04:00
John Preston
bd42c23999 Implement reactions selector above the menu. 2022-09-02 21:14:30 +04:00
John Preston
a0d5456a4d PoC content outside of PopupMenu. 2022-09-02 21:14:29 +04:00
John Preston
bd089f20a8 Emoji status selector in MainMenu/Settings. 2022-09-02 21:14:28 +04:00
John Preston
21fd381778 Show emoji status in chats list / top bar. 2022-09-02 21:14:28 +04:00
John Preston
2c0a38d356 Don't unload emoji sets.
Fixes #24933.
2022-08-15 15:52:27 +03:00
Sergey A. Osokin
7a3452a18a Fix warnings by removing unused const variables
Telegram/SourceFiles/ui/text/custom_emoji_instance.cpp:23:16: warning: unused variable 'kMaxFrameDuration' [-Wunused-const-variable]
Telegram/SourceFiles/boxes/reactions_settings_box.cpp:46:16: warning: unused variable 'kVisibleButtonsCount' [-Wunused-const-variable]
Telegram/SourceFiles/boxes/premium_preview_box.cpp:53:16: warning: unused variable 'kShiftDuration' [-Wunused-const-variable]
Telegram/SourceFiles/settings/settings_premium.cpp:55:16: warning: unused variable 'kTitleAnimationPart' [-Wunused-const-variable]

Found by:	clang
2022-08-08 21:21:13 +04:00
John Preston
f8e22210e7 Move Webm sticker to UnwrappedMedia. 2022-08-04 13:35:34 +03:00
John Preston
087074fea4 Request song covers through MTProto. 2022-08-02 13:20:38 +03:00
John Preston
7a61693034 Limit attached emoji phrase to two lines. 2022-07-28 18:36:48 +03:00
23rd
c1fa39ac05 Equaled top and bottom padding for sticker in service gift message. 2022-07-28 02:49:07 +03:00
John Preston
85ec212220 Don't scroll large message menus. 2022-07-27 13:49:27 +03:00
23rd
2d75f9e752 Fixed build with Xcode. 2022-07-27 12:49:52 +03:00
John Preston
af54721f07 Disable attach bot share phone command for now. 2022-07-26 20:12:14 +03:00
John Preston
edfb7bb65a Support custom emoji in IsolatedEmoji. 2022-07-26 20:12:14 +03:00
John Preston
2a4d269eca Use large image previews more. 2022-07-26 20:12:13 +03:00
John Preston
31bb08068b Use non-exact image previews if available. 2022-07-26 20:12:13 +03:00
John Preston
c51837cfdf Reuse SizeTag::Large emoji instances. 2022-07-26 20:12:13 +03:00
John Preston
b31a3ba5a3 Improve emoji set box design. 2022-07-26 20:12:13 +03:00
23rd
152bcb3570 Changed calculation of discount for premium gifts relative to smallest. 2022-07-26 20:12:13 +03:00
John Preston
18a6f7d700 Make 8 column emoji picker by default. 2022-07-26 20:12:13 +03:00
John Preston
bb7249f280 Allow viewing emoji sets used in a message. 2022-07-26 20:12:12 +03:00
John Preston
8a9549dca3 Fix custom emoji preview painting on Retina screen. 2022-07-26 20:12:12 +03:00
John Preston
4ca6af33d4 Support web_app_request_phone attach bot requests. 2022-07-26 20:12:11 +03:00