Commit graph

165 commits

Author SHA1 Message Date
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