Wykres commitów

240 Commity (emoji-picker-react)

Autor SHA1 Wiadomość Data
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