3691 Commits

Author SHA1 Message Date
zubiden
ba762fd0ad Forum: Fix empty topic preview after reload (#4981) 2024-09-19 20:43:58 +02:00
zubiden
73d9fe9756 Message: Stop media download on deletion (#4978) 2024-09-19 20:43:55 +02:00
Alexander Zinchuk
f5675ca3fc Larger max distance for animateScroll 2024-09-19 20:43:53 +02:00
Alexander Zinchuk
e56461a43c [Perf] useSharedIntersectionObserver: Consider heavy animation (follow-up) 2024-09-19 20:43:51 +02:00
Alexander Zinchuk
be4c220228 [Refactoring] Better typings for safeExec 2024-09-19 20:43:49 +02:00
Alexander Zinchuk
22019bc86c [Perf] TeactN: Leverage getIsHeavyAnimating.once instead of recursed requestMeasure 2024-09-19 20:43:46 +02:00
Alexander Zinchuk
94a9f7eba8 [Perf] useSharedIntersectionObserver: Consider heavy animation 2024-09-19 20:43:44 +02:00
Alexander Zinchuk
7634094883 [Perf] Use throttleWithFullyIdle for user status updates 2024-09-19 20:43:42 +02:00
Alexander Zinchuk
af9d8695f4 [Perf] useVideoCleanup: Remove event listeners 2024-09-19 20:43:40 +02:00
Alexander Zinchuk
9ad5cf4909 [Perf] Fix memory leak in useDevicePixelRatio 2024-09-19 20:43:38 +02:00
Alexander Zinchuk
f503841d36 [Perf] Teact: Avoid scheduling redundant effect cleanups, refactoring 2024-09-19 20:43:36 +02:00
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
dfb54bfcc9 Dialogs: Do not persist offset state (#4979) 2024-09-19 20:43:23 +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
d12dae8dda 10.9.14 2024-09-19 20:43:04 +02:00
Alexander Zinchuk
1dd81931e2 [Build] 2024-09-11 02:08:41 +02:00
Alexander Zinchuk
3e48f3fbf9 useShowTransitions: Workaround for noMountTransition not working after forced reflow 2024-09-11 02:07:15 +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
Alexander Zinchuk
e0ab20b11e 10.9.13 2024-09-11 02:07:01 +02:00
Alexander Zinchuk
eaa848f010 [Build] 2024-09-08 20:02:36 +02:00
Alexander Zinchuk
5b9675b074 Multitab: Fix global diff sync 2024-09-08 19:58:32 +02:00
Alexander Zinchuk
57ad78cd45 10.9.12 2024-09-08 19:58:25 +02:00
Alexander Zinchuk
8bc8af7423 [Build] 2024-09-06 15:54:10 +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
a7ecd74fa4 Cache: Slight optimization (#4947) 2024-09-06 15:43:36 +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
8aa7eb2fcb [Dev] Teact: Better error logging 2024-09-06 15:43:19 +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
e9c069d356 Message: Fix Offscreen Canvas blur error after sending a message 2024-09-06 15:43:08 +02:00