Commit graph

493 commits

Author SHA1 Message Date
Alex Gleason
86e0245de3
Remove unneeded AxiosError usages 2023-10-23 17:24:09 -05:00
jonnysemon
79df37de7a
Translated using Weblate (Arabic)
Currently translated at 100.0% (1523 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-10-23 17:01:29 +00:00
Ryan He
e8ec660280
Translated using Weblate (Chinese (Traditional))
Currently translated at 64.2% (978 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hant/
2023-10-23 09:01:43 +02:00
marcin mikołajczak
5eeeecae46
Translated using Weblate (Polish)
Currently translated at 99.2% (1509 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/pl/
2023-10-22 01:49:11 +02:00
Alex Gleason
b25408a79f Merge branch 'account-local' into 'main'
Add 'local' to account schema

See merge request soapbox-pub/soapbox!2835
2023-10-21 23:49:06 +00:00
Alex Gleason
166a7f27d3 Merge branch 'error-refactor' into 'main'
Rewrite ErrorBoundary as a functional component using `react-error-boundary`

Closes #1555

See merge request soapbox-pub/soapbox!2836
2023-10-21 23:48:45 +00:00
Alex Gleason
450c377f80
yarn i18n 2023-10-21 18:40:35 -05:00
Alex Gleason
c518d82359
Enable SentryFeedbackForm, it works! 2023-10-21 18:36:01 -05:00
Alex Gleason
365cd70c9b
IntentionalError: throw an actual error instance 2023-10-21 18:27:55 -05:00
Alex Gleason
23efda1590
SiteErrorBoundary: disable SentryFeedbackForm for now 2023-10-21 18:00:28 -05:00
Alex Gleason
d4a03f14d7
Remove @sentry/tracing 2023-10-21 17:51:23 -05:00
Alex Gleason
cbc14604c9
Move SentryFeedbackForm into a separate component 2023-10-21 17:46:57 -05:00
Alex Gleason
fb190398c6
Add a Sentry feedback form which does not work 2023-10-21 17:39:39 -05:00
b1daf3ef13 Remove type assertion when not needed
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-22 00:20:41 +02:00
ba5e018e3c Add 'local' to account schema
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-22 00:14:23 +02:00
4752feb1b8 Update Takahē compatibility, add fixVersion to instanceSchema
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-21 23:45:54 +02:00
Alex Gleason
882f7c38c5
Fix rows prop in Textarea, use Textarea in SiteErrorBoundary 2023-10-21 16:11:52 -05:00
Alex Gleason
c33ff771da
SiteErrorBoundary: rework conditionals for Sentry and production 2023-10-21 15:52:37 -05:00
Alex Gleason
5bbce463e7
SiteErrorBoundary: refactor links, optimize for production 2023-10-21 15:43:25 -05:00
Alex Gleason
45c1d252ba
error-boundary.ts -> site-error-boundary.ts 2023-10-21 15:33:31 -05:00
Alex Gleason
d7ea38cf22
Rewrite ErrorBoundary as a functional component using react-error-boundary 2023-10-21 15:32:37 -05:00
Alex Gleason
c5d527a667
Sentry: add return types, return eventId from captureSentryException 2023-10-21 14:21:21 -05:00
Alex Gleason
a7d78d0935
Delete monitoring.ts, add captureSentryException to sentry.ts 2023-10-21 14:18:56 -05:00
Alex Gleason
0658530447 Merge branch 'ui-suspense' into 'main'
SoapboxMount: fix Suspense boundary for UI

Closes #1589

See merge request soapbox-pub/soapbox!2833
2023-10-21 18:16:33 +00:00
Ahmad Dakhlallah
b2bab5d4f7
Translated using Weblate (Arabic)
Currently translated at 100.0% (1521 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-10-21 18:12:18 +00:00
Ahmad Dakhlallah
06bd22e4a9
Translated using Weblate (Arabic)
Currently translated at 100.0% (1521 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-10-21 18:12:17 +00:00
Ahmad Dakhlallah
121ede745e
Translated using Weblate (Arabic)
Currently translated at 100.0% (1521 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-10-21 18:12:17 +00:00
Ahmad Dakhlallah
5c1f202bc7
Translated using Weblate (Hebrew)
Currently translated at 87.0% (1324 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/he/
2023-10-21 18:12:16 +00:00
LibreTranslate
680c828f1c
Translated using Weblate (Hebrew)
Currently translated at 87.0% (1324 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/he/
2023-10-21 18:12:15 +00:00
Weblate Translation Memory
84f88fbb2a
Translated using Weblate (Hebrew)
Currently translated at 85.6% (1303 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/he/
2023-10-21 18:12:15 +00:00
LibreTranslate
dce3f9b2ce
Translated using Weblate (Hebrew)
Currently translated at 85.6% (1303 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/he/
2023-10-21 18:12:14 +00:00
Ahmad Dakhlallah
55659cded6
Translated using Weblate (Hebrew)
Currently translated at 85.6% (1303 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/he/
2023-10-21 18:12:13 +00:00
Alex Gleason
272e1fde2d Merge branch 'sentry-prod' into 'main'
Enable Sentry in production only

See merge request soapbox-pub/soapbox!2832
2023-10-21 18:04:59 +00:00
Alex Gleason
f844f147b0
SoapboxMount: fix Suspense boundary for UI
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1589
2023-10-21 13:02:39 -05:00
Alex Gleason
b865996175
Enable Sentry in production only 2023-10-21 12:43:32 -05:00
Alex Gleason
37f9bafd13
AccountGallery: fix crash when account isn't loaded yet 2023-10-21 12:38:21 -05:00
Alex Gleason
19ab202737
Update code to new react-query API 2023-10-17 15:19:05 -05:00
Tassoman
f7a61f8a4c adding rtl languages support to announcements 2023-10-16 19:26:39 +00:00
Alex Gleason
1f7effc97d
Refactor sounds, oga -> ogg, remove proprietary avatar from boop.mp3 2023-10-15 17:43:53 -05:00
Alex Gleason
1bfe5908a9
sounds: suppress error when user has disabled autoplay 2023-10-15 17:23:35 -05:00
Alex Gleason
1604e5061b
Sentry: ignore ResizeObserver errors from Virtuoso 2023-10-15 17:12:48 -05:00
Alex Gleason
eed328552f Merge branch 'latn' into 'main'
Force use of latn numberingSystem throughout the UI

Closes #1580

See merge request soapbox-pub/soapbox!2821
2023-10-15 18:31:51 +00:00
Alex Gleason
20a63d2915
Force use of latn numberingSystem throughout the UI
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1580
2023-10-15 13:11:37 -05:00
Alex Gleason
8ea10e4433 Merge branch 'autosuggest-snapped-scroll' into 'main'
adding tailwind snap effect to scrolled autosuggested items

See merge request soapbox-pub/soapbox!2819
2023-10-15 03:17:12 +00:00
Hosted Weblate
6ba37ba2dd
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/
2023-10-15 03:02:11 +00:00
Ahmad Dakhlallah
136194eae6
Translated using Weblate (Hebrew)
Currently translated at 85.0% (1294 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/he/
2023-10-15 03:02:07 +00:00
Ahmad Dakhlallah
cd25e6d6ca
Translated using Weblate (Arabic)
Currently translated at 100.0% (1521 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-10-15 03:02:05 +00:00
tassoman
fba42b531b adding tailwind snap effect to scrolled autosuggested items 2023-10-15 02:16:27 +02:00
Weblate Translation Memory
c2c959ef9f
Translated using Weblate (Hebrew)
Currently translated at 73.3% (1116 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/he/
2023-10-14 20:37:02 +02:00
LibreTranslate
5d727d3ce8
Translated using Weblate (Hebrew)
Currently translated at 73.3% (1116 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/he/
2023-10-14 20:37:02 +02:00
Ahmad Dakhlallah
872ee272b0
Translated using Weblate (Hebrew)
Currently translated at 73.3% (1116 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/he/
2023-10-14 20:37:02 +02:00
Alex Gleason
374f99405e Merge branch 'scrolltop-fix' into 'main'
Fix ScrollTopButton not loading new posts when scrolled to the top

Closes #871

See merge request soapbox-pub/soapbox!2816
2023-10-14 18:34:42 +00:00
Alex Gleason
2959dc5bae
Fix ScrollTopButton not loading new posts when scrolled to the top 2023-10-14 13:18:30 -05:00
Ahmad Dakhlallah
18d4c89099
Translated using Weblate (Arabic)
Currently translated at 100.0% (1521 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-10-14 15:01:01 +00:00
Alex Gleason
0206316acd Merge branch 'html-parse' into 'main'
StatusContent: parse links into components

See merge request soapbox-pub/soapbox!2812
2023-10-14 04:05:22 +00:00
Ahmad Dakhlallah
34df1e3118
Translated using Weblate (Hebrew)
Currently translated at 70.3% (1070 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/he/
2023-10-14 06:00:36 +02:00
Ahmad Dakhlallah
da84b0a4ee
Translated using Weblate (Arabic)
Currently translated at 100.0% (1521 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-10-14 06:00:35 +02:00
Alex Gleason
f5a6b85ed9
Move HashtagLink to separate component 2023-10-13 22:23:18 -05:00
Alex Gleason
e0c11fbfd1
Rework MentionNode to take a whole Mention entity 2023-10-13 22:14:55 -05:00
Alex Gleason
70dc4caeb9
StatusContent: render links with html-react-parser 2023-10-13 22:07:57 -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
1ba1584da8 Merge branch 'unchunk' into 'main'
Unchunk init

Closes #1570

See merge request soapbox-pub/soapbox!2810
2023-10-13 20:59:41 +00: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
c3cfd5764d
Unchunk init 2023-10-13 15:25:59 -05:00
Alex Gleason
8f55b6d5c2
Split SubmitPlugin out of StatePlugin 2023-10-13 15:16:39 -05:00
Alex Gleason
8edd1a830d
submitCompose: make it an async function 2023-10-13 13:31: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
629258613e
Upload: swap out deprecated Icon for UI Icon 2023-10-13 11:12:49 -05:00
Alex Gleason
39de868383
Upload: switch requires to imports 2023-10-13 11:09:04 -05:00
Poesty Li
18595f8254
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1521 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-10-13 04:14:06 +00:00
Ahmad Dakhlallah
0659ebfd20
Translated using Weblate (Arabic)
Currently translated at 99.0% (1507 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-10-13 04:14:05 +00:00
Alex Gleason
b2c766c8ce
Sentry: unset the Sentry account when appropriate 2023-10-12 21:56:14 -05:00
Alex Gleason
e2b8a74e91
Sentry: add Soapbox context 2023-10-12 21:51:06 -05:00
Alex Gleason
626b377371
Fix type in compose.test.ts 2023-10-12 20:09:58 -05:00
Alex Gleason
a98dfd8c11
Send username/id to Sentry 2023-10-12 20:07:48 -05:00
Alex Gleason
2cdfaf4871
Remove useSentry hook, reorganize in SoapboxHead 2023-10-12 19:52:28 -05:00
Alex Gleason
c3673638d7 Merge branch 'site-banner-rtl' into 'main'
SiteBanner: support RTL

Closes #1560

See merge request soapbox-pub/soapbox!2802
2023-10-12 21:58:07 +00:00
Alex Gleason
95ec398268
LogoText: fix text getting cut-off vertically 2023-10-12 16:46:06 -05:00
Alex Gleason
301ba68842
SiteBanner: support RTL 2023-10-12 16:22:47 -05:00
Hosted Weblate
20088bd6fb
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-10-12 07:38:13 +02:00
Alex Gleason
645aa494f5
UI: wrap SidebarMenu with Suspense
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1562
2023-10-12 00:29:02 -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
b5f92b10f9
i18n: resolve duplicate message identifiers in code 2023-10-11 14:57:53 -05:00
Alex Gleason
04214c5075 Merge branch 'input-rtl' into 'main'
Add RTL support to Input and Textarea, delete AutosuggestTextarea

Closes #1558

See merge request soapbox-pub/soapbox!2798
2023-10-11 19:50:11 +00:00
Alex Gleason
3c2fef5a80
Textarea: autodetect RTL 2023-10-11 13:51:36 -05:00
Alex Gleason
5bd1eab607
AccountNotePanel: use our native Textarea component 2023-10-11 13:48:39 -05:00
Alex Gleason
ad329c33fa
Remove AutosuggestTextarea 2023-10-11 13:38:58 -05:00
Alex Gleason
9036d8a9a0
Input: support RTL detection on all Inputs, remove from AutosuggestInput 2023-10-11 13:33:45 -05:00
Alex Gleason
39786aa5f2
Chat search: ensure acct is LTR 2023-10-11 13:23:39 -05:00
Alex Gleason
5796ecaad0
AccountSearch: fix icon position in RTL
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1557
2023-10-11 13:15:58 -05:00
Alex Gleason
923d0fea20 Merge branch 'mentions-ltr' into 'main'
StatusContent: ensure inline mentions are always LTR

See merge request soapbox-pub/soapbox!2794
2023-10-11 18:03:08 +00:00
Alex Gleason
821fb17617 Merge branch 'chat-search-icon-rtl' into 'main'
Input: fix RTL with append

See merge request soapbox-pub/soapbox!2795
2023-10-11 17:27:15 +00:00
Alex Gleason
e12c15845d
Input: fix RTL with append 2023-10-11 12:17:17 -05:00
Alex Gleason
4a81ff55f3
StatusContent: ensure inline mentions are always LTR 2023-10-11 12:06:35 -05:00
marcin mikołajczak
5d338771e7
Translated using Weblate (Polish)
Currently translated at 99.5% (1592 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/pl/
2023-10-11 17:02:09 +00:00
marcin mikołajczak
3f7cd366a7 Merge branch 'mkljczk-main-patch-70579' into 'main'
Reducers: Preserve translation if an existing status already has it

See merge request soapbox-pub/soapbox!2784
2023-10-11 08:42:24 +00:00
Alex Gleason
cad377c910
ErrorBoundary: ensure error text is LTR 2023-10-10 20:31:45 -05:00
Alex Gleason
fd592460a4
ErrorBoundary: we do a little refactoring 2023-10-10 20:29:31 -05:00
Alex Gleason
10f4ea3079
ErrorBoundary: fix RTL arrow 2023-10-10 20:28:00 -05:00
Alex Gleason
e0f43986a7
Chats: flip arrow icons in RTL 2023-10-10 20:19:10 -05:00
Alex Gleason
ae63d37d78
rtl.ts -> utils/rtl.ts 2023-10-10 20:02:22 -05:00
Alex Gleason
207e93b6a8
LinkPreview: check RTL of text 2023-10-10 19:58:57 -05:00
Alex Gleason
f583e7eeb5
Card --> PreviewCard 2023-10-10 19:03:03 -05:00
Alex Gleason
971bcb41e4 Merge branch 'userpanel-rtl' into 'main'
UserPanel: fix RTL support for @

See merge request soapbox-pub/soapbox!2791
2023-10-10 22:49:01 +00:00
Alex Gleason
4a56995385
UserPanel: fix RTL support for @ 2023-10-10 17:48:21 -05:00
Alex Gleason
714746ceef Merge branch 'rtl-chat-widget' into 'main'
ChatPane: clean up, switch to the other side in RTL

See merge request soapbox-pub/soapbox!2789
2023-10-10 22:33:00 +00:00
Alex Gleason
a2e4167da4
i18n.css --> i18n/arabic.css 2023-10-10 17:30:50 -05:00
Alex Gleason
679c0feb54
ChatPane: clean up, switch to the other side in RTL 2023-10-10 17:12:10 -05:00
Alex Gleason
fd818a8eba
Use Tajawal font for Arabic
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1361
2023-10-10 16:54:57 -05:00
Alex Gleason
6f10a68046
Fix RTL Toggle
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1462
2023-10-10 15:34:02 -05:00
Alex Gleason
1b2d6f1516
Wrap EmojiPicker with a Suspense boundary 2023-10-10 11:07:15 -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
marcin mikołajczak
dc0b68f995 Reducers: Preserve translation if an existing status already has it 2023-10-09 19:49:45 +00:00
Alex Gleason
34131cdfcc
Convert all tests to ESM 2023-10-08 22:31:36 -05:00
Alex Gleason
78884a4248
UI: wrap StatusHoverCard with Suspense boundary 2023-10-07 22:57:43 -05:00
Alex Gleason
5c3cebfd3c
Layout.Aside: add Suspense boundary for the whole component 2023-10-07 22:51:48 -05:00
Alex Gleason
82ea3e60a7
SoapboxMount: add Suspense boundaries 2023-10-07 22:48:42 -05:00
Alex Gleason
85f6c0293e
Fix ProfileHoverCard page crash
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1550
2023-10-07 21:28:19 -05:00
Alex Gleason
c2098c3361
Fix lodash imports to get rid of unnecessary extra chunk 2023-10-07 18:53:23 -05:00
Alex Gleason
fe859593f7
Move soapbox.tsx and friends into src/init/ 2023-10-07 18:51:25 -05:00
Alex Gleason
69d2911ee4
CHUNK ALL THE THINGS!!! 2023-10-07 18:48:54 -05:00
Alex Gleason
ed11c2bc2d
Move some top-level code from soapbox-load back into soapbox.tsx where it belongs 2023-10-07 18:45:32 -05:00
Alex Gleason
76578c64c5
Move SoapboxHead into a separate file 2023-10-07 18:41:39 -05:00
Alex Gleason
111428f46d
Move SoapboxMount into a separate file 2023-10-07 18:39:58 -05:00
Alex Gleason
e37b24ffe3
Move SoapboxLoad into a separate file 2023-10-07 18:37:19 -05:00
Alex Gleason
e229c4e2f1
Make entrypoint extremely small! 2023-10-07 18:22:33 -05:00
Alex Gleason
63b98bff4d
soapbox.tsx: load some components async, reduce bundle size 2023-10-07 18:18:50 -05:00
Alex Gleason
643d362103
ComposeEventModal: fix ComposeForm ref 2023-10-07 17:18:03 -05:00
Alex Gleason
b02c39da2d
Delete Bundle component, use Suspense and React.lazy 2023-10-07 17:14:45 -05:00
Alex Gleason
1b213452b7
Fix Bundle type errors, remove bundle error components, remove group slug support 2023-10-07 16:00:42 -05:00
Alex Gleason
0f10922c3d
ProfilePage: fix types of async components 2023-10-07 15:43:34 -05:00
Alex Gleason
5b539416d9
ProfileHoverCard/StatusHoverCard: make visible an optional prop 2023-10-07 15:38:41 -05:00
Alex Gleason
3a221e8c86
Bundle: just wrap it with React.Suspense 2023-10-07 15:37:54 -05:00
Alex Gleason
6b173f44be
AsyncComponents: use React.lazy 2023-10-07 15:04:37 -05:00
Tassoman
5ed8c78c88 added vertical scroll feature to the autosuggest component 2023-10-07 13:26:14 +00:00
Alex Gleason
e07fa23e0d
Let Sentry DSN be configurable in SoapboxConfig 2023-10-05 16:48:20 -05:00
Alex Gleason
73f407455e
Sentry: use DSN from SoapboxConfig 2023-10-05 16:33:59 -05:00
Alex Gleason
f02255ff6a Merge branch 'nostr-machina' into 'main'
Implement Nostr Machina

See merge request soapbox-pub/soapbox!2775
2023-10-04 23:33:33 +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
eceb082874
Fix kindSchema 2023-10-04 18:12:18 -05:00
Alex Gleason
3e6af89a9b
Enable Nostr registration 2023-10-04 18:07:49 -05:00
Alex Gleason
28731f6087
Nostr: enable Nostr login 2023-10-04 18:03:26 -05:00
Alex Gleason
3cebd961ca
useSignerStream: rework with nostr-machina 2023-10-04 17:27:39 -05:00
Alex Gleason
84ca2a269d
nostr: add Nostr sign module 2023-10-04 17:07:02 -05:00
Сергей Ворон
54ed6790f1
Translated using Weblate (Russian)
Currently translated at 100.0% (1599 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ru/
2023-10-02 19:36:44 +00:00
Сергей Ворон
61a3ac8fa5
Translated using Weblate (Russian)
Currently translated at 100.0% (1599 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ru/
2023-10-02 19:36:43 +00:00
Alex Gleason
47008f39a6
toast: fix toast test (use ESM imports) 2023-10-02 14:35:15 -05: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
Alex Gleason
7d0c699fe3
ScrollTopButton: delay adding the scroll listener so the feed doesn't jump when navigating back 2023-10-02 13:25:59 -05:00
Alex Gleason
74c231b59b
Stop re-rendering the ScrollTopButton so much 2023-10-02 12:22:09 -05:00
Alex Gleason
460a6e14c3
ScrollTopButton: make better use of callbacks, keep scrolledTop state 2023-10-02 11:50:20 -05:00
Alex Gleason
2380a0b667
ScrollTopButton: render null when not visible 2023-10-02 11:24:07 -05:00
Alex Gleason
4e26adb789
ScrollTopButton: swap out legacy Icon for UI Icon 2023-10-02 11:23:04 -05:00
Alex Gleason
264082b434
ScrollTopButton: a11y, <a> to <button> 2023-10-02 11:22:04 -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
e8eefda486 updated: reply-indicator overflows verbose communications, during reply 2023-09-28 08:03:40 +02:00
jonnysemon
8945d4d27f
Translated using Weblate (Arabic)
Currently translated at 100.0% (1599 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-09-27 23:01:03 +02:00
tassoman
12118e1435 autosuggest css should be relative, not fixed 2023-09-27 14:40:11 +02:00
Alex Gleason
136b513878 Merge branch 'max-toot-chars' into 'main'
instanceSchema: support max_toot_chars again

See merge request soapbox-pub/soapbox!2760
2023-09-26 18:07:49 +00:00
Alex Gleason
814b220da0
instanceSchema: support legacy Pleroma configuration 2023-09-26 12:58:51 -05:00
Alex Gleason
0986055222
instanceSchema: get rid of any() fields 2023-09-26 12:29:35 -05:00
Alex Gleason
4b52f20776
instanceSchema: support max_toot_chars again 2023-09-26 12:16:53 -05:00
Tassoman
e950c13858
Translated using Weblate (Slovenian)
Currently translated at 71.5% (1144 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/sl/
2023-09-26 05:59:21 +02:00
Tassoman
ec35811623
Translated using Weblate (Spanish (Argentina))
Currently translated at 74.6% (1194 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/es_AR/
2023-09-26 05:59:21 +02:00
Tassoman
c0e3179dad
Translated using Weblate (Swedish)
Currently translated at 71.5% (1144 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/sv/
2023-09-26 05:59:21 +02:00
Tassoman
6df4ef76ec
Translated using Weblate (Tamil)
Currently translated at 71.5% (1144 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ta/
2023-09-26 05:59:21 +02:00
Tassoman
9c64bd8d61
Translated using Weblate (Telugu)
Currently translated at 71.5% (1144 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/te/
2023-09-26 05:59:21 +02:00
Tassoman
b4049d0a26
Translated using Weblate (Thai)
Currently translated at 71.5% (1144 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/th/
2023-09-26 05:59:21 +02:00
Tassoman
5ed05e3aeb
Translated using Weblate (Ukrainian)
Currently translated at 71.5% (1144 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/uk/
2023-09-26 05:59:21 +02:00
Tassoman
369753b86b
Translated using Weblate (Welsh)
Currently translated at 71.5% (1144 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/cy/
2023-09-26 05:59:21 +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
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
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
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
Alex Gleason
421cd3721d
Fix composer always being in Markdown
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1526
2023-09-24 13:10:34 -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
Hosted Weblate
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
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
Tassoman
abcb8b97f0
Translated using Weblate (Italian)
Currently translated at 100.0% (1592 of 1592 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/it/
2023-09-22 23:02:50 +00: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
Alex Gleason
ac591e029e
Merge remote-tracking branch 'origin/main' into lexical 2023-09-22 13:36:04 -05:00
Alex Gleason
52f9339050 Merge branch 'rm-carousel' into 'main'
Remove Truth Social feed carousel

See merge request soapbox-pub/soapbox!2739
2023-09-22 17:01:12 +00:00
Alex Gleason
5e204437df
Remove Truth Social PolicyModal 2023-09-22 11:46:58 -05:00
Alex Gleason
f3ff33ff50
Remove Trending Truths 2023-09-22 11:42:28 -05:00
Alex Gleason
f01d088d06
Remove Truth Social feed carousel 2023-09-22 11:40:11 -05:00
4d5a8d58dc Fix 'Expected "context" media feature range notation'
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-09-21 23:15:07 +02:00
Alex Gleason
48695b9a8a
Merge remote-tracking branch 'origin/main' into lexical 2023-09-21 14:38:57 -05:00
Alex Gleason
2e35c426d4
Fix search being a public route 2023-09-21 13:51:09 -05:00
Alex Gleason
f0cc9ed4d4
Fix EmptyPage being an actual empty page 2023-09-21 13:50:31 -05:00
Alex Gleason
ecc0897ee6
Delete PublicLayout and legacy LandingPage 2023-09-21 13:45:58 -05:00
Alex Gleason
2f3350267c
LandingTimeline: remove sonar animation 2023-09-21 13:43:52 -05:00
Alex Gleason
c697f9a92c
LandingTimeline: remove page title 2023-09-21 13:12:31 -05:00
Alex Gleason
ae86a17ea1
HomePage: hide donation widgets until logged in 2023-09-21 13:10:25 -05:00
Alex Gleason
a131f274b4
LandingPage: remove donation widgets from sidebar when logged out 2023-09-21 13:08:33 -05:00
Alex Gleason
def95d2b5c
Add a LandingTimeline, put the site name and description on it 2023-09-21 12:02:02 -05:00
Alex Gleason
77d18e9cd3
Merge remote-tracking branch 'origin/main' into lexical 2023-09-20 19:13:16 -05:00
Alex Gleason
76884f26b1
Add vite-plugin-checker, fix types 2023-09-20 18:50:17 -05:00
fac42ab2c9 Merge remote-tracking branch 'soapbox/main' into lexical
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-09-20 23:49:55 +02:00