Commit Graph

42 Commits

Author SHA1 Message Date
e8eefda486 updated: reply-indicator overflows verbose communications, during reply 2023-09-28 08:03:40 +02:00
12118e1435 autosuggest css should be relative, not fixed 2023-09-27 14:40:11 +02:00
2d7ce9b684 lexical: pass compose text from the reducer on mount
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1531
2023-09-25 22:47:55 -05:00
eb875673fd ComposeForm: insert emoji from picker into lexical
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1529
2023-09-25 16:31:01 -05:00
cdda5363f6 actions: useEmoji --> chooseEmoji 2023-09-25 16:20:47 -05:00
cefe9adc05 EmojiNode: fix getTextContent, remove unused exportDOM 2023-09-25 16:12:51 -05:00
f3783f1a50 AutosuggestPlugin: don't autosuggest hashtags for now
https://gitlab.com/soapbox-pub/soapbox/-/issues/1527
2023-09-25 16:09:53 -05:00
4b5602a086 lexical: render native emojis as Twemoji 2023-09-25 16:02:13 -05:00
2a9cb08d08 lexical: restore EmojiNode, fix Android backspace! 2023-09-25 15:46:29 -05:00
aea2653b19 AutosuggestPlugin: remove extraneous ? 2023-09-25 15:18:46 -05:00
ab22422aa7 MentionNode: use 'segmented' to fix Android problems 2023-09-25 15:12:43 -05:00
e88b952a6f lexical: remove MentionPlugin, only insert mention when selected from autosuggest 2023-09-25 14:49:00 -05:00
71bb8cc73e lexical: fix license path in lexical files 2023-09-25 13:32:12 -05:00
f628cd73b0 MentionPlugin: use a simpler regex, fix double-@ mentions
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1530
2023-09-25 13:30:52 -05:00
5449ea3326 MentionPlugin: simplify regex and getMatch 2023-09-25 12:25:40 -05:00
7ff9d2ed3b MentionPlugin: do a little refactoring 2023-09-25 12:16:29 -05:00
60f0e6ff6a Disable EmojiNode for now :( 2023-09-24 14:48:38 -05:00
4298722da9 EmojiNode: clone with key 2023-09-24 14:46:19 -05:00
aabaaee8b8 Merge branch 'instance-zod' into 'main'
Convert instance to use zod

See merge request soapbox-pub/soapbox!2751
2023-09-24 15:23:33 +00:00
550cd38c3c Delete mention-node.tsx 2023-09-24 03:31:22 +00:00
3b630ed8fb Convert instance to use zod 2023-09-23 20:49:33 -05:00
939c1bfbb8 lexical: fix custom emojis (add a text representation of them) 2023-09-23 17:27:39 -05:00
e712d7bb52 lexical: remove unused nodes 2023-09-23 16:26:46 -05:00
bc3662afc7 lexical: fix ctrl+Enter 2023-09-23 16:20:09 -05:00
46b63571e7 lexical: fix modal close confirmation 2023-09-23 15:33:43 -05:00
4f65c96da4 lexical: fix placeholder z-index 2023-09-23 15:23:11 -05:00
a67b5f8a25 lexical: add RefPlugin to set the ref 2023-09-23 15:10:05 -05:00
d92c150d9d lexical: set the actual editor as the ref, clear the form on submit 2023-09-23 15:01:16 -05:00
448d320f4e lexical: pass the actual EditorState as the ref, count with onChange callback 2023-09-23 14:54:47 -05:00
89b1574c77 Make Lexical the only editor 2023-09-23 14:32:02 -05:00
206927fd4b AutosuggestPlugin: clear suggestions after selecting a suggestion 2023-09-23 14:26:43 -05:00
aa4992e716 AutosuggestPlugin: update when suggestions updates 2023-09-23 14:22:27 -05:00
8f49446a15 AutosuggestPlugin: pageYOffset --> scrollY 2023-09-23 14:05:48 -05:00
b14a6586b4 AutosuggestPlugin: treat Tab the same as Enter 2023-09-23 14:02:05 -05:00
373fe3a77e lexical: remove markdown support 2023-09-22 17:22:46 -05:00
e619ffffdd lexical: fix minor spacing/size issues 2023-09-22 15:38:27 -05:00
fac42ab2c9 Merge remote-tracking branch 'soapbox/main' into lexical
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-09-20 23:49:55 +02:00
f5d17fd55d Fix regex crash 2023-09-20 13:38:06 -05:00
84b114a16b Merge branch 'regex-warnings' into 'main'
Remove useless escape characters from regexes

See merge request soapbox-pub/soapbox!2721
2023-09-20 17:24:04 +00:00
079469f665 Remove useless escape characters from regexes 2023-09-20 12:10:49 -05:00
e9b245b7d4 Remove 'use strict' expressions 2023-09-20 11:55:04 -05:00
f9679d270b Merge src/soapbox with top-level src directory 2023-09-18 16:08:54 -05:00