Commit graph

99 commits

Author SHA1 Message Date
Gigiaj
49259c37b0 simplify by placing check in draggable base 2025-06-20 18:59:35 -05:00
Gigiaj
c269e841f6 restructure to use different rendering strat 2025-06-20 18:59:35 -05:00
Gigiaj
ccb41c47a3 Update CSS to disable text select on mobile (might be better suited elsewhere) 2025-06-20 18:59:35 -05:00
Gigiaj
d13c245846 Category buttons shouldn't be highlightable 2025-06-20 18:59:29 -05:00
Gigiaj
4085732d39 still trying to find a place for this to live 2025-06-20 18:59:11 -05:00
Gigiaj
2cdc4a4969 Reduce reuse and clean up as a result of handling the behavior in OptionsMenu 2025-06-20 18:59:11 -05:00
Gigiaj
5dd67009cb remove unused methods 2025-06-20 18:59:11 -05:00
Gigiaj
4a1446ca74 Remove unused 2025-06-20 18:59:11 -05:00
Gigiaj
1a7e59641b file moved 2025-06-20 18:59:11 -05:00
Gigiaj
c94074423d remove unused imports 2025-06-20 18:59:11 -05:00
Gigiaj
1cf4dae929 move file 2025-06-20 18:59:11 -05:00
Gigiaj
9b97d02c21 Clean up and pass args forward through parent obj and use shared value destructuring to keep the mobile context menu handling contained in the modularized component 2025-06-20 18:59:11 -05:00
Gigiaj
8ae0b75abd Add Tooltip Provider 2025-06-17 10:25:50 -05:00
Gigiaj
3abbffbb89 Make nav button text non-interactive 2025-06-17 03:33:32 -05:00
Gigiaj
fb73ebbb3b Started on adding the context menu for rooms in the nav on mobile 2025-06-17 03:33:15 -05:00
Gigiaj
8396771e3f remove comment 2025-06-15 23:21:28 -05:00
Gigiaj
c4d0a7a820 Fix ref issue causing the menu to remain open unless an option is selected 2025-06-15 23:20:09 -05:00
Gigiaj
7b84264b26 Add draggable handling 2025-06-15 23:06:20 -05:00
Gigiaj
41b036550f Remove event id refs 2025-06-15 23:05:16 -05:00
Gigiaj
e820543951 Add edit handling too (not perfect, but useful later) 2025-06-15 23:05:06 -05:00
Gigiaj
c8f490adfb Add draggablemessage 2025-06-15 22:20:04 -05:00
Gigiaj
d26a901ac9 add mobilesheet styling here 2025-06-15 22:05:25 -05:00
Gigiaj
05b4811871 Remove mobile click menu file 2025-06-15 22:04:59 -05:00
Gigiaj
dc296d379f Add prop usage 2025-06-15 22:04:47 -05:00
Gigiaj
460d77d40c Add bottom sheet menu in 2025-06-15 22:04:06 -05:00
Gigiaj
511a16eedc Remove comment from when we embedded the anchors 2025-06-15 22:03:54 -05:00
Gigiaj
c8319b4402 Add ExtendedProps 2025-06-15 22:03:26 -05:00
Gigiaj
5466e440a9 Add Base props 2025-06-15 22:03:15 -05:00
Gigiaj
5b31ce6288 Add imports from sheets file to merge in 2025-06-15 22:03:08 -05:00
Gigiaj
b25011e0e5 restructure to use Emojiboard here or our MessageDropdownMenu 2025-06-15 20:07:18 -05:00
Gigiaj
e3375f6241 pass moved params thru for component 2025-06-15 20:06:45 -05:00
Gigiaj
f2a7a42756 add methods for sheet management 2025-06-15 20:06:14 -05:00
Gigiaj
db0525ff75 Add sheet state 2025-06-15 20:06:03 -05:00
Gigiaj
d093fc35ef readd these and pass them 2025-06-15 20:05:20 -05:00
Gigiaj
770732beb4 Pull out the dupes and just pass them parameter bloat is fine here as it shouldn't grow too much more 2025-06-15 20:04:12 -05:00
Gigiaj
41538561ee Add a placeholder class for now (move to MessageOptionsMenu later) 2025-06-15 16:06:15 -05:00
Gigiaj
e2bbc42914 Pull out menu options and the dropdown into their own components for reuse 2025-06-15 16:05:33 -05:00
Gigiaj
5d3033aa96 move t and handleEdit 2025-06-15 16:04:56 -05:00
Gigiaj
2d66641167 A bit more idiomatic than my previous attempt 2025-06-15 16:03:03 -05:00
Ajay Bura
44347db6e4
Add allow from currently selected space if no m.space.parent found (#2359) 2025-06-10 23:47:46 +10:00
Ajay Bura
e6f4eeca8e
Update folds to v2.2.0 (#2341) 2025-05-27 14:10:27 +05:30
Ajay Bura
a23279e633
Fix rate limit when reordering in space lobby (#2254)
* move can drop lobby item logic to hook

* add comment

* resolve rate limit when reordering space children
2025-05-26 14:21:27 +05:30
Ajay Bura
206ed33516
Better invites management (#2336)
* move block users to account settings

* filter invites and add more options

* add better rate limit recovery in rateLimitedActions util function
2025-05-24 20:07:56 +05:30
Ajay Bura
87e97eab88
Update commands (#2325)
* kick-ban all members by servername

* Add command for deleting multiple messages

* remove console logs and improve ban command description

* improve commands description

* add server acl command

* fix code highlight not working after editing in dev tools
2025-05-13 16:16:22 +05:30
Ajay Bura
13f1d53191
fix room setting crash in knock_restricted join rule (#2323)
* fix room setting crash in knock_restricted join rule

* only show knock & space member join rule for space children

* fix knock restricted icon and label
2025-05-13 14:18:52 +05:30
Ajay Bura
82805dcfdd
Display no members when changing filter in room members (#2297) 2025-03-28 20:15:31 +11:00
Ajay Bura
5c39a36c12
Add new space settings (#2293) 2025-03-27 19:54:13 +11:00
Ajay Bura
649f70332b
Fix displayname input controlled/uncontrolled error (#2287) 2025-03-24 20:07:15 +11:00
Ajay Bura
08e975cd8e
Change username color in chat with power level color (#2282)
* add active theme context

* add chroma js library

* add hook for accessible tag color

* disable reply user color - temporary

* render user color based on tag in room timeline

* remove default tag icons

* move accessible color function to plugins

* render user power color in reply

* increase username weight in timeline

* add default color for member power level tag

* show red slash in power color badge with no color

* show power level color in room input reply

* show power level username color in notifications

* show power level color in notification reply

* show power level color in message search

* render power level color in room pin menu

* add toggle for legacy username colors

* drop over saturation from member default color

* change border color of power color badge

* show legacy username color in direct rooms
2025-03-23 22:09:29 +11:00
Ajay Bura
7d54eef95b
Add room notification mode switcher in room header menu (#2284) 2025-03-22 19:22:29 +11:00