Commit graph

216 commits

Author SHA1 Message Date
Alex Gleason
55c8887a08
Small design tweaks for create group modal 2023-03-02 12:17:25 -06:00
81de0014d3 Change ESLint rules, lint
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-16 00:12:02 +01:00
marcin mikołajczak
2cfd402bec Merge branch 'admin-announcements' into 'develop'
Dashboard: Allow to create announcements

See merge request soapbox-pub/soapbox!2276
2023-02-14 23:05:07 +00:00
3aba4218c5 Use clsx instead of template strings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-14 19:00:43 +01:00
Chewbacca
0b9fe2cfca Merge branch 'hoverable-menu' into 'develop'
Add new hoverable menu for Chat Messages (and rebuild DropdownMenu component with Popper)

See merge request soapbox-pub/soapbox!2274
2023-02-13 17:32:02 +00:00
64c4847f9d Dashboard: Allow to create announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-12 17:54:13 +01:00
Chewbacca
60d7ff8395 Re-build dropdown-menu using FloatingUI 2023-02-10 13:17:39 -05:00
bfe1401a34 Fix imports
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-06 23:48:44 +01: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
0d99ae5daa
yarn lint:js --fix 2023-02-01 16:13:42 -06: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
901861d5b8 Fix #1330
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-22 23:29:44 +01:00
4ec90c031e Minor composer improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-16 20:49:44 +01:00
Alex Gleason
300d3a0200
Refactor tests with mock stores 2023-01-15 12:50:14 -06:00
Alex Gleason
0a90c3c377
Add tests to components with signup CTAs 2023-01-15 12:35:34 -06:00
Alex Gleason
f218496b82
Fix UnauthorizedModal and Navbar 2023-01-14 19:18:13 -06:00
Alex Gleason
82981efe9a
Add useRegistrationStatus hook 2023-01-13 19:13:15 -06:00
Alex Gleason
6f0e398a78
Remove singleUserMode, upgrade to redirectRootNoLogin 2023-01-11 19:01:45 -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
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
Alex Gleason
fd1c67753c
useDispatch --> useAppDispatch, fix types for react-redux v8 2023-01-09 16:13:12 -06:00
marcin mikołajczak
ad1e58c95c Merge branch 'modals-fix' into 'develop'
Fix links in modals

Closes #1240

See merge request soapbox-pub/soapbox!1974
2023-01-08 23:10:04 +00:00
519c4fb252 Fix 'View context' button
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-08 21:37:20 +01:00
Alex Gleason
7ac41b1bf1
Merge remote-tracking branch 'origin/develop' into renovate/major-react-monorepo 2023-01-07 14:34:06 -06:00
b43ff634e7 Truncate account names in modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-07 12:24:18 +01:00
Alex Gleason
b98073ee8f
Fix ReportModal test 2023-01-05 17:32:04 -06:00
Chewbacca
e6dbb4d19f Lint 2022-12-29 09:53:55 -05:00
Chewbacca
e1e5051951 Fix undefined bug with MediaModal 2022-12-29 09:17:19 -05:00
Chewbacca
b348ca71b9 Convert 'error' usage to Toast 2022-12-20 12:46:06 -05:00
Chewbacca
b7d0b4abe8 Convert 'success' usage to Toast 2022-12-20 12:46:06 -05:00
6b92d5f3a5 Manage group pages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-18 18:03:41 +01:00
b6b9fdb035 Groups: fix DetailsStep
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-17 15:59:11 +01:00
fd6e3f4032 Groups: Make strings localizable
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-17 00:33:07 +01:00
ecaf3af364 Groups: utilize isDefaultAvatar, isDefaultHeader
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-16 21:35:09 +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
683504c997 Allow creating events, events list
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-14 22:59:59 +01:00
6900b59697 Move isDefaultHeader and isDefaultAvatar to utils/accounts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-13 00:09:00 +01:00
2137193935 Revert "Remove 'show on map' for now"
This reverts commit 46cb676822.
2022-12-08 16:30:48 +01:00
Alex Gleason
2cedd69f1d
Merge remote-tracking branch 'origin/develop' into chats 2022-12-06 11:53:47 -06:00
46cb676822 Remove 'show on map' for now
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-02 23:16:11 +01:00
Alex Gleason
31444756e4
Merge remote-tracking branch 'origin/develop' into chats 2022-11-30 12:46:24 -06:00
403bcba525 Compose event modal improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-30 19:32:35 +01:00
ee389e523d Allow to configure tile server
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-29 23:14:16 +01:00
Alex Gleason
e5ff4fa176
Merge remote-tracking branch 'origin/develop' into events 2022-11-29 11:40:42 -06:00
marcin mikołajczak
c87826c419 Merge branch 'report-modal-previous' into 'develop'
do not show 'previous' button in last step

See merge request soapbox-pub/soapbox!1964
2022-11-28 16:08:36 +00:00
90cb114237 do not show 'previous' button in last step
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-28 16:56:18 +01:00
marcin mikołajczak
0d278ffc53 Merge branch 'report-modal-previous' into 'develop'
Show 'previous' button in report modal

