Commit graph

49 commits

Author SHA1 Message Date
Alex Gleason
596ea21976
Chunk ScheduleForm differently, fix screen blinking when compose is focused 2023-10-09 22:29:57 -05:00
Alex Gleason
e1982804b6
ComposeForm: wrap ComposeEditor with Suspense 2023-10-09 22:19:27 -05:00
Alex Gleason
b02c39da2d
Delete Bundle component, use Suspense and React.lazy 2023-10-07 17:14:45 -05:00
Tassoman
5ed8c78c88 added vertical scroll feature to the autosuggest component 2023-10-07 13:26:14 +00:00
Alex Gleason
ebed7cee0b Merge branch 'conversation-verbose' into 'main'
Poor's man verbose conversations

See merge request soapbox-pub/soapbox!2768
2023-10-04 23:32:27 +00:00
Alex Gleason
3f640e9797
Untuck tests out of __tests__ directories, colocate with program files 2023-10-02 14:27:40 -05:00
Alex Gleason
645ce60a5f
eslint: use semicolon TypeScript delimeter 2023-10-02 13:54:02 -05:00
tassoman
e8eefda486 updated: reply-indicator overflows verbose communications, during reply 2023-09-28 08:03:40 +02:00
tassoman
12118e1435 autosuggest css should be relative, not fixed 2023-09-27 14:40:11 +02:00
Alex Gleason
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
Alex Gleason
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
Alex Gleason
cdda5363f6
actions: useEmoji --> chooseEmoji 2023-09-25 16:20:47 -05:00
Alex Gleason
cefe9adc05
EmojiNode: fix getTextContent, remove unused exportDOM 2023-09-25 16:12:51 -05:00
Alex Gleason
f3783f1a50
AutosuggestPlugin: don't autosuggest hashtags for now
https://gitlab.com/soapbox-pub/soapbox/-/issues/1527
2023-09-25 16:09:53 -05:00
Alex Gleason
4b5602a086
lexical: render native emojis as Twemoji 2023-09-25 16:02:13 -05:00
Alex Gleason
2a9cb08d08
lexical: restore EmojiNode, fix Android backspace! 2023-09-25 15:46:29 -05:00
Alex Gleason
aea2653b19
AutosuggestPlugin: remove extraneous ? 2023-09-25 15:18:46 -05:00
Alex Gleason
ab22422aa7
MentionNode: use 'segmented' to fix Android problems 2023-09-25 15:12:43 -05:00
Alex Gleason
e88b952a6f
lexical: remove MentionPlugin, only insert mention when selected from autosuggest 2023-09-25 14:49:00 -05:00
Alex Gleason
71bb8cc73e
lexical: fix license path in lexical files 2023-09-25 13:32:12 -05:00
Alex Gleason
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
Alex Gleason
5449ea3326
MentionPlugin: simplify regex and getMatch 2023-09-25 12:25:40 -05:00
Alex Gleason
7ff9d2ed3b
MentionPlugin: do a little refactoring 2023-09-25 12:16:29 -05:00
Alex Gleason
60f0e6ff6a
Disable EmojiNode for now :( 2023-09-24 14:48:38 -05:00
Alex Gleason
4298722da9
EmojiNode: clone with key 2023-09-24 14:46:19 -05:00
Alex Gleason
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
Alex Gleason
550cd38c3c Delete mention-node.tsx 2023-09-24 03:31:22 +00:00
Alex Gleason
3b630ed8fb
Convert instance to use zod 2023-09-23 20:49:33 -05:00
Alex Gleason
939c1bfbb8
lexical: fix custom emojis (add a text representation of them) 2023-09-23 17:27:39 -05:00
Alex Gleason
e712d7bb52
lexical: remove unused nodes 2023-09-23 16:26:46 -05:00
Alex Gleason
bc3662afc7
lexical: fix ctrl+Enter 2023-09-23 16:20:09 -05:00
Alex Gleason
46b63571e7
lexical: fix modal close confirmation 2023-09-23 15:33:43 -05:00
Alex Gleason
4f65c96da4
lexical: fix placeholder z-index 2023-09-23 15:23:11 -05:00
Alex Gleason
a67b5f8a25
lexical: add RefPlugin to set the ref 2023-09-23 15:10:05 -05:00
Alex Gleason
d92c150d9d
lexical: set the actual editor as the ref, clear the form on submit 2023-09-23 15:01:16 -05:00
Alex Gleason
448d320f4e
lexical: pass the actual EditorState as the ref, count with onChange callback 2023-09-23 14:54:47 -05:00
Alex Gleason
89b1574c77
Make Lexical the only editor 2023-09-23 14:32:02 -05:00
Alex Gleason
206927fd4b
AutosuggestPlugin: clear suggestions after selecting a suggestion 2023-09-23 14:26:43 -05:00
Alex Gleason
aa4992e716
AutosuggestPlugin: update when suggestions updates 2023-09-23 14:22:27 -05:00
Alex Gleason
8f49446a15
AutosuggestPlugin: pageYOffset --> scrollY 2023-09-23 14:05:48 -05:00
Alex Gleason
b14a6586b4
AutosuggestPlugin: treat Tab the same as Enter 2023-09-23 14:02:05 -05:00
Alex Gleason
373fe3a77e
lexical: remove markdown support 2023-09-22 17:22:46 -05:00
Alex Gleason
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
Alex Gleason
f5d17fd55d
Fix regex crash 2023-09-20 13:38:06 -05:00
Alex Gleason
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
Alex Gleason
079469f665
Remove useless escape characters from regexes 2023-09-20 12:10:49 -05:00
Alex Gleason
e9b245b7d4
Remove 'use strict' expressions 2023-09-20 11:55:04 -05:00
Alex Gleason
f9679d270b
Merge src/soapbox with top-level src directory 2023-09-18 16:08:54 -05:00