Commit graph

6945 commits

Author SHA1 Message Date
Poesty Li
721c85f108
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1532 of 1532 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-04-02 12:01:13 +02:00
Poesty Li
5e6d054f65
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1531 of 1531 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-04-02 12:01:13 +02:00
Poesty Li
8300559eba
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1531 of 1531 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-04-02 12:01:13 +02:00
Poesty Li
291d2e62c5
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1525 of 1525 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-04-02 12:01:13 +02:00
Hosted Weblate
88b0b617db
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/
2023-04-02 12:01:13 +02:00
Poesty Li
54035073aa
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1526 of 1526 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-04-02 12:01:13 +02:00
gallegonovato
1e76c42ad2
Translated using Weblate (Spanish)
Currently translated at 100.0% (1523 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/es/
2023-04-02 12:01:13 +02:00
Hosted Weblate
461a006d02
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/
2023-04-02 12:01:13 +02:00
Poesty Li
614b0494e7
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1523 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-04-02 12:01:13 +02:00
Hosted Weblate
7d3e960d8f
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/
2023-04-02 12:01:13 +02:00
Poesty Li
1974655a52
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1522 of 1522 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-04-02 12:01:13 +02:00
gallegonovato
a685065f1b
Translated using Weblate (Spanish)
Currently translated at 100.0% (1522 of 1522 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/es/
2023-04-02 12:01:12 +02:00
Hosted Weblate
7b10065e73
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/
2023-04-02 12:01:12 +02:00
Hosted Weblate
ffd11b0aa3
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/
2023-04-02 12:01:12 +02:00
Poesty Li
21a7fbab9d
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1524 of 1524 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-04-02 12:01:12 +02:00
Isabell De Inschnitzel
4c7d8029c0
Translated using Weblate (German)
Currently translated at 93.1% (1419 of 1524 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/de/
2023-04-02 12:01:12 +02:00
gallegonovato
f67f23274c
Translated using Weblate (Spanish)
Currently translated at 100.0% (1524 of 1524 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/es/
2023-04-02 12:01:12 +02:00
a1cf627bfd Lint
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-04-01 20:37:34 +02:00
817459536d Update TailwindCSS, fix aspect ratio in ProfileMediaPanel
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-04-01 15:46:21 +02:00
Alex Gleason
72b57d93da Merge branch 'groups-toggle' into 'develop'
Groups toggle

See merge request soapbox-pub/soapbox!2391
2023-03-31 19:06:10 +00:00
Alex Gleason
839a639f1e
Only show toggle for public groups 2023-03-31 13:46:09 -05:00
Alex Gleason
59860b405a
GroupTimeline: use FormattedMessage 2023-03-31 12:17:20 -05:00
Alex Gleason
1c71cf3da4
Toggle: prevent clicking label getting it stuck 2023-03-31 12:04:52 -05:00
Alex Gleason
406e6f3f40
GroupTimeline: make label clickable 2023-03-31 12:00:15 -05:00
Alex Gleason
94f67e166e
GroupTimeline: use size sm Toggle 2023-03-31 11:58:23 -05:00
Alex Gleason
2b5a3f720d
Toggle: fix size sm track 2023-03-31 11:58:10 -05:00
Alex Gleason
d0fbc881e7
Remove react-toggle 2023-03-31 11:52:19 -05:00
Alex Gleason
d7cb52c40c
Toggle: add "name" prop 2023-03-31 11:50:32 -05:00
Alex Gleason
6f48d6500d
Toggle: add disabled state 2023-03-31 11:47:41 -05:00
Alex Gleason
91f92050dc
Toggle: fix JSDoc comment 2023-03-31 11:18:45 -05:00
Alex Gleason
79a8cd6b13
Toggle: use bg-primary-600 when checked 2023-03-31 11:17:06 -05:00
Alex Gleason
e38b5fbfd3
Toggle: add size prop 2023-03-31 11:15:48 -05:00
Alex Gleason
541d48c5ab
Replace Toggle with a custom component 2023-03-31 11:06:43 -05:00
Chewbacca
eeafb3073e Change discover chunk to groups 2023-03-31 08:00:21 -04:00
Alex Gleason
5720d396fc
Groups: make "share with followers" button work 2023-03-30 20:47:08 -05:00
Chewbacca
a994d1c33e i18n 2023-03-30 20:46:18 -04:00
Chewbacca
681eacf827 Improve dark mode support of Groups + bug fixes 2023-03-30 15:19:14 -04:00
Chewbacca
4b3b601659 Add tests for GroupOptionsButton 2023-03-30 12:57:42 -04:00
Chewbacca
697791fc5d Add tests for GroupRelationship 2023-03-30 12:57:23 -04:00
Alex Gleason
a976b542e1 Merge branch 'edit-group-page' into 'develop'
Edit group page

See merge request soapbox-pub/soapbox!2389
2023-03-30 13:57:57 +00:00
Chewbacca
e32ea32f15 Merge branch 'group-name-validation' into 'develop'
Group name validation

See merge request soapbox-pub/soapbox!2388
2023-03-30 13:28:03 +00:00
Chewbacca
ff3c0c5cd7 i18n 2023-03-30 09:25:15 -04:00
Chewbacca
01458c3003 Merge branch 'reply-popover' into 'develop'
Add popover when trying to reply to Group status

See merge request soapbox-pub/soapbox!2386
2023-03-30 13:23:47 +00:00
Alex Gleason
453420796b
yarn i18n 2023-03-29 20:49:04 -05:00
Alex Gleason
e47b9300f0
EditGroup: add "cannot change" hint 2023-03-29 20:45:40 -05:00
Alex Gleason
ddf433a5c9
FormGroup: move hintText above input 2023-03-29 20:42:57 -05:00
Alex Gleason
79a33d0f1d
Input: improve disabled style 2023-03-29 20:37:22 -05:00
Alex Gleason
9e60d90812
We do a little refactoring 2023-03-29 20:30:05 -05:00
Alex Gleason
f3727440ff
Move form hooks into their own files 2023-03-29 20:14:41 -05:00
Alex Gleason
eb055339d8
react-hook-form SUX 2023-03-29 20:00:04 -05:00
Alex Gleason
9c78a37844
Merge remote-tracking branch 'origin/develop' into edit-group-page 2023-03-29 19:31:01 -05:00
Alex Gleason
8e6dfe6395 Merge branch 'textarea-counter' into 'develop'
Textarea: add a character counter

See merge request soapbox-pub/soapbox!2373
2023-03-30 00:30:39 +00:00
Alex Gleason
7ec51778f8 Apply 1 suggestion(s) to 1 file(s) 2023-03-30 00:30:27 +00:00
Alex Gleason
eb6c82a867
Make EditGroup page work, pretty much 2023-03-29 19:18:20 -05:00
Alex Gleason
bfd40fa373
Boilerplate Edit Group page by copying code from the modal 2023-03-29 14:51:29 -05:00
Chewbacca
455030ef5b Add validation support to features 2023-03-29 15:44:00 -04:00
Chewbacca
4886548889 Add validation support to Group names 2023-03-29 15:42:20 -04:00
Chewbacca
85e5780645 Deprecate old Icon component 2023-03-29 15:42:05 -04:00
Chewbacca
20960d7238 Improve UI of List component 2023-03-29 15:41:49 -04:00
Alex Gleason
319d47b36f Merge branch 'pending-memberships-dot' into 'develop'
Groups: add dot to group with pending membership requests

See merge request soapbox-pub/soapbox!2387
2023-03-29 19:13:54 +00:00
Alex Gleason
609a25fd8d
Groups: add dot to group with pending membership requests 2023-03-29 12:21:43 -05:00
marcin mikołajczak
55c0f8d6a1 Merge branch 'friendica' into 'develop'
Friendica dislikes

See merge request soapbox-pub/soapbox!2381
2023-03-28 22:13:24 +00:00
Chewbacca
1e69812078 Add popover when trying to reply to Group status 2023-03-28 15:39:41 -04:00
Chewbacca
af9439f1d3 Use entity store for Group Search 2023-03-28 12:57:44 -04:00
Chewbacca
a916056367 Re-use GroupActionButton component 2023-03-28 11:53:13 -04:00
Chewbacca
9fe2d4f92c Remove unused query 2023-03-28 11:53:13 -04:00
Chewbacca
ca0987dec2 Update variables to use proper naming 2023-03-28 11:53:13 -04:00
Chewbacca
6458ebbb11 Ensure button text stays centered 2023-03-28 11:53:13 -04:00
Chewbacca
966fcc617a Merge branch 'fix-loading-state' into 'develop'
Fix loading animation for Carousel

See merge request soapbox-pub/soapbox!2383
2023-03-28 15:52:56 +00:00
Chewbacca
e12450ee5d Merge branch 'group-improvements' into 'develop'
Remove mock data for Group Discovery

See merge request soapbox-pub/soapbox!2384
2023-03-28 14:33:49 +00:00
Chewbacca
29c913859e Remove mock data for Group Discovery 2023-03-28 10:32:56 -04:00
Chewbacca
be4a7e45e9 Fix loading animation for Carousel 2023-03-28 10:30:34 -04:00
Chewbacca
1abcc95a0a Merge branch 'search-my-groups' into 'develop'
Add ability to search my Groups

See merge request soapbox-pub/soapbox!2377
2023-03-28 14:02:25 +00:00
Chewbacca
e6252070a6 Fix test 2023-03-28 09:46:55 -04:00
Chewbacca
3a2b4c6efb Add ability to search my Groups 2023-03-28 09:09:09 -04:00
Alex Gleason
232e387a50
yarn i18n 2023-03-27 17:24:24 -05:00
Alex Gleason
d39e2cc7e0
UnapprovedAccount: use countdown, remove rejectUserModal 2023-03-27 17:14:22 -05:00
Alex Gleason
0522f333c3
Make follow requests use AuthorizeRejectButtons countdown 2023-03-27 17:13:44 -05:00
Alex Gleason
22474e3ca9
MembershipRequest: add 3s countdown on authorize/reject actions 2023-03-27 17:09:10 -05:00
Alex Gleason
f216b52b36
AuthorizeRejectButtons: skip animations if countdown is undefined 2023-03-27 17:08:24 -05:00
Alex Gleason
09ed0bccab
AuthorizeRejectButtons: refactor ActionEmblem into a separate component 2023-03-27 17:03:19 -05:00
Alex Gleason
63394bb1b4
AuthorizeRejectButtons: refactor button into a separate component 2023-03-27 16:59:55 -05:00
Alex Gleason
d08a2e215b
AuthorizeRejectButtons: add a loading animation 2023-03-27 16:45:41 -05:00
Alex Gleason
3b8f43f02d
AuthorizeRejectButtons: fix onReject never being called 2023-03-27 15:36:55 -05:00
Alex Gleason
9367b16200
AuthorizeRejectButtons: swap out icon during action countdown 2023-03-27 15:34:02 -05:00
Alex Gleason
6f705a827e
AuthorizeRejectButtons: add countdown functionality 2023-03-27 15:31:13 -05:00
Chewbacca
ff5eb736fc Merge branch 'report-group' into 'develop'
Add ability to report a Group

See merge request soapbox-pub/soapbox!2375
2023-03-27 18:06:35 +00:00
f6cee79c0e lint
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-26 21:58:46 +02:00
bf8c454c23 Update en.json
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-25 23:18:38 +01:00
12f3b4fbc3 Support Friendica dislikes, quotes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-25 23:16:40 +01:00
96a8bcdf82 Friendica dislikes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-25 12:14:53 +01:00
4990e1eaa7 Check version for Friendica features
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-25 10:02:21 +01:00
52172c923f Actually fix version parsing for Friendica
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-25 09:43:27 +01:00
01359ca592 Update features.ts for Friendica
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-25 09:01:58 +01:00
Alex Gleason
818b10efc3
Remove stray whitespace 2023-03-23 19:24:20 -05:00
Alex Gleason
a530ec0202
EntityStore: switch all hooks to use a callback function 2023-03-23 19:22:26 -05:00
Alex Gleason
9d12173b87
Add useLoading hook 2023-03-23 18:44:44 -05:00
Alex Gleason
aa7e2f6965
Refactor hooks with useEntityRequest 2023-03-23 16:22:15 -05:00
Alex Gleason
45c12e9b65
Make EntityCallbacks a generic function 2023-03-23 16:09:04 -05:00
Alex Gleason
7248331742
Add useEntityRequest hook 2023-03-23 16:04:42 -05:00
Alex Gleason
ac9718e6ed
Return isLoading from useCreateEntity and useDeleteEntity 2023-03-23 15:30:45 -05:00
Alex Gleason
1b569b6c82
useEntity: accept an EntityRequest object 2023-03-23 15:15:04 -05:00
Alex Gleason
b4c3248791
useEntityActions: fix isLoading 2023-03-23 15:09:00 -05:00
Alex Gleason
1c5a6d8b41
useDeleteEntity: refactor with EntityRequest 2023-03-23 15:05:34 -05:00
Alex Gleason
50f65bc7c9
useCreateEntity: pass an EntityRequest, refactor 2023-03-23 14:52:38 -05:00
Chewbacca
30ef70440f Add ability to report a Group 2023-03-23 15:17:44 -04:00
Alex Gleason
ad3f8acbe5
EntityStore: allow passing an EntityRequest object to useEntities 2023-03-23 14:14:53 -05:00
Alex Gleason
4783a41b78
useDeleteEntity: support onSuccess callback 2023-03-23 10:45:49 -05:00
Alex Gleason
1949651b9a
Merge remote-tracking branch 'origin/develop' into group-requests 2023-03-23 10:23:06 -05:00
Alex Gleason
75b0262f9a
Move pendingCount logic to useEntities 2023-03-22 21:28:48 -05:00
Alex Gleason
2674c060ad
GroupMembers: showLoading if pending members are being fetched 2023-03-22 20:26:53 -05:00
Alex Gleason
6929975aaa
useIncrementEntity: fix optimistic counter 2023-03-22 19:58:40 -05:00
Alex Gleason
402daec9c3
Add useIncrementEntity hook 2023-03-22 19:45:34 -05:00
Alex Gleason
c5b1f23bda
GroupMembers: use X-Total-Count if available 2023-03-22 19:22:12 -05:00
Alex Gleason
c4d0dd568e
EntityStore: let totalCount be undefined, don't try to set it from the local count 2023-03-22 19:11:11 -05:00
Alex Gleason
f016ac1e6d
GroupMembershipRequests: invalidate query upon authorize/reject 2023-03-22 18:48:24 -05:00
Alex Gleason
cb8363d179
EntityStore: make fetching the first page override the old list 2023-03-22 18:47:10 -05:00
Alex Gleason
e2510489c5
EntityStore: support query invalidation 2023-03-22 18:17:28 -05:00
Alex Gleason
a256665aad
EntityStore: add support for X-Total-Count from the API 2023-03-22 17:39:58 -05:00
Alex Gleason
1eed61c386
GroupMembershipRequests: don't clear dismissed entries until new content is fetched 2023-03-22 16:42:08 -05:00
Alex Gleason
b47cdb368f
useGroupMembershipRequests: use useDismissEntity hooks 2023-03-22 16:31:49 -05:00
Alex Gleason
61fb434a54
Improve API of parseEntitiesPath 2023-03-22 16:12:05 -05:00
Alex Gleason
8f67d2c76f
EntityStore: consolidate types, fix type of "path" 2023-03-22 16:06:10 -05:00
Alex Gleason
d2fd9e0387
Export new entity hooks 2023-03-22 15:32:56 -05:00
Alex Gleason
b127025167
Move useCreateEntity into its own hook as well, because why not 2023-03-22 15:31:58 -05:00
Alex Gleason
b76559f24a
Add useDismissEntity hook, update useDeleteEntity to match 2023-03-22 14:40:18 -05:00
Alex Gleason
3d72e6305f
EntityStory: add dismissEntities action for deleting ids from a list 2023-03-22 14:34:10 -05:00
Alex Gleason
4049de50aa
Add separate useDeleteEntity hook accepting a callback 2023-03-22 14:08:08 -05:00
Alex Gleason
ee1b1b4397
GroupMembers: fix pending row borders and dark mode 2023-03-22 13:47:18 -05:00
Alex Gleason
1954848c65
Tabs: vertically center the counter 2023-03-22 13:23:45 -05:00
Alex Gleason
71c7c4adc7 Merge branch 'group-widgets' into 'develop'
Add MyGroupsPanel, improve layout on various group pages

See merge request soapbox-pub/soapbox!2374
2023-03-22 16:03:02 +00:00
Alex Gleason
cc2fbc0208 Merge branch 'redirect-group-posts' into 'develop'
Redirect group statuses to a custom path

See merge request soapbox-pub/soapbox!2371
2023-03-22 16:02:58 +00:00
Chewbacca
32ca5f09ee I18n 2023-03-22 11:23:35 -04:00
Chewbacca
ad98bf45cc Add hook to delete Group 2023-03-22 11:20:03 -04:00
Alex Gleason
65070f6519
Add MyGroupsPanel, improve layout on various group pages 2023-03-21 16:34:15 -05:00
Alex Gleason
ec72ac0db8
yarn i18n 2023-03-21 16:09:40 -05:00
Alex Gleason
be32a0c1a0
Textarea: add a character counter 2023-03-21 15:39:08 -05:00
Alex Gleason
69d667d6c6
"Authorized" --> "Approved" 2023-03-21 11:56:48 -05:00
Alex Gleason
f61e0d889a
"Blocked members" --> "Banned members" 2023-03-20 21:56:15 -05:00
Alex Gleason
cc3585f319
Manage group: add headers 2023-03-20 21:52:44 -05:00
Alex Gleason
f369a7c765
Use "danger" text for deleting account and group 2023-03-20 21:42:54 -05:00
Alex Gleason
a8be701ea0
Fix PendingGroupsRow test 2023-03-20 21:31:07 -05:00
Alex Gleason
2196d9e3e5
yarn i18n 2023-03-20 21:23:10 -05:00
Alex Gleason
fb8d543f7c
Redirect group statuses to a custom path 2023-03-20 20:57:49 -05:00
Alex Gleason
b87af6a71c
AuthorizeRejectButtons: fix styles, make less fragile 2023-03-20 20:11:21 -05:00
Alex Gleason
3a12b316d9
GroupPage: add pending members counter 2023-03-20 20:02:58 -05:00
Alex Gleason
9ca384dcd7
Card: fix back button not having a rounded border 2023-03-20 19:37:46 -05:00
Alex Gleason
5774516ea0
Reorganize GroupMembershipRequests a little 2023-03-20 19:32:24 -05:00
Alex Gleason
d4e9fddd02
Update usage of AuthorizeRejectButtons in group membership requests 2023-03-20 19:24:06 -05:00
Alex Gleason
7a06c7f92c
Use AuthorizeReject buttons for follow requests 2023-03-20 19:23:11 -05:00
Alex Gleason
28f5a88848
Use AuthorizeReject buttons for account approval 2023-03-20 19:22:55 -05:00
Alex Gleason
4de8926445
IAuthorizeRejectButtons: simplify component 2023-03-20 19:22:00 -05:00
Alex Gleason
f9ab9a45c2
AuthorizeRejectButtons: improve style of result message 2023-03-20 18:49:41 -05:00
Alex Gleason
fe64f9f84b
AuthorizeRejectButtons: improve button styles 2023-03-20 18:35:31 -05:00
Alex Gleason
7c7855e7a1
Groups: make authorize/reject use component state, update designs 2023-03-20 17:46:10 -05:00
Alex Gleason
1d9ed41fec
Add AuthorizeRejectButtons component 2023-03-20 17:45:52 -05:00
marcin mikołajczak
282afaa47f Merge branch 'use-groups-condition' into 'develop'
Do not make requests to api/v1/groups if feature not available

See merge request soapbox-pub/soapbox!2363
2023-03-20 21:57:35 +00:00
7329c0bf25 Do not make requests to api/v1/groups if fffeature not available
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-20 22:42:27 +01:00
Alex Gleason
ca9a41f102
Use EntityStore for pending group requests 2023-03-20 16:41:12 -05:00
Chewbacca
babaa979f5 Merge branch 'move-mutations-to-entities' into 'develop'
Move Group mutations to entities

See merge request soapbox-pub/soapbox!2368
2023-03-20 21:35:37 +00:00
Alex Gleason
143a9eda44
Use PendingItemsRow for pending members, pass a prop to control its size 2023-03-20 16:26:40 -05:00
Alex Gleason
f6b28dd9c3
Abstract PendingItemsRow into its own component 2023-03-20 16:09:19 -05:00
Alex Gleason
3c06ba734b
Display pending counter in group member list 2023-03-20 16:03:41 -05:00
Alex Gleason
d08178f5fc
Groups: use entity store for pending requests 2023-03-20 15:54:06 -05:00
Alex Gleason
28a69ad88b
Ensure group_visibility param is passed when creating group 2023-03-20 15:30:13 -05:00
Chewbacca
e46a7e8f4a Merge branch 'promote-to-admin' into 'develop'
Move Promote/Demote admin into entity store

See merge request soapbox-pub/soapbox!2359
2023-03-20 20:08:51 +00:00
Chewbacca
8b478c939a Revert change 2023-03-20 16:08:29 -04:00
Alex Gleason
396f6ada1a Merge branch 'emoji-floating-ui' into 'develop'
Emoji floating ui

Closes #1390 and #1398

See merge request soapbox-pub/soapbox!2367
2023-03-20 20:03:41 +00:00
Chewbacca
e42e0577f4 Move Group mutations to entities 2023-03-20 15:41:18 -04:00
Chewbacca
4a6433433f Update translations 2023-03-20 15:41:12 -04:00
Chewbacca
4985db7dea Update group roles to owner/admin/user 2023-03-20 15:41:12 -04:00
Chewbacca
89bdc9b4a1 Move Promote/Demote admin into entity store 2023-03-20 15:41:12 -04:00
Alex Gleason
ea4f707413
Fix offset of chat reaction wrapper 2023-03-20 13:57:29 -05:00
Alex Gleason
bc457b61d1 Merge branch 'edit-group' into 'develop'
Edit group

See merge request soapbox-pub/soapbox!2357
2023-03-20 18:41:52 +00:00
Alex Gleason
f8b20858a3
Chats: fix crash in emoji autosuggest 2023-03-19 19:59:46 -05:00
Alex Gleason
67ffe9609f
ChatTextarea: pass ref to child
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1390
2023-03-19 18:03:44 -05:00
Alex Gleason
47561e5c01
Enable custom emoji reacts on custom Pleroma forks 2023-03-19 17:53:14 -05:00
Alex Gleason
5c7c0ea1dd
EmojiSelector: switch to floating-ui 2023-03-19 17:52:45 -05:00
Alex Gleason
2b75dcacd2
EmojiPickerDropdownContainer: switch to floating-ui 2023-03-19 17:24:39 -05:00
Alex Gleason
813fd7f8ee
Delete proprietary groups image 2023-03-19 15:39:58 -05:00
marcin mikołajczak
9c80a50b95 Merge branch 'pending-status-gap' into 'develop'
Add missing gap to PendingStatus

See merge request soapbox-pub/soapbox!2361
2023-03-19 19:50:27 +00:00
049554db84 Add missing gap to PendingStatus
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-19 20:23:36 +01:00
38c99dbc48 Add tests from custom reacts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-19 19:22:05 +01:00
09a0a36935 Update tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-18 13:27:27 +01:00
179eb7fc99 Fix preview in reactions modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-18 11:55:00 +01:00
8b81838f2f Support custom emoji reacts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-18 00:07:18 +01:00
Alex Gleason
c0a22205f7
Fix GroupActionButton test 2023-03-17 16:14:23 -05:00
Alex Gleason
e6621a802b
Make popular and suggested groups share the Group store 2023-03-16 13:18:36 -05:00
Alex Gleason
181bf23c34
Importer: use EntityStore enums 2023-03-16 13:15:00 -05:00
Alex Gleason
c51870af6e
Update some more groups stuff to use entities 2023-03-15 19:26:37 -05:00
Alex Gleason
1518e88904
Retrofit old Group actions to EntityStore 2023-03-15 18:37:50 -05:00
Alex Gleason
5871abd786
Make "Manage Group" use the EntityStore 2023-03-15 17:59:37 -05:00
Alex Gleason
7fffe59fb9
Allow "owner" permissions on group pages 2023-03-15 17:26:07 -05:00
Alex Gleason
1ab9b1d75c
EntityStore: optimistic deletion 2023-03-15 16:52:09 -05:00
Chewbacca
709edaefad Merge branch 'block-group-members' into 'develop'
Use Entity Hooks for Blocking Group members

See merge request soapbox-pub/soapbox!2353
2023-03-15 20:42:40 +00:00
Alex Gleason
a83cfe7ddd Merge branch 'entity-actions-delete' into 'develop'
useEntityActions: ensure the delete gets dispatched

See merge request soapbox-pub/soapbox!2354
2023-03-15 20:08:51 +00:00
Chewbacca
0fe48840e1 Merge branch 'popovers' into 'develop'
Add Popovers component

See merge request soapbox-pub/soapbox!2352
2023-03-15 20:06:50 +00:00
Alex Gleason
74ebd560e6
Revert useEntity array changes, do that in the schema parser 2023-03-15 14:19:13 -05:00
Alex Gleason
602a670b2e
useEntityActions: ensure the delete gets dispatched 2023-03-15 14:04:29 -05:00
Chewbacca
6b30671875 Add Account entity and improve Block/Ban support for Groups 2023-03-15 14:55:43 -04:00
Chewbacca
a99a7b2af5 Improve focus design for Danger buttons 2023-03-15 14:55:43 -04:00
Chewbacca
9dde71716f Improve DropdownMenu API 2023-03-15 14:55:43 -04:00
Chewbacca
20ccd26a6e Update Entity Store with bug fixes 2023-03-15 14:55:43 -04:00
Chewbacca
283935e837 Add popover component 2023-03-15 14:55:26 -04:00
gallegonovato
bbda49a31c
Translated using Weblate (Spanish)
Currently translated at 100.0% (1520 of 1520 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/es/
2023-03-15 19:55:03 +01:00
Poesty Li
471f275dcb
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1520 of 1520 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-03-15 19:55:03 +01:00
Hosted Weblate
c5a548fa83
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/
2023-03-15 19:55:03 +01:00
Poesty Li
e28e12cd60
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1520 of 1520 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-03-15 19:55:03 +01:00
gallegonovato
c9bd4291bb
Translated using Weblate (Spanish)
Currently translated at 100.0% (1520 of 1520 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/es/
2023-03-15 19:55:03 +01:00
Chewbacca
af69c7564e Merge branch 'group-avatar-ring' into 'develop'
Add GroupAvatar component

See merge request soapbox-pub/soapbox!2349
2023-03-15 18:54:47 +00:00
Alex Gleason
463dcd2c1e
Merge remote-tracking branch 'origin/develop' into create-group-hook 2023-03-14 14:56:46 -05:00
Alex Gleason
ac76af41b2
Add preliminary useEntityActions hook 2023-03-14 14:24:11 -05:00
Chewbacca
c8a4d63fc8 Add GroupAvatar component 2023-03-14 15:17:05 -04:00
Chewbacca
7070630eaf useVersion -> useBackend 2023-03-14 15:16:01 -04:00
Chewbacca
821b90c372 Add pages for Popular / Suggested Groups 2023-03-14 15:16:01 -04:00
Chewbacca
1b542c3ed7 Use Entities enum 2023-03-14 15:16:01 -04:00
Chewbacca
f4d2f42c01 Use new schema arg 2023-03-14 15:16:01 -04:00
Chewbacca
7be8218f0c Convert popular/suggested Groups to use Entities 2023-03-14 15:16:01 -04:00
Alex Gleason
50dadeb1b8 useEntities: support multiple list keys 2023-03-14 15:16:01 -04:00
Chewbacca
99b7a1bdd7 Fix i18n 2023-03-14 15:16:01 -04:00
Chewbacca
1d53f48904 Fix parser 2023-03-14 15:16:01 -04:00
Chewbacca
9d1c2df1a2 Use ZOD for group-members 2023-03-14 15:16:00 -04:00
Chewbacca
08f97a133e Update blankslate for Group Timeline 2023-03-14 15:15:26 -04:00
Chewbacca
8a36561ec8 Use entities with Group Members 2023-03-14 15:15:26 -04:00
Alex Gleason
11d06e6b6e useEntities: support multiple list keys 2023-03-14 15:15:26 -04:00
Alex Gleason
8f8807eb76
EntityStore: allow deleting entities 2023-03-14 14:14:48 -05:00
Chewbacca
3ca168dc8c Fix exporting of types 2023-03-14 13:10:00 -04:00
Alex Gleason
6ac57910bf Merge branch 'groupschema-tests' into 'develop'
Add group factory functions for tests, add a groupSchema test

See merge request soapbox-pub/soapbox!2344
2023-03-14 14:16:05 +00:00
Chewbacca
e173418041 Merge branch 'update-group-comps' into 'develop'
Update Group component with Join buttons

See merge request soapbox-pub/soapbox!2330
2023-03-14 14:13:46 +00:00
Chewbacca
39d61eabda Merge branch 'entity-store-refactoring' into 'develop'
Entity store refactoring (improve performance, etc)

See merge request soapbox-pub/soapbox!2346
2023-03-14 14:12:14 +00:00
Alex Gleason
9df2bb4a86
EntityStore: add tests for reducer, improve types, ensure error gets added to state 2023-03-13 18:42:46 -05:00
Alex Gleason
b93a299009
useEntities(): refactor into smaller performant selectors and hooks 2023-03-13 17:53:54 -05:00
Alex Gleason
8547aeb517
Add useGetState hook 2023-03-13 17:45:35 -05:00
marcin mikołajczak
8c6ce74c46 Merge branch 'fix-locale-parser' into 'develop'
Fix locale parser

Closes #1393

See merge request soapbox-pub/soapbox!2343
2023-03-13 22:27:22 +00:00
Alex Gleason
a19b1e83a9
EntityStore: parse entities after fetch, not during render (performance) 2023-03-13 16:39:23 -05:00
Alex Gleason
e9ae8d2c45
Fix filteredArray logic 2023-03-13 16:37:40 -05:00
Alex Gleason
d0ceac9987
Pass zodSchema directly to entity hooks for safeParse validation 2023-03-13 16:23:11 -05:00
Alex Gleason
d12078a687
Use group factory functions in tests instead of normalizers 2023-03-13 14:55:59 -05:00
61ece4d271 Merge remote-tracking branch 'takver/fix-locale-parser' into fix-locale-parser
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-13 20:44:09 +01:00
Chewbacca
bced3d6632 Merge branch 'pending-groups' into 'develop'
Add support for pending Group Requests

See merge request soapbox-pub/soapbox!2327
2023-03-13 19:20:16 +00:00
Chewbacca
879ac883aa Merge branch 'my-groups-blankslate' into 'develop'
Update blankslate to allow Group Creation

See merge request soapbox-pub/soapbox!2326
2023-03-13 19:10:14 +00:00
Alex Gleason
d747e323c6
Add basic groupSchema test 2023-03-13 14:03:50 -05:00
Alex Gleason
c3728dbddd Merge branch 'weblate-soapbox-pub-soapbox' into 'develop'
Translations update from Hosted Weblate

See merge request soapbox-pub/soapbox!2336
2023-03-13 18:29:09 +00:00
Alex Gleason
1922e889f7 Merge branch 'create-group' into 'develop'
Create group

See merge request soapbox-pub/soapbox!2325
2023-03-13 18:28:43 +00:00
Chewbacca
58527b0656 Update Group component with Join buttons 2023-03-13 14:27:35 -04:00
Chewbacca
737c43d847 Fix i18n 2023-03-13 14:27:21 -04:00
Chewbacca
f21f72461a Add support for pending Group Requests 2023-03-13 14:27:21 -04:00
Chewbacca
83532aedba Update blankslate to allow Group Creation 2023-03-13 14:27:21 -04:00
Chewbacca
cced90a780 Update blankslate to allow Group Creation 2023-03-13 14:26:42 -04:00
Poesty Li
466cf91b31
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1508 of 1508 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-03-13 19:08:29 +01:00