2043 Commits

Author SHA1 Message Date
Alexander Zinchuk
2f0eaf72df [Perf] Teact: Introduce useUnmountCleanup to reduce redundant effects 2024-09-19 20:43:33 +02:00
Alexander Zinchuk
1c40b9b514 [Perf] Use useMemo with useHotkeys 2024-09-19 20:43:30 +02:00
Alexander Zinchuk
f4200e5a64 [Perf] Message: Use Offscreen Canvas to detect appendix bg 2024-09-19 20:43:27 +02:00
Alexander Zinchuk
590a6f5b4c [Perf] Teact: Simplify extra classes management 2024-09-19 20:43:25 +02:00
zubiden
25b4aae4cd [Refactoring] User: Extract nested data to a separate path (#4953) 2024-09-19 20:43:20 +02:00
Alexander Zinchuk
8b76de86ba [Refactoring] Move beginHeavyAnimation and onFullyIdle to Teact 2024-09-19 20:43:18 +02:00
Alexander Zinchuk
09203ae76e Monetization Statistics: Implement verification modal for withdraw button (#4929) 2024-09-19 20:43:16 +02:00
Alexander Zinchuk
505f67674a Sponsored Message: Implement media in ads (#4925) 2024-09-19 20:43:14 +02:00
zubiden
7d73682aa7 [Refactoring] Updater: Process chats, users and messages lists in one place (#4948) 2024-09-19 20:43:09 +02:00
Alexander Zinchuk
ff72279f1c Composer / Embedded Message / Menu: Fix height 2024-09-11 02:07:12 +02:00
zubiden
da6f094d41 Various style fixes (#4977) 2024-09-11 02:07:08 +02:00
Alexander Zinchuk
3e896c4335 Attachment Modal: Add spacing to the file download preview modal (#4967) 2024-09-11 02:07:05 +02:00
zubiden
2c91ca86aa Reaction Picker: Fix stuck state (#4946) 2024-09-06 15:43:39 +02:00
zubiden
b9041b8fc3 Safe Link: Fix word break in message text (#4954) 2024-09-06 15:43:37 +02:00
zubiden
875609f0d8 Various fixes (#4955) 2024-09-06 15:43:34 +02:00
Alexander Zinchuk
13c6e1ab60 Profile: Fix undefined media in the Voice tab (#4952) 2024-09-06 15:43:32 +02:00
zubiden
b611bc409f Search: Fix "0" in popular apps (#4945) 2024-09-06 15:43:30 +02:00
Alexander Zinchuk
b407960fd7 Reply: Fix sender drawing (#4941) 2024-09-06 15:43:28 +02:00
Alexander Zinchuk
458f71a555 Revert "[Perf] Story Toggler: Avoid expensive global updates on users and chats"
This reverts commit 9ab1f9d9789a211140b692e49dac7237d3718edf.
2024-09-06 15:43:26 +02:00
Alexander Zinchuk
342a3d92da Messages: Fix deleting in the selected messages modal (#4927) 2024-09-06 15:43:25 +02:00
Alexander Zinchuk
a59a3a4217 [Refactoring] Simplify disableScrolling/enableScrolling 2024-09-06 15:43:23 +02:00
Alexander Zinchuk
03de021b82 [Perf] [Refactoring] Move useMenuPosition into Menu component 2024-09-06 15:43:21 +02:00
Alexander Zinchuk
13f43be77d Message, Chat Folders, Story Toggler: Leverage the new useShowTransition 2024-09-06 15:43:17 +02:00
Alexander Zinchuk
b0239f1d43 UI: Adjust styles for chat avatar and mention menu list (#4936) 2024-09-06 15:43:16 +02:00
Alexander Zinchuk
9d788a2fd2 Photo, Video: Leverage the new useShowTransition 2024-09-06 15:43:14 +02:00
Alexander Zinchuk
63f1ca396d [Perf] Re-implement useShowTransition to avoid re-renders
f-u
2024-09-06 15:43:12 +02:00
Alexander Zinchuk
9b5c527a8a Photo: Fix flickering broken image after migrating to Offscreen Canvas blur 2024-09-06 15:43:10 +02:00
Alexander Zinchuk
2c3b9ce7ad Sticker View: Fix flickering rlottie and hiding broken video 2024-09-06 15:43:07 +02:00
Alexander Zinchuk
13a3ae0103 Custom Emoji: Fix placeholder positioning 2024-09-06 15:43:05 +02:00
Alexander Zinchuk
2136302d52 [Refactoring] usePrevious2 → usePrevious, usePrevious → usePreviousDeprecated 2024-09-06 15:43:03 +02:00
Alexander Zinchuk
45b81c104a Sticker View: Fix displaying preview for unsupported video 2024-09-06 15:43:01 +02:00
Alexander Zinchuk
f2e8768123 [Perf] Introduce Offscreen Canvas for blurred thumbs 2024-09-06 15:42:57 +02:00
Alexander Zinchuk
692cf8b270 [Perf] Message: Extract selectCanReplyToMessage from selectAllowedMessageActionsSlow 2024-09-06 15:42:48 +02:00
Alexander Zinchuk
1e4950c7e3 [Perf] Story Toggler: Avoid expensive global updates on users and chats 2024-09-06 15:42:44 +02:00
Alexander Zinchuk
90adfdf5e0 [Perf] Animated Counter: Avoid redundant rerenders 2024-09-06 15:42:43 +02:00
Alexander Zinchuk
f1f776fff5 [Perf] Custom Emoji: Replace SVG placeholder with CSS, do not render highlight catch when not needed 2024-09-06 15:42:41 +02:00
Alexander Zinchuk
79fca8ea1b [Perf] useHeavyAnimationCheck: Support multiple heavy animations 2024-09-06 15:42:39 +02:00
Alexander Zinchuk
ec6a28baf6 [Perf] Message / Reactions: Drop ineffective shouldDelayInit optimization 2024-09-06 15:42:37 +02:00
Alexander Zinchuk
3ac3ad394b [Perf] Sticker View: Delay full media rendering 2024-09-06 15:42:36 +02:00
Alexander Zinchuk
28c9d9dc27 [Perf] Sticker View: Fix unexpected mount before heavy animation 2024-09-06 15:42:34 +02:00
Alexander Zinchuk
08ad256c70 [Perf] Message List: Consider heavy animation in getIsMessageListReady 2024-09-06 15:42:32 +02:00
zubiden
d6d98bdae1 Various padding fixes (#4924) 2024-08-29 15:53:01 +02:00
Alexander Zinchuk
877521617e UI: Adjust styles in the Chat Folder Modal (#4919) 2024-08-29 15:52:58 +02:00
Alexander Zinchuk
e1504323f1 Stars Gifting: Fixes for Stars Gifting (#4899) 2024-08-29 15:52:54 +02:00
zubiden
1dfcbf1009 Chat: Fix padding (#4909) 2024-08-29 15:52:52 +02:00
Alexander Zinchuk
d51fc2a3a2 Forward Modal: Hotfix for duplicate Saved Messages in Forward Modal (#4917) 2024-08-29 15:52:51 +02:00
Alexander Zinchuk
005a6fca93 Message Modal: Fix spacing in the Delete Message Modal (#4903) 2024-08-29 15:52:47 +02:00
Alexander Zinchuk
53ef4deaa3 Forward Modal: Show saved messages chat (#4897) 2024-08-29 15:52:46 +02:00
Alexander Zinchuk
4d62237761 Message: Fix styles in the message file preview (#4901) 2024-08-29 15:52:44 +02:00
zubiden
82443183e3 Picker Refactoring: Even more fixes (#4895) 2024-08-29 15:52:42 +02:00