Commit graph

1689 commits

Author SHA1 Message Date
Alex Gleason
aa8f84d352
Menu: move <hr> styles to component 2023-02-06 16:15:00 -06:00
Alex Gleason
f6f3973eac
Account: let avatar and display name be truncated 2023-02-06 16:09:59 -06:00
Alex Gleason
a433d22ba3
Account: don't calculate max-width unnecessarily 2023-02-06 16:09:25 -06:00
Alex Gleason
ab8d162f03
Account: useLayoutEffect, refactor function calls, fix types, prevent negative maxWidth 2023-02-06 15:53:58 -06:00
Alex Gleason
e3f168f050
Merge remote-tracking branch 'origin/develop' into chat-composer 2023-02-06 14:25:37 -06:00
4721452986 Merge remote-tracking branch 'soapbox/develop' into cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-06 20:31:20 +01:00
c56728b722 classNames() ==> clsx()
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-06 20:28:18 +01:00
Alex Gleason
785612691a
yarn lint:js --fix 2023-02-06 12:06:44 -06:00
Alex Gleason
701215d7bc
classNames() --> clsx() 2023-02-06 12:05:19 -06:00
49ba4c7a9d Fixes, styles improvements, cleanup, enforce classes order for classNames
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-06 18:18:49 +01:00
Alex Gleason
8bd175e0e4 Merge branch 'storybook' into 'develop'
Add Storybook

See merge request soapbox-pub/soapbox!2252
2023-02-03 20:59:29 +00:00
Alex Gleason
25277b0b73
Merge remote-tracking branch 'origin/develop' into chat-composer 2023-02-03 12:03:45 -06:00
Alex Gleason
0ee8c8eba1 Merge branch 'tailwind-order' into 'develop'
Tailwind order

Closes #1349

See merge request soapbox-pub/soapbox!2244
2023-02-03 16:38:28 +00:00
Alex Gleason
d9d6708589
Storybook: improve Button story 2023-02-02 23:00:51 -06:00
Alex Gleason
4c025bb2bc
Refactor ProgressBar 2023-02-02 18:03:22 -06:00
Alex Gleason
6b1882d7a9
Merge remote-tracking branch 'origin/develop' into chat-composer 2023-02-02 15:19:54 -06:00
Alex Gleason
01aef5e89e
Remove withDismiss prop from status, update CHANGELOG 2023-02-02 12:06:39 -06:00
Mark Felder
d0078e7f17 Permit muting a thread as an option on any post in the thread 2023-02-02 12:13:23 -05:00
Alex Gleason
0d99ae5daa
yarn lint:js --fix 2023-02-01 16:13:42 -06:00
Alex Gleason
382bc6732d
Merge remote-tracking branch 'origin/develop' into chat-composer 2023-02-01 15:28:33 -06:00
Tassoman
3b4df99788 translate button component using soapobox's iconbutton 2023-01-30 22:53:44 +00:00
Alex Gleason
cfd3ea9467 Merge branch 'status-font-size' into 'develop'
Increase font size of focused status in threads

See merge request soapbox-pub/soapbox!2232
2023-01-30 19:53:24 +00:00
Alex Gleason
747cc8c5b9
StatusContent: size --> textSize 2023-01-30 13:38:29 -06:00
Alex Gleason
d64b8d9b16
Merge remote-tracking branch 'origin/develop' into accounts-scss 2023-01-30 12:14:51 -06:00
Chewbacca
44fce6fbf3
Add 'key' to Link to fix react console error 2023-01-29 16:42:12 -06:00
8435a6dab7 Update en.json
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-27 23:58:34 +01:00
1f39ddf0ec Merge remote-tracking branch 'soapbox/develop' into mastodon-groups
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-27 23:07:26 +01:00
Alex Gleason
1169149b83
Increase font size of focused status in threads 2023-01-27 12:36:49 -06:00
Alex Gleason
cb4c6d7ccb Apply 1 suggestion(s) to 1 file(s) 2023-01-27 00:25:29 +00:00
83a500ee92 Add outline to translate button
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-27 00:23:55 +01:00
a1dabbdee2 Add icon to 'Translate' button
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-26 14:44:20 +01:00
Alex Gleason
382e464390
Move chat attachments into the chat composer 2023-01-25 15:45:33 -06:00
Alex Gleason
672938a66e
Fix media modal on older browsers 2023-01-23 16:46:20 -06:00
Alex Gleason
f244bd3ce1
AutosuggestTextarea: bind this, fix crash in older browsers 2023-01-23 15:57:49 -06:00
Tassoman
6696cde093 adding: bot badge inside timeline statuses 2023-01-20 16:01:13 +00:00
Alex Gleason
f28886e77b Revert "Merge branch 'remove-immutable-purecomponent' into 'develop'"
This reverts merge request !2201
2023-01-19 19:23:54 +00:00
Alex Gleason
7035e00267
Remove react-immutable-pure-component 2023-01-19 11:30:00 -06:00
marcin mikołajczak
e41b35bfdc Merge branch 'compose-improvements' into 'develop'
Minor composer improvements

