Commit graph

184 commits

Author SHA1 Message Date
marcin mikołajczak
fa34fa3652 Merge branch 'announcements' into 'main'
Use react-query and zod for announcements

See merge request soapbox-pub/soapbox!2990
2024-04-15 20:39:35 +00:00
f90a1618d2 Allow to change folder for an existing bookmark
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-13 13:25:37 +02:00
161db37ba0 Use react-query and zod for announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-09 23:38:09 +02:00
Alex Gleason
2c9bdf03a4
StatusActionBar: get external domain from status.uri instead of fqn 2024-04-06 19:39:41 -05:00
e3a87a0326 Support role badges on Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-05 17:12:12 +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
marcin mikołajczak
35620a7330 Merge branch 'missing-alt-description' into 'main'
Add optional indicator for attachments without description

See merge request soapbox-pub/soapbox!2982
2024-04-04 09:24:17 +00:00
d3c0604599 Add optional indicator for attachments without description
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-04 11:02:15 +02:00
a75a3cdc37 Indicate that quoted post quotes another post
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-04 00:30:57 +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
8c36432a06 Merge remote-tracking branch 'origin/main' into drafts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-02 23:11:30 +02:00
Alex Gleason
bc6082d3f2
RelayEditor: allow setting the marker 2024-04-01 13:19:19 -05:00
9df5aaa572 Status drafts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-01 13:06:23 +02:00
marcin mikołajczak
66ad4f8753 Multitenancy support 2024-03-27 11:31:54 +00:00
9585b3a870 Add missing strings to translation, enable formatjs ESLint rules
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-25 12:49:48 +01:00
7749f93c21 Fix ScrollableList class names regression
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-25 11:38:46 +01:00
f0f0da8bca Minor style improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-25 11:28:06 +01:00
1c5e8bc7d4 Change icon, rename theme, set divideType based on theme
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-24 22:41:44 +01:00
5e1499ed82 More colors
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-24 20:37:39 +01:00
7e9906c315 Fix layout, add missing colors
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-24 20:28:51 +01:00
fb9a7fc8b7 Call it 'beta' for now
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-24 17:39:39 +01:00
067fc9e45d Black mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-24 17:38:34 +01:00
Alex Gleason
b94ea6cd42
Move EmojiGraphic to soapbox/components 2024-03-16 16:08:23 -05:00
Alex Gleason
613d97ea78
Merge branch 'jsr' into ditto-auth 2024-03-06 15:52:49 -06:00
3786c786e2 Align poll option text to center
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-02-29 23:13:39 +01:00
Alex Gleason
5eb388bb3b
KeygenStep: simplify it, add a tooltip over "Next" button 2024-02-19 14:07:18 -06:00
Alex Gleason
772cecf26b
KeygenStep: display user's keys as copyable inputs 2024-02-19 13:26:39 -06:00
Alex Gleason
9267ef28e3
Modal: support back button 2024-02-18 13:18:07 -06:00
Alex Gleason
603e2cc2ce
Merge remote-tracking branch 'origin/main' into ditto-auth 2024-02-16 15:57:45 -06:00
Alex Gleason
ffdb744d16
Refactor useSettings hook, parse with zod schema 2024-02-13 23:20:18 -06:00
Alex Gleason
b0a82a23d0
StatusInfo: truncate long text 2024-02-13 22:02:13 -06:00
Alex Gleason
e02ca0e0af
Reduce circular imports in UI components 2024-02-11 16:40:08 -06: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
Alex Gleason
797fca7111
Add WebLN types, only show zap button when WebLN is available 2024-01-22 14:37:44 -06:00
Alex Gleason
9cad54c97c
Nostr Zaps 2024-01-15 18:53:49 -06:00
marcin mikołajczak
60521f224d Merge branch 'typos' into 'main'
Fix some typos

See merge request soapbox-pub/soapbox!2916
2024-01-11 22:51:03 +00:00
marcin mikołajczak
ab56851ea5 Merge branch 'voting-limit' into 'main'
Support infinite voting time for remote polls

See merge request soapbox-pub/soapbox!2853
2024-01-11 22:43:40 +00:00
b2faa1406b Fix some typos
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-01-11 14:53:06 +01:00
3406ce043c Support infinite voting time for remote polls
Signed-off-by: Marcin Mikołajczak <git@mkljczk.pl>
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-01-11 14:51:55 +01:00
Alex Gleason
96d266d73c
Input: fix search focus background color 2023-12-21 11:08:35 -06:00
Alex Gleason
0dde6f008f
StatusContent: fix types for html-react-parser v5 2023-12-21 10:18:15 -06:00
Alex Gleason
8108ac2a67
yarn lint:js --fix 2023-12-20 21:17:33 -06:00
Alex Gleason
3333db75ba
account.tsx: add space between action 2023-11-28 12:35:48 -06:00
Alex Gleason
b95bd0e533
Gameboy: fix button styles in light mode 2023-11-25 00:39:29 -06:00
Alex Gleason
c754a52d88
Gameboy: add download button 2023-11-25 00:25:22 -06:00
Alex Gleason
dd1e1aca82
MediaGallery: fix cursor over Gameboy component 2023-11-24 23:39:17 -06:00
Alex Gleason
5aa69c917f
Gameboy: make mute button work properly 2023-11-24 23:18:15 -06:00
Alex Gleason
c17b193ca1
Gameboy: focus the div after entering fullscreen 2023-11-24 22:42:25 -06:00
Alex Gleason
a317152e3f
Gameboy: tap the canvas to show/hide controls 2023-11-24 22:28:29 -06:00
Alex Gleason
4d840e0290
Gameboy: add a fullscreen button 2023-11-24 22:21:46 -06:00
Alex Gleason
48db472af5
Gameboy: add audio control, but it doesn't work correctly 2023-11-24 21:58:04 -06:00
Alex Gleason
2696364710
Gameboy: add controls and a pause buttom 2023-11-24 21:39:59 -06:00
Alex Gleason
5ee2c8a23c
Gameboy: render the canvas inside a container div 2023-11-24 20:54:24 -06:00
Alex Gleason
3b17bef9e5
Switch to my fork of wasmboy 2023-11-24 18:36:27 -06:00
Alex Gleason
0bb50f492e
Lazy-load the Gameboy component 2023-11-22 22:49:27 -06:00
Alex Gleason
f7c624483e
Gameboy: improve remounting 2023-11-22 22:44:23 -06:00
Alex Gleason
2e7b773bb5
Gameboy: release keyboard when canvas isn't focused 2023-11-22 22:39:45 -06:00
Alex Gleason
2e1282bc2d
Render a Game Boy player for GB/GBC attachments 2023-11-22 22:20:19 -06:00
Alex Gleason
948dbcaa49
GdprBanner: fix inverted shown logic 2023-11-14 16:51:33 -06:00
Alex Gleason
4162808ce0
Don't load GdprBanner unless configured 2023-11-14 15:53:57 -06:00
af41877a4e Always display poll option title
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-31 20:13:55 +01:00
1d3424e648 Display emoji reactions on glitch-soc and Iceshrimp
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-29 23:00:48 +01: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
c518d82359
Enable SentryFeedbackForm, it works! 2023-10-21 18:36:01 -05:00
Alex Gleason
23efda1590
SiteErrorBoundary: disable SentryFeedbackForm for now 2023-10-21 18:00:28 -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
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
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