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
Tulir Asokan
7c95ce35fd
web/main: disable dark theme for code blocks
2024-10-28 00:16:18 +02:00
Tulir Asokan
a114b23b88
web: merge event dispatcher hooks
2024-10-28 00:12:00 +02:00
Tulir Asokan
11a8aac398
web: use default export for ClientContext
2024-10-28 00:07:57 +02:00
Tulir Asokan
704ca2ca42
web/app: initialize RPC client outside React
2024-10-28 00:05:48 +02:00
Tulir Asokan
0920c06077
web/timeline: open inline images in lightbox when clicked
2024-10-28 00:01:10 +02:00
Tulir Asokan
0742feb365
web/timeline: use non-text cursor for spoilers
2024-10-27 21:50:44 +02:00
Tulir Asokan
ddfdc7c32a
web: add shadow for non-dimmed modals
2024-10-27 19:46:06 +02:00
Tulir Asokan
497bc4e25a
web/timeline: remove unnecessary !'s
2024-10-27 18:50:55 +02:00
Tulir Asokan
976d1ae9cb
web/timeline: add big emojis
2024-10-27 18:40:43 +02:00
Tulir Asokan
fdec12a7a3
web/emoji: use custom emoji description as img title
2024-10-27 16:49:51 +02:00
Tulir Asokan
fa004a639e
web/viewsource: add fancy JSON rendering
2024-10-27 16:30:45 +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
52fc7e5cdf
web/client: preserve other fields when updating recent emoji
2024-10-27 13:12:15 +02:00
Tulir Asokan
21e2dcbc43
web/emoji: allow custom emojis in frequently used
2024-10-27 13:05:41 +02:00
Tulir Asokan
808bdbc068
web/timeline: bottom-align custom emojis
2024-10-27 12:57:25 +02:00