Commit graph

86 commits

Author SHA1 Message Date
Alex Gleason
74c231b59b
Stop re-rendering the ScrollTopButton so much 2023-10-02 12:22:09 -05:00
Alex Gleason
9cb677363d
Notifications: render ScrollTopButton in a Portal 2023-10-02 11:14:36 -05:00
Alex Gleason
ff55272d59
Timeline: put ScrollTopButton into a Portal 2023-10-02 10:56:45 -05: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
0b0a548f8c
EmojiPickerDropdown: minor refactoring 2023-09-25 16:19:08 -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
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
Alex Gleason
8500e7bb9a
Hide unauth features if they're restricted by the backend 2023-09-24 12:51:00 -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
17bcd68d73
Fix remote timeline pages 2023-09-23 20:56:37 -05:00
Alex Gleason
3b630ed8fb
Convert instance to use zod 2023-09-23 20:49:33 -05:00
animegrafmays
4179c587bc fix account migration route 2023-09-23 21:43:29 -04:00
Alex Gleason
939c1bfbb8
lexical: fix custom emojis (add a text representation of them) 2023-09-23 17:27:39 -05:00
Alex Gleason
bad17c52d8
Merge branch 'main' of gitlab.com:soapbox-pub/soapbox into lexical-rm-nodes 2023-09-23 16:27:36 -05:00
Alex Gleason
e712d7bb52
lexical: remove unused nodes 2023-09-23 16:26:46 -05:00
Alex Gleason
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
Alex Gleason
bc3662afc7
lexical: fix ctrl+Enter 2023-09-23 16:20:09 -05:00
Alex Gleason
175d61807d Merge branch 'unauth-improvements' into 'main'
Unauth improvements

See merge request soapbox-pub/soapbox!2743
2023-09-23 21:13:28 +00:00
Alex Gleason
6c318a02ef Merge branch 'lexical' into 'main'
Lexical text editor

See merge request soapbox-pub/soapbox!2177
2023-09-23 21:00:32 +00:00
Alex Gleason
20d1880290
LandingTimeline: remove unnecessary onlyMedia 2023-09-23 15:54:37 -05:00
Alex Gleason
dcab2deda1
RegistrationPage: display "registrations closed" message in place of signup form when registrations are closed 2023-09-23 15:48:44 -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
b8e8be714a
Fix standalone redirect
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1524
2023-09-22 17:33:33 -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