See merge request soapbox-pub/soapbox!2181
2023-01-18 06:48:22 +00:00
4ec90c031e Minor composer improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-16 20:49:44 +01:00
9611509a7e Improvements for sensitive content overlay for too long posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-15 23:05:04 +01:00
Alex Gleason
21f864c8a6 Merge branch 'backups' into 'develop'
Restore zip backups, export CSV, import CSV

Closes #1264

See merge request soapbox-pub/soapbox!2158
2023-01-13 19:41:01 +00:00
Alex Gleason
edfece4ac0
Merge remote-tracking branch 'origin/develop' into types-react 2023-01-13 09:56:20 -06:00
Alex Gleason
d3f93d0325
Merge remote-tracking branch 'origin/develop' into accounts-scss 2023-01-12 11:38:56 -06:00
Alex Gleason
25a0730bf5
StatusContent: useLayoutEffect, fix "read more" button glitchiness on React 18 2023-01-12 10:57:39 -06:00
Alex Gleason
ebfd7bdc94
Move "Import data" under settings 2023-01-11 17:30:32 -06:00
Chewbacca
e1a38b9d41 Merge branch 'fix-undefined-bug' into 'develop'
Fix multiple bugs

See merge request soapbox-pub/soapbox!2142
2023-01-11 20:06:47 +00:00
Alex Gleason
5e22d1169f
Upgrade @types/react to v18 2023-01-10 17:03:15 -06:00
Chewbacca
ca3f9f9d8c Remove 'hasError' prop from FormGroup and Input 2023-01-10 13:41:32 -05:00
Alex Gleason
bf159ad539 Merge branch 'remove-history' into 'develop'
Remove 'history' dep

See merge request soapbox-pub/soapbox!2138
2023-01-10 17:10:20 +00:00
Alex Gleason
14299ce62a
ScrollableList: update Virtuoso component types for v4 2023-01-10 10:36:28 -06:00
Alex Gleason
72e8ae8d37 Merge branch 'renovate/major-react-monorepo' into 'develop'
fix(deps): update react monorepo to v18 (major)

See merge request soapbox-pub/soapbox!367
2023-01-10 15:06:54 +00:00
marcin mikołajczak
5131655e94 Merge branch 'icons' into 'develop'
I don't think it makes sense to have SvgIcon and ForkAwesomeIcon in a single component anymore

See merge request soapbox-pub/soapbox!2139
2023-01-10 13:15:07 +00:00
Alex Gleason
eafc92e275 Merge branch 'renovate/react-redux-8.x' into 'develop'
Update dependency react-redux to v8

See merge request soapbox-pub/soapbox!2082
2023-01-09 23:43:26 +00:00
823cd3124e I don't think it makes sense to have SvgIcon and ForkAwesomeIcon in a single component anymore
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-10 00:11:39 +01:00
Alex Gleason
fd1c67753c
useDispatch --> useAppDispatch, fix types for react-redux v8 2023-01-09 16:13:12 -06:00
Alex Gleason
8a55f8416b
Remove 'history' dep 2023-01-09 15:43:41 -06:00
Alex Gleason
a4fcbb9872
Delete accounts.scss 2023-01-09 14:46:59 -06:00
Chewbacca
63201c4acf Merge branch 'redesign-repost' into 'develop'
Move status info to above Account

