Commit graph

329 commits

Author SHA1 Message Date
Ajay Bura
abe03811f1 Add member list in space settings
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-30 18:47:19 +05:30
Ajay Bura
e85a869733 Add max width for room and space options menu
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-30 10:41:18 +05:30
Ajay Bura
0c32d5302c Add btn and hotkey to close room settings (#269)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-30 10:05:46 +05:30
Ajay Bura
f310196937 Enable markdown by default
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-29 19:54:39 +05:30
ginnyTheCat
c828dfd596
Add Desktop notifications (#252)
* Add notifications

* Abide push actions

* Handle browsers not having notification support

* Ask for notification permission after loading

* Make usePermission work without live permission support

* Focus message when clicking the notification

* make const all caps

* Fix usePermission error in Safari

* Fix live permissions

* Remove userActivity and use document.visibilityState instead

* Change setting label to "desktop notifications"

* Check for notification permissions in the settings.js
2022-01-29 19:50:51 +05:30
Ajay Bura
d0b4e092b3 Add space options in space selector
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-29 14:31:14 +05:30
Ajay Bura
91d7d78621 Open space options on right click pinned space icon
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-29 14:30:42 +05:30
Ajay Bura
2bc21f13d4 Add space options context menu
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-29 14:11:05 +05:30
Ajay Bura
833edc9568 Add space settings
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-29 13:48:06 +05:30
Ajay Bura
9d8efce26d Make room permission component reusable for space settings
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-29 13:47:37 +05:30
Ajay Bura
6d778ca223 Make room profile component reusable for space settings
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-29 13:47:06 +05:30
Ajay Bura
1e739e94e2 Make room alias component reusable for space settings
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-29 13:46:32 +05:30
Ajay Bura
8c013aa2a9 Make title prop as node in PopupWindow component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-29 13:45:36 +05:30
Ajay Bura
fb0a0b0dc2 Fix emoji scaling in suggestion
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-28 10:55:52 +05:30
Ajay Bura
a67b32b3ce Twemojify name suggestion
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-27 11:20:36 +05:30
Ajay Bura
202ff53c41 Hide reaction picker for user without permission
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-26 17:16:40 +05:30
Ajay Bura
992da7c7be Refactor navigation
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-26 17:03:26 +05:30
Ajay Bura
f47998a553 Fix scroll when switching between home and DM (#243)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-26 15:54:58 +05:30
Ajay Bura
f4d24420e7 Fix gap under typing indicator in some device
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-26 15:29:45 +05:30
Justin Shaw
308bdb3d46
Bugfix: Add lazy loading to emoji board (#259)
* add lazy loading to emoji board

* add newline to end of package-lock file
2022-01-26 12:18:11 +05:30
Ajay Bura
20b99dce48 Add support for custom emoji in reactions
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-26 12:06:18 +05:30
Ajay Bura
80110d1a48 Fix scrollbar padding for safari breaks other component styling
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-24 14:56:36 +05:30
Ajay Bura
0a0b45fb8e twemojify names in reaction tooltip
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-24 14:54:53 +05:30
Ajay Bura
4ef29ae26f Fix username overflow in timeline change messages
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-24 14:53:51 +05:30
Ajay Bura
4f161fb891 Disabe search input in encrypted room
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-17 12:19:35 +05:30
Ajay Bura
8c30a013c7 Disabe search in encrypted room
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-17 10:15:13 +05:30
Ajay Bura
9f3f877bfd Fix type in search icon tooltip
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-17 10:00:19 +05:30
Ajay Bura
f3615117d8 Add search icon in room header
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-16 18:18:33 +05:30
Ajay Bura
41c72e0a8e Fix crash in profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-16 18:17:20 +05:30
Ajay Bura
a83b875b66 Re-arrange general room settings
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-16 17:55:00 +05:30
Ajay Bura
dcef08009d Add ability to search room messages
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-16 14:17:50 +05:30
Ajay Bura
f0c9a458bb Add broken avatar fallback
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-16 10:41:37 +05:30
Ajay Bura
62c9e271d8 Add padding in scroll view for safari
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-15 20:11:37 +05:30
Ajay Bura
871a25364d Fix typo in room-options
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-14 09:43:35 +05:30
Ajay Bura
e67abae3e0 Add afterClose param to reusabel context menu
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-13 18:43:22 +05:30
Ajay Bura
c50565dfda Open room options with right click
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-13 18:31:56 +05:30
Ajay Bura
60c44da974 Refactor room options
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-13 18:30:43 +05:30
Ajay Bura
ba6d9d0c23 Add option to change reaction permission
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-13 15:45:27 +05:30
Ajay Bura
8c55f38b07 Add ability to change room permissions
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-13 13:26:38 +05:30
Ajay Bura
5e843f7a4f Fix crash in profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-13 10:33:04 +05:30
Ajay Bura
090ada5807 Add option to unban user in profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-13 10:28:33 +05:30
Ajay Bura
0e17c57856 Remove mention button from profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-13 09:46:08 +05:30
Ajay Bura
74464992e6 Redesign session chip in profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-13 09:42:23 +05:30
Ajay Bura
a1d9c21337 Add option to ban user in profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-12 18:50:54 +05:30
Ajay Bura
248fc15716 Add option to kick user in profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-12 18:26:52 +05:30
Ajay Bura
e38ddebfb6 Refactor code of profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-12 16:46:56 +05:30
Ajay Bura
57fc8b2f1a Fix quote from discord bridge
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-12 15:11:34 +05:30
Ajay Bura
b7fac8bcbc Update people drawer on power level change
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-12 13:57:47 +05:30
Ajay Bura
12f2eed5b3 Add ability to change power level in profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-12 13:57:13 +05:30
Ajay Bura
3f39fd487f Fix custom power level selection return NaN
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-12 11:40:55 +05:30