Commit graph

8566 commits

Author SHA1 Message Date
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
Soapbox Bot
fadceaac45 fix(deps): update dependency fork-ts-checker-webpack-plugin to v8 2023-03-13 19:08:19 +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
Hosted Weblate
c3dd9515bf
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-13 19:08:29 +01:00
Poesty Li
bd7710677f
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1502 of 1502 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-03-13 19:08:28 +01:00
gallegonovato
8baecde992
Translated using Weblate (Spanish)
Currently translated at 100.0% (1502 of 1502 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/es/
2023-03-13 19:08:28 +01:00
Hosted Weblate
43a204db50
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-13 19:08:28 +01:00
Alex Gleason
a40222c2de Merge branch 'groups-zod' into 'develop'
Groups zod

See merge request soapbox-pub/soapbox!2338
2023-03-13 18:08:16 +00:00
Alex Gleason
607e6b1808
groupsSchema: refine --> transform 2023-03-13 12:05:56 -05:00
Chewbacca
a9b79f72b4 Revert "Fix useGroupsPath test"
This reverts commit 487604b15a.
2023-03-13 13:02:41 -04:00
Chewbacca
a0c67c9b6f Fix Zod parsing error 2023-03-13 13:02:37 -04:00
Alex Gleason
487604b15a
Fix useGroupsPath test 2023-03-13 11:54:22 -05:00
Alex Gleason
5278c8eb0f
Merge remote-tracking branch 'origin/develop' into groups-zod 2023-03-13 11:05:21 -05:00
Chewbacca
55bacbbf05 Merge branch 'group-actions' into 'develop'
Group actions

See merge request soapbox-pub/soapbox!2324
2023-03-13 16:01:34 +00:00
Chewbacca
a71aaca719 Fix translations 2023-03-13 11:36:08 -04:00
Chewbacca
bd4c99b697 Fix tests 2023-03-13 11:36:08 -04:00
Chewbacca
7ad2696f85 Move Join / Leave / Cancel group/request to mutations 2023-03-13 11:36:08 -04:00
Chewbacca
287fda6d6c Improve error handling for Groups Discover page 2023-03-13 11:36:08 -04:00
Chewbacca
e7b3af5260 Merge branch 'fix-tests' into 'develop'
Fix mock in tests

See merge request soapbox-pub/soapbox!2341
2023-03-13 15:35:40 +00:00
Chewbacca
82da9ceeeb Fix mock in tests 2023-03-13 10:07:23 -04:00
marcin mikołajczak
5148d913a7 Merge branch 'follow-requests-styles' into 'develop'
Fix: Long handles don't get truncated in Follow Requests menu

Closes #1389

See merge request soapbox-pub/soapbox!2340
2023-03-13 11:10:27 +00:00
ea6be269bb Fix: Long handles don't get truncated in Follow Requests menu
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-13 00:00:07 +01:00
Alex Gleason
ef10e2a699 Merge branch 'test-fixes' into 'develop'
Upgrade testing-library deps for sanity, fix DurationSelector time logic, comment out 2 failing tests

See merge request soapbox-pub/soapbox!2339
2023-03-10 23:00:11 +00:00
Alex Gleason
ccec7f43e5
DurationSelector: actually, don't even do weird date stuff at all, LOL 2023-03-10 15:07:25 -06:00
Alex Gleason
bd49417210
Also, fix the variable names in DurationSelector 2023-03-10 15:04:44 -06:00
Alex Gleason
2b137c12cf
Comment out failing tests ¯\_(ツ)_/¯ 2023-03-10 15:00:53 -06:00
Alex Gleason
de89a438cc
Make DurationSelector test work locally 2023-03-10 15:00:29 -06:00
Alex Gleason
4031e4624c
Upgrade testing-library deps for sanity 2023-03-10 15:00:21 -06:00
Alex Gleason
1af67c3a25
members_count will never be null 2023-03-10 13:46:20 -06:00
Alex Gleason
6a2c64ae45
groupSchema: catch emojis 2023-03-10 13:41:47 -06:00
Alex Gleason
3d2331d20b
Make useGroups hooks use zod parser, update group types 2023-03-10 13:36:00 -06:00