Ajay Bura
211fd19031
Prevent unnecessary calc in home roomlist
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-14 17:34:34 +05:30
Ajay Bura
af833daee4
Fix root space appear as category in cyclic relation
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-13 18:52:51 +05:30
Ajay Bura
d6b880d110
Fix wrong notification count
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-13 15:12:54 +05:30
Ajay Bura
a76dcb289a
Improve code quality
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-12 14:14:56 +05:30
Ajay Bura
82948c1f55
Fix new message do not appear sometimes ( #185 )
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-10 17:58:40 +05:30
Ajay Bura
b8fe4c937e
Add dnd space shortcut ( #153 )
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-08 16:34:55 +05:30
Ajay Bura
8f41139076
Refactor sidebar avatar component
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-07 21:05:47 +05:30
Ajay Bura
e1a67acde1
Add manage pin spaces
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-06 17:52:04 +05:30
Ajay Bura
5eda2581f4
Fix side margin
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-06 17:49:21 +05:30
Krishan
edcf43efba
Update English strings, fix #352 , #354 ( #356 )
...
* Fix #354
* Fix #352
2022-03-06 15:57:39 +05:30
Ajay Bura
6b9c8b7a87
Fix roomlist not updating live
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-03 18:46:47 +05:30
Ajay Bura
a05b96e9a0
Show categorized subspaces
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-03 18:36:53 +05:30
Ajay Bura
699f67aa75
Add rooms category component
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-03 18:36:09 +05:30
Ajay Bura
b0c4c53880
Add categorize space option in space settings
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-02 21:35:09 +05:30
Ajay Bura
906fc2dd3d
Refector room list drawer
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-27 21:10:54 +05:30
Ajay Bura
a62df536dd
Move space shortcut from roomlist to accountdata
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-27 17:02:03 +05:30
Ajay Bura
8bc41c2c32
Fix bug when creating room
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-27 10:50:27 +05:30
Ajay Bura
79afc7649d
Add option to create room/space
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-26 21:00:52 +05:30
Ajay Bura
d3ddbc0c72
Fix space add options visible in home
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-23 19:48:24 +05:30
ginnyTheCat
2308578622
Fix input freeze on sending message ( #343 )
2022-02-23 08:35:06 +05:30
ginnyTheCat
1d7fbc841e
Add option to view event source ( #320 )
...
* Add view source
* Add view source cons
* Change design
* Use PopupWindow instead of Dialog
* Undo changes to Dialog.jsx
2022-02-22 19:01:04 +05:30
Ajay Bura
318e7c7458
Make dialog to add existing rooms to space
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-20 20:17:13 +05:30
ajbura
70f0f91a17
Fix manage rooms not showing avatar for dms
...
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-19 19:41:36 +05:30
ajbura
f1394239a3
Fix search dialog styles
...
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-19 19:35:12 +05:30
ajbura
c67a1752c5
Add ability to remove and suggest/not rooms in manage space
...
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-19 16:18:39 +05:30
ajbura
d87e40ada5
Add suggested room label in manage rooms
...
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-19 13:40:32 +05:30
ajbura
86bbaa437e
Fix manage room showing rooms as dms in some homeserver
...
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-18 19:28:55 +05:30
ajbura
1f6e5e71ef
Add ability to explore and join space rooms
...
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-16 20:25:36 +05:30
ajbura
a55f1df17f
Change class name for drawer breadcrumb
...
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-16 19:56:02 +05:30
ajbura
189dc93a6e
Add join rle to icon src util function
...
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-16 19:52:51 +05:30
ajbura
278fd5bd59
Fix member load triggering re-renders ( #261 )
...
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-13 13:32:57 +05:30
ginnyTheCat
6d9e67b9f2
Fix crashing on droping text ( #302 )
...
* Add basic drop overlay
* Prevent crash when dragging text
* Only show popup when files are being dragged
* Make drop box bigger
* Make drag drop overlay without a modal
* Don't show drag drop menu on top of modals
* Use different way to check for modal
2022-02-09 08:29:21 +05:30
ginnyTheCat
cdd909f2dd
Keyboard focus related bugs ( #299 )
...
* Focus when opening the emoji board and editing a message
* Clean emoji board after closing
* Focus room search and member search
* Resolve conversations
2022-02-08 17:13:59 +05:30
ajbura
d0e9728c26
Change icon of join public room button
...
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-07 15:45:57 +05:30
ajbura
c8ae428df8
Keep direct rooms orthogonal ( #183 )
...
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-05 19:25:59 +05:30
ajbura
a9692f7db4
Show tombstone message in tombstoned room ( #195 )
...
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-05 18:59:44 +05:30
ajbura
a842b4c4d9
Fix select effect in emojiboard ( #254 )
...
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-05 18:07:41 +05:30
ginnyTheCat
552a324e08
Drag and drop files ( #283 )
...
* Add file drop
* Skip if no files are droped
* Show the page is not accepting file on the welcome page
2022-02-03 20:10:22 +05:30
Ajay Bura
b155d7d1ba
Show confirm dialog when change your own power level
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-01 09:41:50 +05:30
Ajay Bura
5f7fa0557f
Add menu header in general settings
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-31 15:22:53 +05:30
Ajay Bura
b21c8f8c3a
Add credits in app about section
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-31 12:15:58 +05:30
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
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
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
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
871a25364d
Fix typo in room-options
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-14 09:43:35 +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
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
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
769d24d196
Add room permissions
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-10 20:34:54 +05:30
Ajay Bura
af61f4f1db
Refactor SettingTile component
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-10 20:33:40 +05:30
Ajay Bura
34bb5f9928
Fix error on room leave
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-09 10:29:06 +05:30
Ajay Bura
be905ac7be
Hide role dropdown icon in profile viewer ( #215 )
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-05 17:50:50 +05:30
Ajay Bura
53f3ccc888
Fix memory leaks
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-05 17:48:37 +05:30
Ajay Bura
c304670f47
Add globe icons in search
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-05 17:47:41 +05:30
Gregory Anders
11f395f65f
Add toggle to use browser's preferred theme ( #224 )
...
* Add Auto theme that uses browser's preferred color scheme
This will use dark mode automatically if the browser requests it.
* fixup! Add Auto theme that uses browser's preferred color scheme
* Use a toggle to use system theme
2022-01-03 18:46:43 +05:30
Ajay Bura
63a0adaa6e
Add ability to enable room encryption
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-02 12:08:19 +05:30
Ajay Bura
0ddeb02d23
Add ability to manage room history visibility
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-01 16:27:36 +05:30
Ajay Bura
54635bf0d3
Add ability to manage room addresses
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-01 11:43:35 +05:30
Ajay Bura
0b43431543
Temp EmojiBoard performance improved
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-30 16:37:11 +05:30
Ajay Bura
34862f9ace
Fix EmojiBoard styling
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-30 14:17:55 +05:30
Ajay Bura
93251e0029
Show pack icon or first emoji as fallback in EmojiBoard sidebar
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-30 12:46:48 +05:30
Emi
fd9f734de1
Add custom emoji to emoji board ( #210 )
...
* Display custom emoji in picker
Adds a single category at the start of the emoji picker to display the user's custom emoji
* Show any amount of custom emoji packs in the Emoji Board
* Use thumbnails in emoji picker + mark as emoji
* Fix emoji picker stretching when too many packs are available
* Sprinkle in a few comments for good measure
* Remove emoji-less packs from the emoji picker
2021-12-30 09:32:49 +05:30
Emi
9ea9bf4035
Add support for sending room-local emoji ( #209 )
...
* Add support for sending room-local emoji
Does not add support for sending a room's emoji outside of that room, but enables users to
send an emoji if the packs in a room support it. Does not include room emoji in the
picker YET.
* Amend PR #209 : Don't freak out if the `pack` tag is missing
* Amending PR: Refactor emojifier, use better method for retrieving packs
* Amending PR: Improve resiliance to bad data in emoji state events
* Amend PR: Remove redundant code, fix crash on edit
2021-12-29 09:56:17 +05:30
Emi
90621bb1e3
Add support for sending user emoji using autocomplete ( #205 )
...
* Add support for sending user emoji using autocomplete
What's included:
- An implementation for detecting user emojis
- Addition of user emojis to the emoji autocomplete in the command bar
- Translation of shortcodes into image tags on message sending
What's not included:
- Loading emojis from the active room, loading the user's global emoji packs, loading emoji from spaces
- Selecting custom emoji using the emoji picker
This is a predominantly proof-of-concept change, and everything here may be subject to
architectural review and reworking.
* Amending PR: Allow sending multiple of the same emoji
* Amending PR: Add support for emojis in edited messages
* Amend PR: Apply requested revisions
This commit consists of several small changes, including:
- Fix crash when the user doesn't have the im.ponies.user_emotes account data entry
- Add mx-data-emoticon attribute to command bar emoji
- Rewrite alt text in the command bar interface
- Remove "vertical-align" attribute from sent emoji
* Amending PR: Fix bugs (listed below)
- Fix bug where sending emoji w/ markdown off resulted in a crash
- Fix bug where alt text in the command bar was wrong
* Amending PR: Add support for replacement of twemoji shortcodes
* Amending PR: Fix & refactor getAllEmoji -> getShortcodeToEmoji
* Amending PR: Fix bug: Sending two of the same emoji corrupts message
* Amending PR: Stylistic fixes
2021-12-28 08:59:39 +05:30
Ajay Bura
d02e8dcd4e
Add optoins to change room visibility
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-26 15:34:20 +05:30
Ajay Bura
07b1fe8e47
Add separate icon for public rooms and spaces
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-26 11:26:41 +05:30
Ajay Bura
7c368ae029
Fix spolier click not working on some browser
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-25 12:26:20 +05:30
Ajay Bura
d6b5f92d6c
Add GeneralSettings component
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-24 15:09:58 +05:30
Ajay Bura
2b70a49e09
Refactor RoomOptions component
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-24 15:09:11 +05:30
Ajay Bura
5e89675c9c
Auto update room profile on change
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-23 10:03:20 +05:30
Ajay Bura
5777c1ab27
Add RoomSettings comp
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-22 20:18:32 +05:30
Ajay Bura
4a300a3cb2
Fix people search icon displacement
...
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-19 20:32:47 +05:30