Tulir Asokan
c6992b0fca
web/main: use insertion effect for style injection
2024-11-08 15:27:23 +01: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
85817ea999
web/emoji: add regional indicators
2024-11-08 12:13:30 +01:00
Tulir Asokan
67f9bc348b
web/roomlist: select first entry and clear query on enter
2024-11-08 12:02:41 +01:00
Tulir Asokan
540e8fa43e
hicli/html: fix extra newlines when copying code blocks
2024-11-08 09:39:58 +01:00
Tulir Asokan
8ca664c745
web/jsonview: fix extra newlines when copying json
2024-11-07 18:48:24 +01:00
Tulir Asokan
3df80686c4
web/roomlist: scroll entry to view when switching rooms
2024-11-07 17:53:53 +01:00
Tulir Asokan
c5452a570e
web/keybindings: allow using page up/down and home/end in timeline
2024-11-07 17:22:44 +01:00
Tulir Asokan
bb52f1cfa9
web/composer: add enter and esc keybinds to autocompleter
2024-11-07 17:21:07 +01:00
Tulir Asokan
e0189a2651
web/timeline: fix hover menu z-index
2024-11-06 09:40:25 +01:00
Tulir Asokan
616c508ae3
web/timeline: disable event menu options until event is sent
2024-11-05 10:50:54 +01:00
Tulir Asokan
9e5f34aaca
web/css: steal element's link text color
2024-11-04 15:13:14 +01:00
Tulir Asokan
d70529acda
web/roomlist: hide preview text if message contains spoilers
2024-11-04 11:54:36 +01:00
Tulir Asokan
24dea86c9e
web/polyfill: actually fix iterator map
2024-11-04 11:50:52 +01:00
Tulir Asokan
ffa2b0fd51
web/polyfill: fix iterator map polyfill
2024-11-04 11:34:13 +01:00
Tulir Asokan
b63a81ba65
web: add Iterator.map polyfill for firefox 128
2024-11-04 12:16:26 +02:00
Tulir Asokan
c14c079d44
web/math: display error if katex fails
2024-11-02 19:56:02 +02:00
Tulir Asokan
a31c68fc5d
web/roomlist: add button and keyboard shortcut to clear search filter
2024-11-02 19:50:54 +02: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
214d4fde53
hicli/html,web/timeline: add support for LaTeX rendering
2024-11-02 02:51:00 +02:00
Tulir Asokan
249dffaa2d
web/contentvisibility: work around another chrome bug
2024-11-02 00:37:33 +02:00
Tulir Asokan
2a89f10589
web/css: work around chrome issues and add contain rules
2024-11-02 00:16:51 +02:00
Tulir Asokan
f6b0b12a5b
web/css: add variable for button cursor style
2024-11-02 00:08:04 +02:00
Tulir Asokan
babb69a639
web/composer: don't wrap pills in composer replies
2024-11-01 01:36:58 +02:00
Tulir Asokan
92319a06e2
web/keybindings: apply alt+up/down to filtered list instead of full
2024-11-01 01:34:03 +02:00
Tulir Asokan
245d81b9ce
web/main: add keybindings for room list
...
Fixes #472
2024-11-01 01:30:33 +02:00
Tulir Asokan
f68070807c
web/media: handle unicode correctly for fallback avatars
2024-10-31 21:52:05 +02:00
Tulir Asokan
d573f2fa58
web/roomview: don't allow room name to overflow
2024-10-31 00:54:34 +02:00
Tulir Asokan
244443c7fd
web/timeline: highlight pills mentioning self
2024-10-31 00:43:09 +02:00
Tulir Asokan
f9b94034b1
web/rightpanel: center no pinned messages text
2024-10-31 00:21:23 +02:00
Tulir Asokan
54234036a7
web/rightpanel: close when same button is clicked again
2024-10-31 00:14:13 +02:00
Tulir Asokan
5095019f45
web/ui: move some files into subdirectories
2024-10-31 00:12:14 +02:00
Tulir Asokan
7ccca19c5d
web/rightpanel: add support for viewing pinned messages
2024-10-31 00:09:51 +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
39bfa7d084
web/roomlist: make room list panel resizable
2024-10-30 22:50:45 +02:00
Tulir Asokan
336f0aa100
web/composer: don't allow overflow
2024-10-30 19:50:04 +02:00
Tulir Asokan
3c22bfdea6
web/css: remove outdated comment
2024-10-29 18:25:34 +02:00
Tulir Asokan
a70c16f0f3
web/main: move authentication to happen after react init
2024-10-29 14:54:05 +02:00
Tulir Asokan
ab97efbcc1
web/index: move code block stylesheets to html
2024-10-29 01:26:44 +02:00
Tulir Asokan
6fc070733a
web/css: add dark theme
2024-10-29 00:58:29 +02:00
Tulir Asokan
0d3536a592
web/composer: clear reply when starting editing
2024-10-28 23:45:47 +02:00
Tulir Asokan
97b9f3248f
web/timeline: don't allow confirmation modals to overflow
2024-10-28 16:12:34 +02:00
Tulir Asokan
4fa6c83415
web/timeline: add ands to power level and pinned event diffs
2024-10-28 01:53:38 +02:00
Tulir Asokan
4bfa665937
web/timeline: add power level event rendering
2024-10-28 01:42:52 +02:00
Tulir Asokan
cffae7a3c8
Revert "web/app: initialize RPC client outside React"
...
This reverts commit 704ca2ca42
.
It doesn't play nicely with vite's hot reloads
2024-10-28 00:43:25 +02:00
Tulir Asokan
9b73e755e8
web/timeline: add colors for user displaynames
2024-10-28 00:42:43 +02:00
Tulir Asokan
7e793ec0ba
web/composer: surround selection with markdown when pasting link
2024-10-28 00:28:59 +02:00