See merge request soapbox-pub/soapbox!2120
2023-01-09 17:42:52 +00:00
Chewbacca
52fbd743d1 Lint 2023-01-09 09:03:37 -05:00
marcin mikołajczak
e46fad211c Merge branch 'translations' into 'develop'
Translations: Support allow_unauthenticated and allow_remote

See merge request soapbox-pub/soapbox!2132
2023-01-08 23:10:28 +00:00
9d0665b092 Translations: Support allow_unauthenticated and allow_remote
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-08 23:04:19 +01:00
e9a2b65963 Merge remote-tracking branch 'soapbox/develop' into modals-fix 2023-01-08 21:15:03 +01:00
Alex Gleason
7ac41b1bf1
Merge remote-tracking branch 'origin/develop' into renovate/major-react-monorepo 2023-01-07 14:34:06 -06:00
Alex Gleason
dbb745f38d
Fix loading of attachment dimensions for React 18 (useEffect --> useLayoutEffect) 2023-01-06 11:38:36 -06:00
Chewbacca
cc0c07851e Refactor to remove unneeded const 2023-01-06 12:05:13 -05:00
Chewbacca
d6c9952a8c Move timestamp back to Account 2023-01-06 12:03:57 -05:00
Chewbacca
024b161504 Move status info to above Account 2023-01-06 10:01:06 -05:00
Chewbacca
8ec805baad Upgrade axios to fix 'req' undefined error 2023-01-06 09:39:44 -05:00
Alex Gleason
7c75e8477f Merge branch 'renovate/uuid-9.x' into 'develop'
Update dependency uuid to v9

See merge request soapbox-pub/soapbox!2087
2023-01-05 22:16:51 +00:00
Alex Gleason
5297d8dde3
Remove uuid mock from Jest 2023-01-05 15:48:55 -06:00
Alex Gleason
35c916293e
yarn lint:js --fix 2023-01-05 11:55:08 -06:00
91cdf1eb5a Fix events location search crash
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-05 17:14:18 +01:00
08a47bed5d Merge remote-tracking branch 'soapbox/develop' into cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-03 21:09:43 +01:00
Alex Gleason
444754e1c8
Merge remote-tracking branch 'origin/develop' into fix/image-previews 2023-01-02 11:52:18 -06:00
Alex Gleason
02188118e7
Let media preview be configurable 2023-01-02 11:52:05 -06:00
Mark Felder
6b56e72f24 Fix images in timelines not using the preview URL which can leverage Pleroma Media Preview Proxy 2023-01-02 12:20:53 -05:00
690621e0a3 Merge remote-tracking branch 'soapbox/develop' into cleanup 2023-01-02 17:49:02 +01:00
Alex Gleason
55a240a697 Merge branch 'modal-blur' into 'develop'
Add backdrop-blur behind modals

See merge request soapbox-pub/soapbox!2101
2023-01-02 14:39:07 +00:00
Alex Gleason
1f616c0a44
Datepicker: correctly default to the current year 2023-01-01 00:27:06 -06:00
03349abc37 Merge remote-tracking branch 'soapbox/develop' into cleanup 2022-12-31 19:52:03 +01:00
Chewbacca
2bc620016e Merge branch 'fix-responsive-form' into 'develop'
Fix responsive nature of Select component

See merge request soapbox-pub/soapbox!2048
2022-12-31 17:10:02 +00:00
Alex Gleason
2808773a80
Add backdrop-blur behind modals 2022-12-30 17:29:04 -06:00
Alex Gleason
f20a8ab6fe Revert "Merge branch 'square' into 'develop'"
This reverts merge request !2027
2022-12-29 22:23:27 +00:00
Chewbacca
2495dd2b9e Merge branch 'fix-req-error' into 'develop'
Fix 'req not defined' error

