Commit graph

78 commits

Author SHA1 Message Date
2c5ee5db1b Black for touchscreen actions modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-24 22:54:49 +01:00
5e1499ed82 More colors
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-24 20:37:39 +01:00
124421a541 Remove more unused code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-02-11 15:45:18 +01:00
8e3c6e8310 Update lexical, remove unused code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-02-11 13:06:30 +01:00
5e801b899d Use media query to detect touchscreens
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-02-07 17:33:22 +01:00
231a68fb63 Merge remote-tracking branch 'origin/main' into instance-v2
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-01-05 00:41:06 +01:00
Alex Gleason
e426f72130
ComposeForm: disable submit when there is no editorRef 2023-11-27 15:01:13 -06:00
Alex Gleason
54dff2131f
ComposeForm: do autoFocus on mobile 2023-11-27 14:57:16 -06:00
Alex Gleason
fd19fa9e5b
FocusPlugin: refactor the useEffect for sanity 2023-11-27 14:56:42 -06:00
Alex Gleason
889c2658ba
ComposeForm: refactor canSubmit so it works correctly in more scenarios 2023-11-27 14:32:41 -06:00
Alex Gleason
c7f9a9eb56
ComposeForm: get text from the editorRef instead of component state
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1563
2023-11-14 11:08:32 -06:00
7c752f088c instance v1 to v2 convesion
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-27 23:48:54 +02:00
tassoman
fba42b531b adding tailwind snap effect to scrolled autosuggested items 2023-10-15 02:16:27 +02:00
Alex Gleason
e0c11fbfd1
Rework MentionNode to take a whole Mention entity 2023-10-13 22:14:55 -05:00
Alex Gleason
a37fa8bb85
Mention: allow it to link to the profile. disabled for MentionNode 2023-10-13 22:07:43 -05:00
Alex Gleason
dde8322c7d
MentionNode: move Mention into a separate component 2023-10-13 21:09:52 -05:00
Alex Gleason
622692fe4d
MentionNode: truncate Nostr usernames 2023-10-13 17:37:11 -05:00
Alex Gleason
f6d60c243a
MentionNode: add Tooltip 2023-10-13 17:29:52 -05:00
Alex Gleason
5aacfe299a
MentionNode: show the username, not the full acct 2023-10-13 17:22:45 -05:00
Alex Gleason
964ba8c758
Make MentionNode a DecoratorNode instead of a TextNode 2023-10-13 17:19:55 -05:00
Alex Gleason
dfe8f84ae1 Merge branch 'compose-clear' into 'main'
Compose clear

See merge request soapbox-pub/soapbox!2809
2023-10-13 20:29:28 +00:00
Alex Gleason
8f55b6d5c2
Split SubmitPlugin out of StatePlugin 2023-10-13 15:16:39 -05:00
Tassoman
2876252ac0 adding case insensitive match during status composition 2023-10-13 17:20:00 +00:00
Alex Gleason
181df09039
submitCompose: accept an options object 2023-10-13 11:47:24 -05:00
Alex Gleason
d71bb8a673
ComposeForm: pass onSubmit through UploadForm to ComposeUpload 2023-10-13 11:16:43 -05:00
Alex Gleason
d0170dc449 Merge branch 'upgrade-react-intl' into 'main'
Upgrade react-intl, remove translationRunner, fix `yarn i18n`

Closes #1553

See merge request soapbox-pub/soapbox!2799
2023-10-11 20:27:32 +00:00
Alex Gleason
f6251a221a
Run yarn i18n, copy some messages from en.json back into source files 2023-10-11 15:15:50 -05:00
Alex Gleason
ad329c33fa
Remove AutosuggestTextarea 2023-10-11 13:38:58 -05:00
Alex Gleason
ae63d37d78
rtl.ts -> utils/rtl.ts 2023-10-10 20:02:22 -05:00
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