Commit graph

61 commits

Author SHA1 Message Date
Alex Gleason
d7ea38cf22
Rewrite ErrorBoundary as a functional component using react-error-boundary 2023-10-21 15:32:37 -05:00
Alex Gleason
a7d78d0935
Delete monitoring.ts, add captureSentryException to sentry.ts 2023-10-21 14:18:56 -05:00
Tassoman
f7a61f8a4c adding rtl languages support to announcements 2023-10-16 19:26:39 +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
2959dc5bae
Fix ScrollTopButton not loading new posts when scrolled to the top 2023-10-14 13:18:30 -05:00
Alex Gleason
f5a6b85ed9
Move HashtagLink to separate component 2023-10-13 22:23:18 -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
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
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
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
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
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
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
6f10a68046
Fix RTL Toggle
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1462
2023-10-10 15:34:02 -05:00
Alex Gleason
34131cdfcc
Convert all tests to ESM 2023-10-08 22:31:36 -05:00
Alex Gleason
5c3cebfd3c
Layout.Aside: add Suspense boundary for the whole component 2023-10-07 22:51:48 -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
5b539416d9
ProfileHoverCard/StatusHoverCard: make visible an optional prop 2023-10-07 15:38:41 -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
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
8500e7bb9a
Hide unauth features if they're restricted by the backend 2023-09-24 12:51:00 -05:00
Alex Gleason
3b630ed8fb
Convert instance to use zod 2023-09-23 20:49:33 -05:00
Alex Gleason
ac591e029e
Merge remote-tracking branch 'origin/main' into lexical 2023-09-22 13:36:04 -05:00
Alex Gleason
5e204437df
Remove Truth Social PolicyModal 2023-09-22 11:46:58 -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
Alex Gleason
a59b9d563d Merge branch 'rm-rumble-embeds' into 'main'
Remove support for Rumble video embeds

See merge request soapbox-pub/soapbox!2716
2023-09-20 20:51:28 +00:00
Alex Gleason
0d7c595818 Merge branch 'login-ui' into 'main'
Move Login pages into the UI, delete AuthLayout

See merge request soapbox-pub/soapbox!2730
2023-09-20 20:51:00 +00:00
Alex Gleason
ffae3f89df
Move Login page to UI 2023-09-20 13:57:33 -05:00