Commit graph

34 commits

Author SHA1 Message Date
Tulir Asokan
a1231c875b web/composer: fix weird 1px scroll 2024-12-11 00:21:05 +02:00
Tulir Asokan
fa80c1adc0 web/emojipicker: mobile optimize emoji and gif pickers 2024-12-05 19:43:52 +02:00
Tulir Asokan
d55952a1b6 web/composer: add gif picker 2024-12-03 01:23:08 +02:00
Tulir Asokan
12f9031ab1 web/composer: add support for sending location messages 2024-12-02 19:19:54 +02:00
Tulir Asokan
a59d10ae0c web/composer: fix selecting autocomplete item when not at end of composer 2024-11-26 22:27:48 +02:00
Tulir Asokan
1cef899e5c web/preferences: implement read receipt, typing notification and emoji pack options 2024-11-16 22:57:41 +02:00
Tulir Asokan
f3eb86455f web/composer: add limit to number of lines 2024-11-16 15:39:20 +02:00
Tulir Asokan
e370a12b19 web/store: only fetch full member list when needed 2024-11-12 22:47:28 +02:00
Tulir Asokan
b552b07c74 web/timeline: insert mention when clicking name 2024-11-12 17:01:00 +02:00
Tulir Asokan
00a2070ff3 web/composer: fix enter behavior with empty autocomplete 2024-11-09 21:17:51 +02:00
Tulir Asokan
0da7ed172d web/composer: fix comparison operator 2024-11-08 15:20:06 +01:00
Tulir Asokan
acbbd2a1f9 web/composer: adjust enter and tab behavior for autocomplete 2024-11-08 12:19:29 +01:00
Tulir Asokan
bb52f1cfa9 web/composer: add enter and esc keybinds to autocompleter 2024-11-07 17:21:07 +01:00
Tulir Asokan
5832a935cf all: use markdown for custom emojis, improve editing
Edits will now use a different HTML -> markdown converter than what is
used to generate the body. This allows the plaintext body to have a
plain shortcode for custom emojis, while still having the raw data for
edits.

Additionally, for sent events, the raw input is saved locally, which
allows preserving commands and other such things. A future extension
may store the raw input in a custom field in the Matrix event to allow
lossless edits of messages sent from other clients.
2024-11-02 14:00:21 +02:00
Tulir Asokan
438b5fb737 web/composer: use insertText instead of react state
This seems to be the only way to preserve the browser's native undo history
2024-11-02 11:17:04 +02:00
Tulir Asokan
245d81b9ce web/main: add keybindings for room list
Fixes #472
2024-11-01 01:30:33 +02:00
Tulir Asokan
5095019f45 web/ui: move some files into subdirectories 2024-10-31 00:12:14 +02:00
Tulir Asokan
8700626176 web/css: fix disabled button color 2024-10-30 23:06:24 +02:00
Tulir Asokan
5d2cc354f3 web/composer: fix autocomplete not overflowing 2024-10-30 23:04:30 +02:00
Tulir Asokan
0d3536a592 web/composer: clear reply when starting editing 2024-10-28 23:45:47 +02:00
Tulir Asokan
7e793ec0ba web/composer: surround selection with markdown when pasting link 2024-10-28 00:28:59 +02:00
Tulir Asokan
11a8aac398 web: use default export for ClientContext 2024-10-28 00:07:57 +02:00
Tulir Asokan
ac3b906211 web/emoji: implement MSC2545 2024-10-26 15:49:04 +03:00
Tulir Asokan
1e73867b9b web/composer: allow autocompleting after newline 2024-10-25 20:57:49 +03:00
Tulir Asokan
55a9866eac web/emojipicker: small improvements 2024-10-25 18:37:49 +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
f88b1b5b7f web/composer: allow switching edit target with arrow keys 2024-10-25 03:25:55 +03:00
Tulir Asokan
cc0067bb3f web/composer: add edit support 2024-10-25 03:03:15 +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
eb68f3da7c web/timeline: fix some bugs with reading content 2024-10-22 21:55:27 +03:00
Tulir Asokan
e2458c7657 web/composer: fix using arrow keys to pick autocomplete results 2024-10-22 20:05:26 +03:00
Tulir Asokan
082e5642aa web/timeline: mark thread replies 2024-10-22 20:00:15 +03:00
Tulir Asokan
c4266fbc22 web/composer: send thread message when replying in thread 2024-10-22 19:53:10 +03:00
Tulir Asokan
8ddf5f800d web/composer: add emoji autocompletion 2024-10-20 22:11:49 +03:00
Renamed from web/src/ui/MessageComposer.tsx (Browse further)