Commit Graph

61 Commits

Author SHA1 Message Date
Paul Makles
448722225e fix: change quote matching Regex 2022-07-09 17:55:13 +01:00
Paul Makles
ec96dde694 feat: render custom emoji 2022-07-08 17:14:15 +01:00
Paul Makles
c12d40d0da fix: correct mention styling 2022-07-08 16:58:21 +01:00
Paul Makles
7e20d5029e fix: underline anchor; prevent jitter on render 2022-07-08 15:45:16 +01:00
Paul Makles
262b931810 fix: actually render HTML out instead of obliterating it 2022-07-08 15:36:18 +01:00
Paul Makles
4a85dd69cf fix: limit maximum quote depth to 3 2022-07-08 15:19:16 +01:00
Paul Makles
34bb2bbc13 feat: switch to remark from markdown-it (big)
* replaces old mentions with avatar and display name
* renders things directly through React
* replaces most of the markdown hacks with custom AST components
* adds a tooltip to codeblock "copy to clipboard"
2022-07-08 14:24:48 +01:00
Paul Makles
f9c6f5cd9d chore: delete intermediate 2022-07-05 21:13:42 +01:00
Paul Makles
a24e027a48 chore: clean up picker / prism imports 2022-07-04 19:04:27 +01:00
Paul Makles
1664aaee15 feat: add ServerInfo, port ChannelInfo 2022-06-30 19:06:49 +01:00
Paul Makles
5f2311b09c feat: implement useClient from client controller 2022-06-28 19:59:58 +01:00
Leda
2e9c013ed8 fix: display voice channel as link in messages (#658)
* fix: display voice channel as link in messages

* chore: format
2022-06-14 15:17:00 +01:00
Paul Makles
8a2826da91 fix: use class in markdown rendering 2022-06-10 17:36:59 +01:00
Paul Makles
e0ca1681bd chore(refactor): move and re-organise types folder 2022-06-10 14:11:38 +01:00
Paul Makles
8f0c69f528 chore: remove super and subtext (closes #438) 2022-05-10 12:27:44 +01:00
Paul Makles
b2f4411850 feat: switch to revolt.js@6.0.0 + new revolt-api 2022-04-09 15:47:04 +01:00
trashtemp
50b0e0f5f2 fix: added flex shrink to mention 2022-01-21 09:47:18 +01:00
trashtemp
da5d82537d fix(voice): fixed header style 2022-01-16 13:44:00 +01:00
trashtemp
79550cb2ad fix(sidebar): changed server sidebar width 2022-01-15 12:36:50 +01:00
trashtemp
c77213f02f fix(markdown): used padding-inline-left for RTL 2022-01-14 18:43:32 +01:00
ayntgl
eea4d49743 fix(components): add padding-right to markdown code element (#499) 2022-01-14 16:49:32 +00:00
Paul Makles
8d1e26d03e fix: fix build errors 2022-01-07 21:43:00 +00:00
Paul Makles
e13edcbb76 fix: contain emojis; also add more 2022-01-05 15:05:29 +00:00
Ryan Alexander
5735020013 feat: add markdown formatting for messages containing timestamps (#482) 2022-01-04 10:53:12 +00:00
Paul
4719150368 feat(renderer): add additional languages to cb
Closes #28
2021-12-22 22:11:25 +00:00
Paul Makles
6e4c4f3ae2 fix(ui): fixes for mobile UI, settings and sessions pages (#451)
Co-authored-by: trashtemp <96388163+trashtemp@users.noreply.github.com>
2021-12-20 20:48:37 +00:00
Paul
3cf8c64d7c fix(markdown): enable linkify, disable fuzzyLink 2021-11-04 21:04:44 +00:00
Paul
7e7f9d0f23 chore(markdown): disable linkify 2021-11-04 14:35:41 +00:00
Paul
112a6f5497 fix(markdown): fix line breaks
fixes #214
2021-11-04 14:33:59 +00:00
Paul
51f23f5aa0 Include noreferrer on embed links / window.open. 2021-09-17 09:37:07 +01:00
Paul
048267b419 Remove stray console.log and update translations.
Update themes endpoint and filter unmatched commits.
2021-09-09 22:39:17 +01:00
brecert
f35ebeab67 Add shift+click to channel links 2021-09-07 09:26:12 -04:00
brecert
a308e6ecb8 Add shift+click to mention mentions 2021-09-07 09:09:12 -04:00
Paul
2ccc0b7b5e Change invite rendering logic.
Handle link warnings on embeds.
Remove "EDIT!!" 🙏🙏🙏
2021-09-03 13:04:37 +01:00
Snazzah
d8465b1aae Add trusted link handling in renderer/prompt 2021-08-30 14:08:13 +00:00
Ryan Alexander
3d0e95d25d Add external link warning 2021-08-29 09:56:20 +10:00
Jamie
2d3afdaa83 fix indentation 2021-08-23 04:42:18 -07:00
Jamie
c4b881a525 Update Renderer.tsx 2021-08-23 04:38:21 -07:00
Jamie
852cc22dc2 Update Renderer.tsx 2021-08-22 04:31:48 -07:00
Jamie
5c01944cfb Handle subdomains on URLs 2021-08-22 03:39:30 -07:00
Paul
8a104855a1 Add settings button to server list sidebar.
Move more border radiuses to variables.
2021-08-15 15:21:23 +01:00
Paul
55e00bf93f Make the linter happy. 2021-08-05 14:47:00 +01:00
Paul
463aa79356 Remove strict on KaTeX, change error. 2021-07-31 11:04:31 +01:00
Paul
305243ab43 Fix server id not being replaced properly.
Fix links in spoilers opening when revealing.
Fix unread icon appearing for home.
Fix unreads not being acknowledged.
2021-07-31 10:05:59 +01:00
Paul
6d5fb0a8a3 Rename occurrences of monoscape to monospace. 2021-07-25 14:26:45 +01:00
Paul
3351674c21 Fix: Prevent context menu on images in settings.
Revert mobile change.
Messages: Add channel id matching.
2021-07-10 17:35:18 +01:00
Paul
7586b365fe Format and automatically fix linted code. 2021-07-10 15:57:29 +01:00
Paul
ef5944b065 Add more internal CSS variables. 2021-07-10 15:42:13 +01:00
Paul
ee9aab07a9 Remember age gate prompt confirmation.
Translate age gate.
Add additional limitations on KaTeX.
Prevent any message overflow.
2021-07-08 20:16:50 +01:00
Paul
197ba53c60 Fix: Spoilers would not toggle.
Hook events into Markdown render using ref.
2021-07-07 12:45:55 +01:00