Commit Graph

235 Commits

Author SHA1 Message Date
Alexander Zinchuk
ce3a250b90 Message List: One more fix for FAB hiding 2021-05-12 03:13:29 +03:00
Alexander Zinchuk
0517894e55 Message List: Fix scroll jump when closing chat on mobile 2021-05-12 03:13:27 +03:00
Alexander Zinchuk
954533ac2f Sticker Button: Prevent loading full non-animated sticker 2021-05-12 03:13:25 +03:00
Alexander Zinchuk
ca3dccba12 Settings: Do not scroll on color picker 2021-05-12 03:13:22 +03:00
Alexander Zinchuk
37ce132cce Message List: Fix scroll animation after window resize 2021-05-12 03:13:20 +03:00
Alexander Zinchuk
b96643ea2a Message List: Remove extra padding in channels 2021-05-12 03:13:17 +03:00
Alexander Zinchuk
b5803fce9e Message List: Fix initial scroll in new channels 2021-05-11 23:18:08 +03:00
Alexander Zinchuk
a70efbbd08 Comment Threads: Fix sometimes missing top message 2021-05-11 23:18:05 +03:00
Alexander Zinchuk
f26f30ccb9 Teact: Fix missing update 2021-05-11 23:18:02 +03:00
Alexander Zinchuk
227fd355ef Preserve primary fast RAF callbacks order 2021-05-11 23:17:59 +03:00
Alexander Zinchuk
954ee5c508 Comment Threads: Various fixes 2021-05-11 23:17:56 +03:00
Alexander Zinchuk
d5db8639eb [Debug] Get rid of some logs 2021-05-11 23:17:52 +03:00
Alexander Zinchuk
5a7f995966 Web Page Preview: Various layout fixes (#1074) 2021-05-11 15:20:26 +03:00
Alexander Zinchuk
c2d6c5eae8 Push notifications: Fix focus on notification click (#1073) 2021-05-11 02:57:10 +03:00
Alexander Zinchuk
bb574820a5 Chat Folders: Revert to smaller size (#1072) 2021-05-11 02:57:08 +03:00
Alexander Zinchuk
1436cb6908 Emoji Tooltip: Update recent emojis (#1066) 2021-05-11 02:57:05 +03:00
Alexander Zinchuk
753a1bb6bf Push notifications: Send notifications through service worker if possible (#1068) 2021-05-09 17:44:54 +03:00
Alexander Zinchuk
2c1197592a Notification: Fix focusing window on click (#1067) 2021-05-09 13:30:44 +03:00
Alexander Zinchuk
f638ae3717 Revert "Revert "Composer: Add Emoji Picker (#1061)""
This reverts commit b1a2e27576.
2021-05-09 04:03:12 +03:00
Alexander Zinchuk
b1a2e27576 Revert "Composer: Add Emoji Picker (#1061)"
This reverts commit 70c8cd2ca8fc07f9bc005018e6a71df8027e0eb4.
2021-05-09 03:56:48 +03:00
Alexander Zinchuk
cf044474a4 Emoji Picker: Update recent emojis after picker is closed 2021-05-09 03:42:58 +03:00
Alexander Zinchuk
4559e0ff8f Composer: Add Emoji Picker (#1061) 2021-05-09 03:42:54 +03:00
Alexander Zinchuk
d11f336bb0 [Perf] Disable mask image even on iOS 2021-05-09 03:11:45 +03:00
Alexander Zinchuk
75d72fe884 Teact: Fix for useState 2021-05-09 03:11:42 +03:00
Alexander Zinchuk
ac02fa4a4f Middle Column: Fix closing chat by <Esc> 2021-05-09 02:00:05 +03:00
Alexander Zinchuk
a17240466a [Debug] Some more debug tools 2021-05-09 02:00:00 +03:00
Alexander Zinchuk
3ac7711f17 [Perf] Some optimizations 2021-05-09 01:59:58 +03:00
Alexander Zinchuk
4e0f4d99e8 [Perf] Add memo to many components 2021-05-09 01:59:55 +03:00
Alexander Zinchuk
97c2074236 GramJs: Add missing security checks (#1065) 2021-05-08 22:41:34 +03:00
Alexander Zinchuk
1a017f2750 Notifications: Various fixes, support local notifications (#1064) 2021-05-08 22:41:31 +03:00
Alexander Zinchuk
146a0db3c2 GramJs: Auto-fixes by ESLint 2021-05-08 22:41:28 +03:00
Alexander Zinchuk
5f4a210d7b GramJs: Add ESLint 2021-05-08 22:41:25 +03:00
Alexander Zinchuk
559ef6a53b GramJs: Code style fixes by WebStorm 2021-05-08 22:41:22 +03:00
Alexander Zinchuk
99cfeb6e09 Infinite Scroll: Another attempt to fix a weird bug with missing chats 2021-05-08 22:41:19 +03:00
Alexander Zinchuk
f2622099d1 Push Notifications: Do not show muted (#1063) 2021-05-08 14:28:48 +03:00
Alexander Zinchuk
8ae980222c Message List: Fix animating bot replies 2021-05-06 19:31:32 +03:00
Alexander Zinchuk
246938a495 Video, Round Video: Pause in background, fix playing after heavy animation (#1034) 2021-05-06 19:31:29 +03:00
Alexander Zinchuk
9ec40e3ce8 Optimize app-inactive.png (#1062) 2021-05-06 19:31:26 +03:00
Alexander Zinchuk
a684b4f1aa Revert "Refresh app when switching screen format or orientation"
This reverts commit baffa925d8.
2021-05-06 05:11:27 +03:00
Alexander Zinchuk
dc2dfe2fff Follow-up 2021-05-06 03:08:31 +03:00
Alexander Zinchuk
92efa2b2a2 Profile: Infinite scroll for members 2021-05-06 02:00:46 +03:00
Alexander Zinchuk
e454abd4f3 Profile: Infinite scroll for members 2021-05-06 01:47:52 +03:00
Alexander Zinchuk
1984318297 Left Search, New Chat, Forward Picker: Order chats by last message, check rights to post, add archived 2021-05-06 01:47:48 +03:00
Alexander Zinchuk
79cde7292b Group Chat Info: Fix online members count 2021-05-06 01:47:44 +03:00
Alexander Zinchuk
ca65c04884 Composer / Web Page Preview: Add animation, fix links with _, do not show title 2021-05-06 01:47:40 +03:00
Alexander Zinchuk
987dfacaf5 App Inactive: Support disconnecting when opening in another tab 2021-05-06 01:47:36 +03:00
Alexander Zinchuk
baffa925d8 Refresh app when switching screen format or orientation 2021-05-06 01:47:32 +03:00
Alexander Zinchuk
0f242d0598 Composer: Fix XSS in draft 2021-05-04 12:31:34 +03:00
Alexander Zinchuk
e898c03d43 Finally get rid of Statistics and lovely-chart 2021-05-04 12:31:31 +03:00
Alexander Zinchuk
ed67e51d2e Message: Underline links in own messages in dark mode (#1060) 2021-05-04 12:31:28 +03:00
Alexander Zinchuk
cb55bd37cc Properly sign out to remove session (#1059) 2021-05-03 15:04:37 +03:00
Alexander Zinchuk
e053013219 Push Notifications: Open chat message on notification click, various fixes (#1055) 2021-05-01 19:32:42 +03:00
Alexander Zinchuk
20d2656261 Profile: New Design (#1051) 2021-05-01 14:45:36 +03:00
Alexander Zinchuk
852d195842 Message List: Better sending animation when multiline 2021-05-01 14:45:36 +03:00
Alexander Zinchuk
a49b02e291 Infinite Scroll: Attempt to fix a weird bug with missing chats 2021-04-30 01:31:50 +03:00
Alexander Zinchuk
b8189256c1 Properly reset app state and caches from auth screen 2021-04-29 18:24:13 +03:00
Alexander Zinchuk
426ca7549b Support missing session storage (Fix Firefox Private Mode) 2021-04-29 18:24:10 +03:00
Alexander Zinchuk
9c4cb209c0 Push notifications: Use existing browser tab, unsubscribe on sign out (#1053) 2021-04-29 13:09:45 +03:00
Alexander Zinchuk
752b958962 Chat: Do not hightlight selected on mobile 2021-04-29 03:01:43 +03:00
Alexander Zinchuk
6bb81a8c0d Fix crash when logging without "Remember Me" checkbox 2021-04-29 03:01:41 +03:00
Alexander Zinchuk
46ae88a6b0 Message List: Fix messages in the current chat are not marked read 2021-04-27 20:00:22 +03:00
Alexander Zinchuk
44058300e5 Chat, Poll: Fix UI issues (#1050) 2021-04-27 20:00:20 +03:00
Alexander Zinchuk
a7a395c880 Chat List: Add top padding 2021-04-27 20:00:17 +03:00
Alexander Zinchuk
329a913a42 Chat: Fix selected context menu (#1048) 2021-04-26 16:11:04 +03:00
Alexander Zinchuk
dd3158001e Push Notifications: Initial support (#1046) 2021-04-26 15:47:10 +03:00
Alexander Zinchuk
a2dc79c75f Dark Theme: Various fixes (#1047) 2021-04-26 15:41:13 +03:00
Alexander Zinchuk
c608ba57a8 Replace CacheApiSession with IdbSession to fix crashes on iOS 2021-04-26 15:39:15 +03:00
Alexander Zinchuk
9b8eb488c3 Fix error handling in worker 2021-04-26 15:33:07 +03:00
Alexander Zinchuk
a20ab4b6aa Local Storage Cache: Limit users to 5000 to avoid quoate excess 2021-04-24 15:15:50 +03:00
Alexander Zinchuk
76c2ff41ec Message List: Fixes for appearance animation 2021-04-24 15:05:01 +03:00
Alexander Zinchuk
06b85c964e PWA: Fix caching (#1045) 2021-04-24 13:36:03 +03:00
Alexander Zinchuk
35bf7a5d54 Audio Player: Fix pausing playback when closing chat 2021-04-24 13:36:00 +03:00
Alexander Zinchuk
17664e6a73 Message: Fix for context menu stacking context 2021-04-24 13:35:57 +03:00
Alexander Zinchuk
155b90ec05 Fix browser history on mobile 2021-04-24 13:35:53 +03:00
Alexander Zinchuk
8c818080be Message List: Appearance animation 2021-04-23 19:28:42 +03:00
Alexander Zinchuk
f26e2d41fb Revert "Revert "Sign out when session is terminated from another application""
This reverts commit 45deb91ada282519de34599d4c88487d8df9001f.
2021-04-22 22:02:29 +03:00
Alexander Zinchuk
d50bbcf8ef Fix browser tab highlight 2021-04-22 12:09:19 +03:00
Alexander Zinchuk
5b8c34fc9b Composer: Don't steal pasted content (#1044) 2021-04-22 12:09:15 +03:00
Alexander Zinchuk
4df0f08365 Round Video: Some fixes (#1041) 2021-04-22 12:09:12 +03:00
Alexander Zinchuk
4e8381f997 Fix unread indication for scheduled messages (#1030) 2021-04-22 12:09:06 +03:00
Alexander Zinchuk
97bbfbfa94 Composer / Attachment: Allow pasting without focus on input (#1040) 2021-04-20 18:20:14 +03:00
Alexander Zinchuk
648d2ea23f Message: Fix jump on selection (#1038) 2021-04-20 18:20:10 +03:00
Alexander Zinchuk
ad019d0094 Message: Fixes for appendix (#1037) 2021-04-20 18:20:06 +03:00
Alexander Zinchuk
30ec535196 Fix Profile: Verification badge is vertically misaligned (#1036) 2021-04-20 18:20:01 +03:00
Alexander Zinchuk
fc69c603a3 Support t.me/joinchat (#1035) 2021-04-20 18:19:58 +03:00
Alexander Zinchuk
851619349c Chat: Fix missing name for surname-only contacts (#1033) 2021-04-20 18:19:55 +03:00
Alexander Zinchuk
e9b236af80 Dark theme: Some more fixes (#1032) 2021-04-19 18:37:16 +03:00
Alexander Zinchuk
c63947edac Message List: Pattern color (#1019) 2021-04-19 18:37:12 +03:00
Alexander Zinchuk
8c4345f6af Chat: Use accent color for selected; Message: Get rid of orange color (#1029) 2021-04-19 18:37:09 +03:00
Alexander Zinchuk
60e26125fd Middle Footer: Various issues (#1031) 2021-04-19 18:37:06 +03:00
Alexander Zinchuk
4df0f9477f Chat: Fixes for Badge (#1021) 2021-04-19 18:37:01 +03:00
Alexander Zinchuk
7484124533 Simple browser history support 2021-04-19 18:36:58 +03:00
Alexander Zinchuk
b7f776593e Composer: Support disabling web link (#1020) 2021-04-19 18:36:54 +03:00
Alexander Zinchuk
0b59ebd7b0 Dark Theme: Support browser UI coloring (#1027) 2021-04-19 18:36:51 +03:00
Alexander Zinchuk
976697533b Message / Comment Button: Fix color (#1028) 2021-04-19 18:36:44 +03:00
Alexander Zinchuk
833cb1d6d3 Hightlight browser tab on incoming messages 2021-04-19 00:16:42 +03:00
Alexander Zinchuk
801ea12b7d Localization: Fix translations are not applied sometimes 2021-04-18 22:41:18 +03:00
Alexander Zinchuk
d2647df1e6 [Perf] Message List: Delay Chat List animation while animating message sending 2021-04-18 22:41:15 +03:00
Alexander Zinchuk
eeaec02398 Message List: Another fix for FAB hiding 2021-04-18 22:41:12 +03:00
Alexander Zinchuk
3410425908 Revert "Message List: Fix for FAB hiding"
This reverts commit 62c37da4ccf8c7cc70db479d626a30a823f5b026.
2021-04-18 22:41:08 +03:00
Alexander Zinchuk
b0d8edd9e9 New Chat Form: Hide Saved Messages (#1022) 2021-04-18 22:41:04 +03:00
Alexander Zinchuk
8594981a51 New icons 2021-04-17 13:29:51 +03:00
Alexander Zinchuk
38278e9548 Auth Password: Select wrong password for easy editing (#1011) 2021-04-16 14:48:26 +03:00
Alexander Zinchuk
41cb364b40 Display surname for contacts without first name (#1015) 2021-04-16 14:48:24 +03:00
Alexander Zinchuk
2ddd3a3087 Composer / Attachement: Fix multiple paste (#1014) 2021-04-16 14:48:18 +03:00
Alexander Zinchuk
747a3cc5bd Auth: Add error PHONE_PASSWORD_FLOOD (#1013) 2021-04-16 14:48:15 +03:00
Alexander Zinchuk
29ba0b997e Auth: Use text instead of image for the "Sign in to Telegram" header (#1012) 2021-04-16 14:48:12 +03:00
Alexander Zinchuk
6b750c7196 Auth: Fix phone number formatting, add missing countries (#1010) 2021-04-16 14:48:10 +03:00
Alexander Zinchuk
580bca90e2 Fix Chat List: Copyrighted chats are not shown (#999) 2021-04-15 13:16:43 +03:00
Alexander Zinchuk
2c27e16f0d Left Menu: Spanish translation is too long (#1005) 2021-04-15 13:16:39 +03:00
Alexander Zinchuk
76cc2e05dd Middle Column: Replace default background (#997) 2021-04-15 13:16:36 +03:00
Alexander Zinchuk
7324bf85e5 Management: Respect changeInfo and inviteUsers permissions (#1006) 2021-04-15 10:33:20 +03:00
Alexander Zinchuk
2d36553b8f Profile: Fix displaying emojis in bio (#1004) 2021-04-15 10:33:16 +03:00
Alexander Zinchuk
656e8f1e47 Fix Emoji Picker: Emoji sometimes are not entered in Safari (#1003) 2021-04-15 10:33:13 +03:00
Alexander Zinchuk
4f632f0aaf Fix Composer: Unable to hide text formatter (#1002) 2021-04-15 10:33:09 +03:00
Alexander Zinchuk
f774f19ee2 Revert "Sign out when session is terminated from another application"
This reverts commit 4a57034854e0c9e91bca15204f446d4fdcbe6a6a.
2021-04-15 00:28:53 +03:00
Alexander Zinchuk
2aa94c88dc Recent Chats: Fix broken UI for users with no first name 2021-04-15 00:28:47 +03:00
Alexander Zinchuk
94bb38dbec Left Menu: Fix background color in dark mode (#996) 2021-04-14 03:27:05 +03:00
Alexander Zinchuk
0c65c7a4fd Message: Fix albums are not marked read 2021-04-14 03:17:58 +03:00
Alexander Zinchuk
b29d4958ee Message List: Fix for FAB hiding 2021-04-14 03:17:55 +03:00
Alexander Zinchuk
8e94228f9f [Perf] Message List: Do not animate sticky dates when focusing 2021-04-14 03:17:51 +03:00
Alexander Zinchuk
cc3e5edf30 Right Column: Optimize transitions 2021-04-14 03:17:47 +03:00
Alexander Zinchuk
204bae525a Message: Longer delay for pending status icon 2021-04-14 03:17:44 +03:00
Alexander Zinchuk
5d7b74ddd7 Message: Do not display self-destructing media 2021-04-14 01:37:42 +03:00
Alexander Zinchuk
2499a4ca95 Left Menu: Add Telegram Features, Report Bug and app info items 2021-04-14 00:30:23 +03:00
Alexander Zinchuk
9b58fda0fd Sign out when session is terminated from another application 2021-04-13 23:19:09 +03:00
Alexander Zinchuk
313eeb2743 I18n: Fix blank translations 2021-04-13 23:19:05 +03:00
Alexander Zinchuk
62b9766ec8 Header Tools, Right Header: Remove Statistics from menu 2021-04-13 23:19:00 +03:00
Alexander Zinchuk
0e03527b7a Message List: Fix FAB flickering with tall incoming message 2021-04-13 21:47:38 +03:00
Alexander Zinchuk
3d21e81865 Message List: Fix stuck FAB when many unread messages 2021-04-13 20:35:43 +03:00
Alexander Zinchuk
c332ebfa70 Follow-up 2021-04-13 12:39:06 +03:00
Alexander Zinchuk
e8b9adedc1 Better Dark theme 2021-04-13 11:44:36 +03:00
Alexander Zinchuk
ee1b137d0e Dark Theme 2021-04-12 17:52:01 +03:00
Alexander Zinchuk
2db20f1bad Temporary workaround for a weird fix 2021-04-09 14:12:12 +03:00
Alexander Zinchuk
3afcde3217 Initial commit 2021-04-09 14:11:51 +03:00