Commit Graph

136 Commits

Author SHA1 Message Date
0ab9118dc4 Styles cleanup, I guess
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-29 15:49:09 +02:00
231fe8c0f3 Merge branch 'drafts' into fork
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-28 15:27:01 +02:00
9a089bb168 Remove more unused code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-28 15:18:13 +02:00
0308aec65b Remove Truth Social-specific features
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-28 14:50:23 +02:00
3a27967846 Add ability to reorder uploaded media before posting in web UI
Based on Gargron's changes in Mastodon: https://github.com/mastodon/mastodon/pull/28456

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-05 14:00:15 +02:00
4a11d56832 Improve pending/scheduled statuses styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-03 23:34:03 +02:00
1505f96258 Update to @tabler/icons 3.1.0, use filled for active state
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-03 13:28:30 +02:00
9df5aaa572 Status drafts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-01 13:06:23 +02:00
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
e426f72130 ComposeForm: disable submit when there is no editorRef 2023-11-27 15:01:13 -06:00
54dff2131f ComposeForm: do autoFocus on mobile 2023-11-27 14:57:16 -06:00
fd19fa9e5b FocusPlugin: refactor the useEffect for sanity 2023-11-27 14:56:42 -06:00
889c2658ba ComposeForm: refactor canSubmit so it works correctly in more scenarios 2023-11-27 14:32:41 -06:00
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
fba42b531b adding tailwind snap effect to scrolled autosuggested items 2023-10-15 02:16:27 +02:00
e0c11fbfd1 Rework MentionNode to take a whole Mention entity 2023-10-13 22:14:55 -05:00
a37fa8bb85 Mention: allow it to link to the profile. disabled for MentionNode 2023-10-13 22:07:43 -05:00
dde8322c7d MentionNode: move Mention into a separate component 2023-10-13 21:09:52 -05:00
622692fe4d MentionNode: truncate Nostr usernames 2023-10-13 17:37:11 -05:00
f6d60c243a MentionNode: add Tooltip 2023-10-13 17:29:52 -05:00
5aacfe299a MentionNode: show the username, not the full acct 2023-10-13 17:22:45 -05:00
964ba8c758 Make MentionNode a DecoratorNode instead of a TextNode 2023-10-13 17:19:55 -05:00
dfe8f84ae1 Merge branch 'compose-clear' into 'main'
Compose clear

See merge request soapbox-pub/soapbox!2809
2023-10-13 20:29:28 +00:00
8f55b6d5c2 Split SubmitPlugin out of StatePlugin 2023-10-13 15:16:39 -05:00
2876252ac0 adding case insensitive match during status composition 2023-10-13 17:20:00 +00:00
181df09039 submitCompose: accept an options object 2023-10-13 11:47:24 -05:00
d71bb8a673 ComposeForm: pass onSubmit through UploadForm to ComposeUpload 2023-10-13 11:16:43 -05:00
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
f6251a221a Run yarn i18n, copy some messages from en.json back into source files 2023-10-11 15:15:50 -05:00
ad329c33fa Remove AutosuggestTextarea 2023-10-11 13:38:58 -05:00
ae63d37d78 rtl.ts -> utils/rtl.ts 2023-10-10 20:02:22 -05:00
596ea21976 Chunk ScheduleForm differently, fix screen blinking when compose is focused 2023-10-09 22:29:57 -05:00
e1982804b6 ComposeForm: wrap ComposeEditor with Suspense 2023-10-09 22:19:27 -05:00
b02c39da2d Delete Bundle component, use Suspense and React.lazy 2023-10-07 17:14:45 -05:00
5ed8c78c88 added vertical scroll feature to the autosuggest component 2023-10-07 13:26:14 +00:00
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
3f640e9797 Untuck tests out of __tests__ directories, colocate with program files 2023-10-02 14:27:40 -05:00
645ce60a5f eslint: use semicolon TypeScript delimeter 2023-10-02 13:54:02 -05:00
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