See merge request soapbox-pub/soapbox!1961
2022-11-28 15:06:29 +00:00
Chewbacca
50f5e2af38 Merge remote-tracking branch 'origin/develop' into chats 2022-11-28 10:03:40 -05:00
4a96507cd1 Show 'previous' button in report modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-28 00:08:27 +01:00
Alex Gleason
ed573bfeb2
Merge remote-tracking branch 'origin/develop' into use-instance 2022-11-27 16:42:06 -06:00
9ba56a3945 Merge remote-tracking branch 'soapbox/develop' into events 2022-11-27 23:33:51 +01:00
Alex Gleason
5bb30b6282
Merge remote-tracking branch 'origin/develop' into chats 2022-11-27 15:30:00 -06:00
Alex Gleason
3b1eaaddfc
Redesign EditFederationModal 2022-11-26 13:28:51 -06:00
859d93b289 Merge remote-tracking branch 'soapbox/develop' into events-
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-26 20:25:48 +01:00
Alex Gleason
42aff1ca29
Merge remote-tracking branch 'origin/develop' into use-instance 2022-11-26 10:45:13 -06:00
Alex Gleason
d3b67e5167
Add useInstance() hook 2022-11-26 10:43:46 -06:00
ed22df7a51 Update tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-26 16:50:53 +01:00
8b4390681b Make some strings localizable
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-26 14:09:28 +01:00
c1179f0475 Lint, cleanup, styles…
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-25 19:28:43 +01:00
785c6b57e3 RTL support, use Stack and HStack in more places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-25 18:04:11 +01:00
Alex Gleason
16f52538ce
MediaModal: fix hotkey navigation
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1209
2022-11-23 13:46:09 -06:00
Chewbacca
f7f40703cd Merge remote-tracking branch 'origin/develop' into chats 2022-11-21 12:06:44 -05:00
Alex Gleason
ba8cab0513
Sensitive video refactor
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1190
2022-11-18 18:34:27 -06:00
Michal Dvorak
020b2d7319 improved Czech language localization + changed a few hard-coded strings to localized ones 2022-11-17 19:55:40 +01:00
Chewbacca
72c26bc9bc Merge remote-tracking branch 'origin/develop' into chats 2022-11-17 10:58:34 -05:00
Chewbacca
41a08c613b Organize modals into modals/ subfolder 2022-11-16 09:34:16 -05:00
Chewbacca
24e7873bce Rename files (6): _ -> - 2022-11-15 14:00:40 -05:00
Chewbacca
717e61a6e0 Rename files (4): _ -> - 2022-11-15 11:13:54 -05:00
Chewbacca
a0d960dd21 Rename files (2): _ -> - 2022-11-15 11:00:49 -05:00
Chewbacca
d5fc6fe252 Merge remote-tracking branch 'origin/develop' into chats 2022-11-14 10:14:45 -05:00
6b5e802bd0 Add 'create event' button to profile dropdown for now
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-12 23:30:46 +01:00
7b2193d753 Merge remote-tracking branch 'soapbox/develop' into events-
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-12 16:48:27 +01:00
f2c5e138f3 Do not define translatable messages inline
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-12 00:07:02 +01:00
Chewbacca
53208bd670 Improve light-mode styling on Policy Modal and Read Receipts 2022-11-04 07:36:30 -04:00
Alex Gleason
eeb8ca37a6
Merge remote-tracking branch 'origin/develop' into chats 2022-11-02 11:27:21 -05:00
Chewbacca
650387dc77 Add Policy Modal 2022-11-01 13:22:29 -04:00
Alex Gleason
e3352b89d8
Remove "show more" CW button, display SensitiveContentOverlay instead 2022-10-31 15:18:40 -05:00
Chewbacca
d9befff3f5 Update report text to be more clear 2022-10-31 15:55:04 -04:00
Chewbacca
1d04810c5a Update ToS link to accent blue 2022-10-31 15:53:24 -04:00
3c8c8048e5 Minor improvements, add actions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-06 00:01:26 +02:00
803dada3e0 Merge remote-tracking branch 'soapbox/develop' into events-
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-30 20:05:02 +02:00
Justin
7fde4a0c5c Small UI improvements to chat 2022-09-30 10:22:55 -04:00
Justin
0a8fa3e635 Add ability to report a Chat Message 2022-09-29 09:45:57 -04:00
04b4a57e06 Manage event
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-25 23:18:11 +02:00
fe7333ddb0 Information page, improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-21 23:27:53 +02:00
f6af663e09 Merge remote-tracking branch 'soapbox/develop' into HEAD
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 20:39:13 +02:00
Alex Gleason
2eb08aced9
Create OutlineBox component
Visual container for QuotedStatus and Accounts in some scenarios
2022-09-16 12:24:33 -05:00
Alex Gleason
1f0b4d01b5
Remove account.donor as a concept, use 'badge:donor' custom tag instead 2022-09-11 20:44:49 -05:00
Alex Gleason
2e811a1e88
Admin: allow setting custom badges on accounts 2022-09-11 20:04:41 -05:00
Alex Gleason
9610447a79
Fix permissioning of moderator modal 2022-09-11 14:46:01 -05:00
Alex Gleason
5d30a8772d
AccountModerationModal: allow deactivating and deleting accounts 2022-09-11 14:29:14 -05:00
Alex Gleason
a61cb2c7cd
AccountModerationModal: add account ID 2022-09-11 14:20:05 -05:00
Alex Gleason
c973b64781
AccountModerationModal: allow suggesting a user 2022-09-11 14:09:09 -05:00
Alex Gleason
84bbecb36e
AccountModerationModal: allow setting the user as a donor 2022-09-11 13:58:05 -05:00