See merge request soapbox-pub/soapbox!2067
2022-12-29 15:58:56 +00:00
Chewbacca
4ea1562185 Fix 'req not defined' error 2022-12-29 09:51:48 -05:00
Chewbacca
515c67d011 Add 'truncate' class to Select 2022-12-28 11:48:16 -05:00
Chewbacca
9e321ac4c4 Refactor sidebar to fix position of close (X) icon 2022-12-28 11:26:58 -05:00
af2d0749a1 Remove legacy avatar component, convert AccountContainer to TS/FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-27 12:29:01 +01:00
a7653403e7 Update immutable-js, fix tests, fix reducers/auth
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-26 14:09:09 +01:00
d1071a109b Remove unused styles/components
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-26 00:52:06 +01:00
4b3f03353d WIP TypeScript convertions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-26 00:31:07 +01:00
c692265249 Convert (legacy?) IconButton to tsx, remove unused code/styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-25 13:51:11 +01:00
Alex Gleason
fa1d7937a7
Fix mentions in RTL 2022-12-23 17:34:14 -06:00
Alex Gleason
f174d0e973
Merge remote-tracking branch 'origin/develop' into threads-rtl 2022-12-23 16:33:30 -06:00
Alex Gleason
c788916644
AutosuggestInput/AutosuggestTextarea: short-circuit RTL check earlier 2022-12-23 16:26:07 -06:00
Alex Gleason
bedd181f4c
AutosuggestInput/AutosuggestTextarea: fix RTL detection with placeholder 2022-12-23 16:14:50 -06:00
Alex Gleason
c4270a0512
Revert "AutosuggestInput/AutosuggestTextarea: actually, just remove RTL checking. The browser should handle it"
This reverts commit ee9908aab2.
2022-12-23 16:11:30 -06:00
Alex Gleason
78a9dc519c
Status: fix reblogElement in RTL 2022-12-23 16:01:12 -06:00
Alex Gleason
dfe5079058
StatusActionButton: fix spacing in RTL 2022-12-23 15:48:07 -06:00
Alex Gleason
ab7ec4babd
Refactor ComposeButton, FAB, and sidebar nav spacing 2022-12-23 15:22:41 -06:00
Alex Gleason
ee9908aab2
AutosuggestInput/AutosuggestTextarea: actually, just remove RTL checking. The browser should handle it 2022-12-23 11:38:42 -06:00
Alex Gleason
95f7761fb4
Toast: remove unnecessary outer div 2022-12-23 11:33:10 -06:00
Alex Gleason
69328ade8b
Toast: use HStack, RTL support 2022-12-23 11:31:53 -06:00
Alex Gleason
140c0b3037
AutosuggestInput/AutosuggestTextarea: determine RTL by placeholder value as well (hotfix) 2022-12-23 11:18:23 -06:00
Alex Gleason
6dc16911f3 Merge branch 'rtl-arrows' into 'develop'
Rotate arrows for RTL

