135 Commits

Author SHA1 Message Date
Alexander Zinchuk
e2ef98db09 Teact: Fix running layout effect on signal 2023-04-15 13:55:11 +02:00
Alexander Zinchuk
d872273def [Perf] Middle Column: Various optimizations for opening chat 2023-04-15 13:55:07 +02:00
Alexander Zinchuk
c467da8680 Transition: Tiny updates 2023-04-15 13:54:30 +02:00
Alexander Zinchuk
289694c13b Teact: Introduce extra classes manipulation 2023-04-15 13:52:25 +02:00
Alexander Zinchuk
2bdc5774ab [Refactoring] Teact: Stricter typings for useState 2023-03-30 18:28:51 -05:00
Alexander Zinchuk
d965b6c479 Middle Column: Better pinned message animation (#2716)
Co-authored-by: Alexander Zinchuk <alx.zinchuk@gmail.com>
2023-03-30 18:28:51 -05:00
Alexander Zinchuk
0c2e40d8be Language Settings: Fix error in old browsers (#2891) 2023-03-30 18:28:51 -05:00
Alexander Zinchuk
4151a25954 [Dev] Fix action typings (#2813) 2023-03-19 22:32:31 -05:00
Alexander Zinchuk
568b23b6fe [dev] Define custom static dependencies (#2462) 2023-02-28 18:43:28 +01:00
Alexander Zinchuk
5055f70f77 Chat List: Introduce Archive item (#2566) 2023-02-28 18:43:21 +01:00
Alexander Zinchuk
c235eac2d0 Teact: Fix removing attributes from element (#2655) 2023-02-25 18:50:11 +01:00
Alexander Zinchuk
077dce9fc0 Teact: Avoid multiple effects in a single frame (follow-up) 2023-02-17 02:32:56 +01:00
Alexander Zinchuk
6b235729f4 Teact: Always run effects before component renders 2023-02-17 02:32:51 +01:00
Alexander Zinchuk
3f7392699a Stickers: Add 'Copy Link' option (#2502) 2023-02-08 00:48:45 +01:00
Alexander Zinchuk
eed6241f42 Composer: Introduce Signals (#2378) 2023-02-08 00:43:48 +01:00
Alexander Zinchuk
d40a2a6240 Teact: Avoid multiple effects in a single frame 2023-02-08 00:43:48 +01:00
Alexander Zinchuk
31e52956c2 Teact: Avoid multiple renders in a single frame 2023-02-08 00:43:48 +01:00
Alexander Zinchuk
156b0b09da [Dev] Teact: Debug component name on error in effect (#2463) 2023-02-03 03:23:47 +01:00
Alexander Zinchuk
2a7c78c12a Multiple Tabs: Introduce Multiple Tabs Support (#2221) 2023-01-28 02:21:33 +01:00
Alexander Zinchuk
56dbad1ef9 [Dev] Teact: Add debug overlay 2023-01-22 18:13:26 +01:00
Alexander Zinchuk
c6bd762a4c [Perf] Teact: Avoid redundant renders when updating state with a callback 2023-01-22 18:13:25 +01:00
Alexander Zinchuk
1fef97b82e Introduce Forums (#2174) 2023-01-06 22:49:02 +01:00
Alexander Zinchuk
d64b6f2854 TeactN: Fix detaching, remove unused code 2023-01-06 01:15:47 +01:00
Alexander Zinchuk
d0055d6653 [Dev] Bump dependencies (#2152) 2022-12-06 13:31:21 +01:00
Alexander Zinchuk
f272f63afc Teact: Preserve caret at end in controlled inputs 2022-11-10 18:28:03 +04:00
Alexander Zinchuk
abd92f2ae8 Teact: Support ref function, update types; TeactN: Support detaching containers 2022-11-07 23:00:38 +04:00
Alexander Zinchuk
eb69f55f29 Teact: Fix memory leak if head is removed (#2083) 2022-10-29 15:18:29 +02:00
Alexander Zinchuk
d896bb507d Teact: Fix empty fragement jumping in DOM 2022-09-24 01:40:27 +02:00
Alexander Zinchuk
2ad7bd03a2 Settings / Folders: Fix exception in Chat Picker 2022-09-21 00:14:47 +02:00
Alexander Zinchuk
19ac35b676 Teact: Fix fragment breaking other elements order 2022-09-16 18:28:44 +02:00
Alexander Zinchuk
819280b191 Teact: Fix unexpected ref reset 2022-09-16 18:28:42 +02:00
Alexander Zinchuk
f88ddafe14 Implement Custom Emojis (#1969) 2022-08-31 15:00:45 +02:00
Alexander Zinchuk
e841738112 Teact: Add support for controlled and uncontrolled components 2022-07-08 15:01:13 +02:00
Alexander Zinchuk
fa6eec434f Teact: Support components returning fragments 2022-05-30 15:40:38 +04:00
Alexander Zinchuk
70ccff110a [Refactoring] Prefer import type (#1884) 2022-05-30 15:40:11 +04:00
Alexander Zinchuk
9544663aa1 [Refactoring] Remove flatten, add generic type for split (#1879) 2022-05-30 15:40:06 +04:00
Alexander Zinchuk
d3e3cced6c [Refactoring] Teact: Add comments to teactFastList algorithm 2022-05-30 15:40:02 +04:00
Alexander Zinchuk
c92a18895e [Refactoring] Teact: Introduce TeactNode type for JSX typing 2022-05-20 17:56:04 +02:00
Alexander Zinchuk
188251f0fb [Perf] Teact: Properly GC refs on unmount 2022-05-16 13:33:55 +02:00
Alexander Zinchuk
f91960b90c Teact: Fix memory leak due to missing effect cleanups 2022-05-06 17:56:04 +01:00
Alexander Zinchuk
4d448e4d07 [Refactoring] Main: Simplify column animation 2022-04-19 15:12:04 +02:00
Alexander Zinchuk
d44d465520 [Dev] TeactN: Fix typing 2022-04-19 15:11:54 +02:00
Alexander Zinchuk
986d4d867d TeactN: Fixes for sync global sets and gets 2022-04-19 15:11:41 +02:00
Alexander Zinchuk
7d09556e4c [Dev] TeactN: Assert when setting global asynchronously (follow-up) 2022-04-09 02:53:44 +02:00
Alexander Zinchuk
a7e2695f2e [Dev] TeactN: Assert when setting global asynchronously 2022-04-09 01:18:22 +02:00
Alexander Zinchuk
fbe03b556b TeactN: Prevent race condition in async action handlers 2022-04-09 01:18:22 +02:00
Alexander Zinchuk
b352924f6f Teact: load event can not be delegated 2022-04-01 20:43:30 +02:00
Alexander Zinchuk
4f3c7a1a69 [Refactoring] TeactN: Support async action handlers 2022-03-19 21:19:14 +01:00
Alexander Zinchuk
b025fccf0f [Refactoring] TeactN: addReducer => addActionHandler, getDispatch => getActions 2022-03-19 21:19:08 +01:00
Alexander Zinchuk
10749c62ca [Dev] TeactN: Support project-wise and action payload typing 2022-03-19 21:19:05 +01:00