Commit graph

81 commits

Author SHA1 Message Date
Jade Ellis
15e92411d3
web/timeline: use tanstack virtual to virtualise timeline 2025-01-03 15:31:32 +00:00
Tulir Asokan
df551fe4cb web/timeline: use custom message focus state on mobile to match context menu state 2024-12-30 10:54:13 +02:00
Tulir Asokan
08a1712850 web/modal: don't capture input in context menu modal 2024-12-29 17:45:57 +02:00
Tulir Asokan
a1bddd6b6b web/timeline: add special message menu for mobile 2024-12-29 16:38:08 +02:00
Tulir Asokan
266116f237 web/timeline: don't render url previews on hidden events 2024-12-23 12:03:06 +02:00
Tulir Asokan
202929ae3c web/modal: split context exports to separate file 2024-12-22 15:01:00 +02:00
Tulir Asokan
4160a33edb web/all: remove unnecessary uses of useCallback 2024-12-22 15:01:00 +02:00
Tulir Asokan
fa4d4144ba web/timeline: add option for compact replies
Closes #549
2024-12-22 01:33:46 +02:00
Sumner Evans
4c4744eba8
web/timeline: render MSC4095 URL previews
This commit implements rending of MSC4095[1] bundled URL previews and
includes a preference for disabling rendering of the previews.

[1]: https://github.com/matrix-org/matrix-spec-proposals/pull/4095

Signed-off-by: Sumner Evans <me@sumnerevans.com>
2024-12-21 10:38:44 -07:00
Tulir Asokan
da7eb6c583 hicli,web: add support for joining rooms
Fixes #503
2024-12-20 16:37:10 +02:00
Tulir Asokan
ac9e6f356d web/preferences: add option to not render read receipts 2024-12-18 21:21:05 +02:00
Tulir Asokan
10d3da6e7a web: make receipts and typing update after fetching member events 2024-12-18 20:18:32 +02:00
Tulir Asokan
0fbf76af98 hicli,web: add support for read receipts
Fixes #514
2024-12-18 03:34:27 +02:00
Tulir Asokan
0512945c57 web/timeline: disable hover menu on mobile 2024-12-15 01:56:43 +02:00
Tulir Asokan
daa0ce722d web/timeline: fix context menu disable condition 2024-12-13 23:27:26 +02:00
Tulir Asokan
8a88b6d3d8 web/timeline: disable right click context menu in some cases 2024-12-13 15:57:48 +02:00
Tulir Asokan
185844468c web/timeline: add right click context menu for messages 2024-12-13 02:28:50 +02:00
Sumner Evans
0dda980b4a
web/timeline: don't show replied-to message if message is redacted (#548)
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2024-12-11 00:31:55 +02:00
Tulir Asokan
462c2e978e web/timeline: add class to events sent by self
Closes #528
2024-12-01 22:19:48 +02:00
Tulir Asokan
8ecbd2316c web/timeline: fix all small events being treated as hidden events 2024-11-26 23:16:44 +02:00
Tulir Asokan
2b10509ceb web/timeline: don't omit profile if there's a date separator 2024-11-17 00:01:46 +02:00
Tulir Asokan
795eef1449 web/preferences: add options to hide redacted events, membership changes and date separators 2024-11-16 16:25:37 +02:00
Tulir Asokan
e370a12b19 web/store: only fetch full member list when needed 2024-11-12 22:47:28 +02:00
Tulir Asokan
04117b5211 web/rightpanel: implement member list 2024-11-12 21:19:37 +02:00
Tulir Asokan
b552b07c74 web/timeline: insert mention when clicking name 2024-11-12 17:01:00 +02:00
Tulir Asokan
9b65140302 web/timeline: open user panel when clicking on avatar 2024-11-12 16:51:10 +02:00
Tulir Asokan
6bbc51d285 web/timeline: fix date comparison for day separators 2024-11-11 13:08:27 +02:00
Tulir Asokan
5095019f45 web/ui: move some files into subdirectories 2024-10-31 00:12:14 +02:00
Tulir Asokan
4bfa665937 web/timeline: add power level event rendering 2024-10-28 01:42:52 +02:00
Tulir Asokan
9b73e755e8 web/timeline: add colors for user displaynames 2024-10-28 00:42:43 +02:00
Tulir Asokan
11a8aac398 web: use default export for ClientContext 2024-10-28 00:07:57 +02:00
Tulir Asokan
6b4b12435a web/timeline: don't render reactions if there are none 2024-10-27 16:11:11 +02:00
Tulir Asokan
e8f2029dbb web/timeline: add view source, report and redact event buttons to menu 2024-10-27 02:09:59 +03:00
Tulir Asokan
30222d2c6e web/timeline,composer: add emoji picker for composer and reaction sending 2024-10-25 16:58:11 +03:00
Tulir Asokan
d18b7a43a1 web/modal: add generic modal component 2024-10-25 16:35:06 +03:00
Tulir Asokan
a66c70c241 web/timeline: add hover menu for events
Includes pinning events and a `set_state` command in hicli
2024-10-25 01:50:16 +03:00
Tulir Asokan
b24a34ef97 web/timeline: read relates_to from correct content 2024-10-23 01:21:21 +03:00
Tulir Asokan
11e1eef5e2 media,web: add support for fallback avatars 2024-10-22 21:56:08 +03:00
Tulir Asokan
eb68f3da7c web/timeline: fix some bugs with reading content 2024-10-22 21:55:27 +03:00
Tulir Asokan
082e5642aa web/timeline: mark thread replies 2024-10-22 20:00:15 +03:00
Tulir Asokan
65b221d38e web/timeline: add support for rendering custom emoji reactions 2024-10-22 01:34:27 +03:00
Tulir Asokan
293a6416fc web/timeline: add a bubble around reactions 2024-10-21 23:21:40 +03:00
Tulir Asokan
3296c38454 web/timeline: subscribe to event sender state 2024-10-21 23:04:57 +03:00
Tulir Asokan
aae6e7496c web/roomlist,timeline: memoize rooms and messages 2024-10-21 22:10:40 +03:00
Tulir Asokan
f2f89b728f web/timeline: add error boundary for event content rendering 2024-10-21 20:52:59 +03:00
Tulir Asokan
b67095f0fd web/timeline: reorganize components slightly 2024-10-21 20:42:22 +03:00
Tulir Asokan
e1c937849e web/timeline: fix rendering replies to non-message events 2024-10-21 20:35:20 +03:00
Tulir Asokan
7676f21292 web/timeline: add different rendering for m.notice and m.emote messages 2024-10-19 17:41:36 +03:00
Tulir Asokan
3fdaf8ae4e web/timeline: allow jumping to reply if it's loaded in the timeline 2024-10-19 17:41:36 +03:00
Tulir Asokan
24342a5dce web/composer: add support for rich drafts 2024-10-19 15:41:13 +03:00