See merge request soapbox-pub/soapbox!1977
2022-12-23 16:31:17 +00:00
Alex Gleason
0356b014b0
Letterbox images taller than 1:1 2022-12-22 21:06:27 -06:00
c792cc2549 Do not include link to profile in ReplyMentionsModal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-22 19:58:20 +01:00
bcf82e4312 Merge remote-tracking branch 'soapbox/develop' into modals-fix 2022-12-22 19:52:40 +01:00
Chewbacca
a3c7164147 Move Toast to components/ui 2022-12-21 14:14:31 -05:00
bd247797bb Merge remote-tracking branch 'soapbox/develop' into mastodon-groups
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-21 13:02:19 +01:00
Chewbacca
90fcc8ad05 Fix tests 2022-12-20 17:45:29 -05:00
Chewbacca
f504d17abe Remove usage of 'snackbar' 2022-12-20 12:46:06 -05:00
fa18698cd3 Groups: Status action bar actions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-18 21:19:44 +01:00
6b92d5f3a5 Manage group pages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-18 18:03:41 +01:00
Alex Gleason
34ebe9bd57
ThemeEditor: improve layout, improve color of slider 2022-12-17 21:25:20 -06:00
Alex Gleason
faf513c049
Add Slider component (based on video volume slider) 2022-12-17 18:31:56 -06:00
Alex Gleason
4fde647aa8
Admin: redesign registration picker 2022-12-17 14:53:21 -06:00
7711553fd8 Groups: allow simple moderation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-17 17:57:43 +01:00
f829440104 Add groups link to sidebar
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-17 14:37:08 +01:00
7d48c40b89 Placeholder group cards
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-17 14:31:23 +01:00
bed8619cf0 Groups: Snackbar messages, timelines handling
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-17 13:35:52 +01:00
d299512694 Remove unused styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-17 00:48:40 +01:00
fd6e3f4032 Groups: Make strings localizable
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-17 00:33:07 +01:00
0256c34406 Remove unused import
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-16 21:44:55 +01:00
d4024e927d Merge remote-tracking branch 'soapbox/develop' into mastodon-groups 2022-12-16 21:33:23 +01:00
36350f1cc4 More group actions, allow to edit groups, visuals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-16 21:33:17 +01:00
d524a7c700 Groups: UI improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-15 23:51:30 +01:00
Alex Gleason
eef7fdb78e
Markup: use whitespace-pre-wrap (fix multiline bios on Mastodon) 2022-12-14 11:01:09 -06:00
7c4aca51dc some basic groups ui
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-13 23:03:01 +01:00
Alex Gleason
90513f1807 Merge branch 'chat-search-pagination' into 'develop'
Improve Chats search

See merge request soapbox-pub/soapbox!1993
2022-12-12 19:27:17 +00:00
Chewbacca
9657598d33
Remove unneeded code from AccountSearch 2022-12-12 12:00:53 -06:00
2f2ae8237d Support source_languages and target_languages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-10 23:16:06 +01:00
marcin mikołajczak
41746b84d9 Merge branch 'events' into 'develop'
Show Unauthorized modal for 'X people going'

See merge request soapbox-pub/soapbox!1979
2022-12-08 14:28:13 +00:00
Alex Gleason
d6d327c760
Helmet: add unread chats count 2022-12-07 15:56:22 -06:00
Alex Gleason
6a27670271
Break composer upload into a generic component 2022-12-06 17:01:06 -06:00
Alex Gleason
2ca4db5c3b
Chats: fix display of media attachments, fix break-words 2022-12-06 15:45:33 -06:00
3855d966af Add 'View event on {domain}'
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-06 22:33:17 +01:00
Alex Gleason
cad1d9071a
Restore "chats" name and icon 2022-12-06 15:16:36 -06:00
Alex Gleason
2cedd69f1d
Merge remote-tracking branch 'origin/develop' into chats 2022-12-06 11:53:47 -06:00
d4a9e1f139 Merge remote-tracking branch 'soapbox/develop' into events 2022-12-06 16:18:51 +01:00
Alex Gleason
cfc0c855e8 Merge branch 'emojis-clipped' into 'develop'
Improve display of emojis

See merge request soapbox-pub/soapbox!1971
2022-12-06 00:18:14 +00:00
Alex Gleason
6154e4bac4
Rotate arrows for RTL 2022-12-04 19:40:09 -06:00
Alex Gleason
4a48e9d510
Merge remote-tracking branch 'origin/develop' into chats 2022-12-04 19:27:54 -06:00
103ff2b2c0 Merge remote-tracking branch 'soapbox/develop' into events 2022-12-04 12:34:15 +01:00
c531c26078 maybe fix links in modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-03 20:49:43 +01:00
Ahmad Dakhlallah
e76fcf7929 Fix Arabic menu popup in RTL. 2022-12-03 18:22:25 +02:00
Ahmad Dakhlallah
952317708f Fix menu-popover in RTL 2022-12-03 17:25:40 +02:00
10eaf60fe9 Merge remote-tracking branch 'soapbox/develop' into HEAD 2022-12-02 23:17:50 +01:00
Alex Gleason
6f21905a8b
Improve display of emojis 2022-12-02 14:15:59 -06:00
Chewbacca
67a61ad3b4 Search on focus 2022-12-01 12:40:30 -05:00