Commit Graph

9908 Commits

Author SHA1 Message Date
2a9cb08d08 lexical: restore EmojiNode, fix Android backspace! 2023-09-25 15:46:29 -05:00
29974c33e7 Merge branch 'fix-double-at' into 'main'
MentionPlugin: fix double-@ mentions

Closes #1530

See merge request soapbox-pub/soapbox!2757
2023-09-25 20:29:58 +00: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
72065ffe23 Merge branch 'emoji-backspace' into 'main'
Disable EmojiNode for now

Closes #1525

See merge request soapbox-pub/soapbox!2755
2023-09-24 20:25:02 +00: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
e6023d725e Merge branch 'fix-composer-md' into 'main'
Fix composer always being in Markdown

Closes #1526

See merge request soapbox-pub/soapbox!2754
2023-09-24 18:31:41 +00:00
421cd3721d Fix composer always being in Markdown
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1526
2023-09-24 13:10:34 -05:00
f0f2f6fa41 Merge branch 'restrict-unauthenticated' into 'main'
Hide unauth features if they're restricted by the backend

See merge request soapbox-pub/soapbox!2753
2023-09-24 18:09:24 +00:00
8bbf454af4 LandingTimeline: display About page instead of the feed if the feed is restricted by the API 2023-09-24 12:58:58 -05:00
8500e7bb9a Hide unauth features if they're restricted by the backend 2023-09-24 12:51:00 -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
223cd22d73 Merge branch 'rm-dupe-file' into 'main'
Delete mention-node.tsx

See merge request soapbox-pub/soapbox!2752
2023-09-24 03:39:07 +00:00
550cd38c3c Delete mention-node.tsx 2023-09-24 03:31:22 +00:00
17bcd68d73 Fix remote timeline pages 2023-09-23 20:56:37 -05:00
e07e6b5d95 Merge branch 'develop' into 'main'
fix account migration route

See merge request soapbox-pub/soapbox!2750
2023-09-24 01:50:37 +00:00
3b630ed8fb Convert instance to use zod 2023-09-23 20:49:33 -05:00
4179c587bc fix account migration route 2023-09-23 21:43:29 -04:00
970ad24de9 Merge branch 'lexical-fix-custom-emojis' into 'main'
lexical: fix custom emojis (add a text representation of them)

See merge request soapbox-pub/soapbox!2749
2023-09-23 22:36:54 +00:00
939c1bfbb8 lexical: fix custom emojis (add a text representation of them) 2023-09-23 17:27:39 -05:00
f819fb2ef9 Merge branch 'weblate-soapbox-pub-soapbox' into 'main'
Translations update from Hosted Weblate

See merge request soapbox-pub/soapbox!2746
2023-09-23 21:30:58 +00:00
dcdf352e50 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/
2023-09-23 21:30:10 +00:00
936972779d Merge branch 'lexical-rm-nodes' into 'main'
lexical: remove unused nodes, upgrade all deps

See merge request soapbox-pub/soapbox!2748
2023-09-23 21:30:02 +00:00
c8229d48e8 Upgrade all lexical deps 2023-09-23 16:28:44 -05:00
bad17c52d8 Merge branch 'main' of gitlab.com:soapbox-pub/soapbox into lexical-rm-nodes 2023-09-23 16:27:36 -05:00
e712d7bb52 lexical: remove unused nodes 2023-09-23 16:26:46 -05:00
d1c2cdecb5 Merge branch 'lexical-ctrl-enter' into 'main'
lexical: fix ctrl+Enter

See merge request soapbox-pub/soapbox!2747
2023-09-23 21:21:45 +00:00
bc3662afc7 lexical: fix ctrl+Enter 2023-09-23 16:20:09 -05:00
175d61807d Merge branch 'unauth-improvements' into 'main'
Unauth improvements

See merge request soapbox-pub/soapbox!2743
2023-09-23 21:13:28 +00:00
a2f5c703a6 Merge branch 'renovate/lexical-code-0.x' into 'main'
fix(deps): update dependency @lexical/code to ^0.12.0

See merge request soapbox-pub/soapbox!2745
2023-09-23 21:10:11 +00:00
cdfb2de33f fix(deps): update dependency @lexical/code to ^0.12.0 2023-09-23 21:06:42 +00:00
6c318a02ef Merge branch 'lexical' into 'main'
Lexical text editor

See merge request soapbox-pub/soapbox!2177
2023-09-23 21:00:32 +00:00
163fdd07dd Merge branch 'weblate-soapbox-pub-soapbox' into 'main'
Translations update from Hosted Weblate

See merge request soapbox-pub/soapbox!2742
2023-09-23 21:00:06 +00:00
20d1880290 LandingTimeline: remove unnecessary onlyMedia 2023-09-23 15:54:37 -05:00
dcab2deda1 RegistrationPage: display "registrations closed" message in place of signup form when registrations are closed 2023-09-23 15:48:44 -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