Commit graph

405 commits

Author SHA1 Message Date
b15640603c Lexical: Use in ComposeEventModal, style improvements, types
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-04-11 23:22:34 +02:00
d297998910 Lexical: lint, update test
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-04-05 23:45:48 +02:00
d24998190e Lexical: Fix EmojiNode, working emoji autocompletion with custom emoji preview
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-04-05 23:04:24 +02:00
edb5914282 Lexical: fix EmojiNode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-04-05 20:46:36 +02:00
9c49fc3d8a Lexical: Hashtag, emoji autocompletion
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-04-02 20:50:15 +02:00
46ffd053bb Merge remote-tracking branch 'soapbox/develop' into lexical
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-04-02 12:03:35 +02:00
7681134d7f wip
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-04-01 13:40:15 +02:00
Alex Gleason
5720d396fc
Groups: make "share with followers" button work 2023-03-30 20:47:08 -05:00
e30ea97aab Lexical: Cleanup, move TypeaheadMenuPlugin and parts of MentionPlugin to new AutosuggestPlugin
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-30 18:17:12 +02:00
4ccfab3e5e Move Lexical styles to tailwind
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-28 17:42:16 +02:00
750306ee0e Lexical: Autosuggest: Still needs cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-27 23:49:37 +02:00
8e31499763 This has a lot of code to remove
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-27 20:54:28 +02:00
2833bf4458 Work on mentions suggestions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-23 22:35:57 +01:00
9933aeb238 why doesn't it autofocus
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-19 20:17:09 +01:00
8b7b2a533e Allow to change block type
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-18 19:21:53 +01:00
6dd2172a04 wip
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-17 22:05:59 +01:00
8c68e93e55 Add draggable block plugin
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-14 17:22:23 +01:00
9ce079ce7e wip
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-13 20:16:37 +01:00
d9f5784a14 WIP mentionplugin
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-12 23:01:38 +01:00
dd1185a3f5 Merge remote-tracking branch 'soapbox/develop' into lexical 2023-03-11 00:18:47 +01:00
f81b5d9aa8 WIP mentions plugin
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-11 00:17:54 +01:00
Alex Gleason
ccec7f43e5
DurationSelector: actually, don't even do weird date stuff at all, LOL 2023-03-10 15:07:25 -06:00
Alex Gleason
bd49417210
Also, fix the variable names in DurationSelector 2023-03-10 15:04:44 -06:00
Alex Gleason
de89a438cc
Make DurationSelector test work locally 2023-03-10 15:00:29 -06:00
84fa5bf333 Merge remote-tracking branch 'soapbox/develop' into lexical
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-10 17:43:47 +01:00
5104cb4fed Lexical: add hashtag plugin
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-09 21:36:37 +01:00
Alex Gleason
d1531b832d
Truncate Nostr pubkeys in reply mentions 2023-03-08 19:56:24 -06:00
88a6ed0ee1 Merge remote-tracking branch 'soapbox/develop' into lexical
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-08 22:08:03 +01:00
171341ff1a Merge, store Lexical editorState
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-02 19:42:31 +01:00
528acb8ac5 Merge remote-tracking branch 'soapbox/develop' into update-emoji-mart
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-23 17:42:31 +01:00
81de0014d3 Change ESLint rules, lint
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-16 00:12:02 +01:00
3aba4218c5 Use clsx instead of template strings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-14 19:00:43 +01:00
c56728b722 classNames() ==> clsx()
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-06 20:28:18 +01:00
49ba4c7a9d Fixes, styles improvements, cleanup, enforce classes order for classNames
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-06 18:18:49 +01:00
Alex Gleason
0d99ae5daa
yarn lint:js --fix 2023-02-01 16:13:42 -06:00
1f39ddf0ec Merge remote-tracking branch 'soapbox/develop' into mastodon-groups
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-27 23:07:26 +01:00
88e2c011a1 i18n: handle plurals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-24 00:08:51 +01:00
Alex Gleason
af1ad92432
Chats: use plus icon to upload attachment 2023-01-20 11:29:40 -06:00
4ec90c031e Minor composer improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-16 20:49:44 +01:00
5d062d07ac license?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-15 22:50:31 +01:00
Alex Gleason
8b50afc128 Merge branch 'types-react' into 'develop'
Upgrade @types/react to v18

See merge request soapbox-pub/soapbox!2147
2023-01-13 18:05:59 +00:00
Alex Gleason
b28e80a1fe
ComposeForm: fix publish icon
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1319
2023-01-13 11:10:39 -06:00
Alex Gleason
5e22d1169f
Upgrade @types/react to v18 2023-01-10 17:03:15 -06:00
Alex Gleason
fd1c67753c
useDispatch --> useAppDispatch, fix types for react-redux v8 2023-01-09 16:13:12 -06:00
fa2afbd629 wip lexical
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-01 23:01:21 +01:00
0b6f12ecae Merge remote-tracking branch 'soapbox/develop' into lexical
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-01 19:04:03 +01:00
31f340282f wip lexical
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-01 19:03:21 +01:00
03349abc37 Merge remote-tracking branch 'soapbox/develop' into cleanup 2022-12-31 19:52:03 +01:00
Chewbacca
7b5f61503f Fix test 2022-12-29 10:39:43 -05:00
4b3f03353d WIP TypeScript convertions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-26 00:31:07 +01:00