Commit graph

207 commits

Author SHA1 Message Date
Alex Gleason
301ba68842
SiteBanner: support RTL 2023-10-12 16:22:47 -05: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