6989 Commits

Author SHA1 Message Date
Gustav Hansen
3079f38be5 Chore: Update snapshot tests 2022-11-03 15:02:16 +01:00
Jamie Howard
868fefd5e0 Merge branch 'main' of github.com:strapi/strapi into fix/relations/rel-error-handling 2022-11-03 14:02:06 +00:00
Jamie Howard
6aa6f394fe fix(entity-validator): support all relation formats 2022-11-03 12:35:42 +00:00
Gustav Hansen
148ff34c53 Chore: Update @Strapi/design-system to 1.2.6 2022-11-03 13:30:19 +01:00
Jamie Howard
e6ca645460 feat(upload): configure the view in media library
test(upload): useConfig hook
2022-11-03 11:20:37 +00:00
Gustav Hansen
e0901fe5e4
Merge branch 'main' into feature/relations-main-view 2022-11-03 11:54:37 +01:00
Gustav Hansen
879d051f9b
Merge pull request #14768 from strapi/fix/relations/re-add-count
feat: re-add the count & make it dynamic
2022-11-03 11:50:12 +01:00
Josh
70db736ac8 chore: refine test to avoid stringifying result 2022-11-03 10:38:04 +00:00
Josh
b0755e95b4 test: add reducer test for merging modified and initial values with relation fields 2022-11-03 10:12:15 +00:00
Josh
bad0ee958b chore: run filter before map 2022-11-03 09:43:24 +00:00
Josh
5b6a261d55 test: add count tests to RelationInputDataManager 2022-11-03 09:35:32 +00:00
Gustav Hansen
a04a9f1e12
Merge branch 'feature/relations-main-view' into enhance/relations-component-get-param 2022-11-03 10:14:33 +01:00
Gustav Hansen
06532ff696 RelationInputDataManager: Fix prop-types temporarily 2022-11-03 10:13:07 +01:00
Simone
0a7e936e89
Merge branch 'main' into enhancement/axios-refactoring 2022-11-03 10:02:15 +01:00
Gustav Hansen
c48d0d408f useFetchContentTypeLayout: Make method names less generic 2022-11-03 10:01:45 +01:00
Gustav Hansen
2bdfad08ff useFetchContentTypeLayout: Extend and simplify tests 2022-11-03 09:57:09 +01:00
Gustav Hansen
3f85f4b992 useFetchContentTypeLayout: Remove usage of cID 2022-11-03 09:47:46 +01:00
Gustav Hansen
6d35deb31a useFetchContentTypeLayout: Unify mutations with and without components 2022-11-03 09:30:42 +01:00
Josh
2bc8dd3be0 test: fix RelationDataInputManagerTest 2022-11-03 08:25:25 +00:00
Josh
6a2ff9e84b feat: re-add the count and make it update with the browser state 2022-11-02 17:49:00 +00:00
Josh
1d76868768
Merge branch 'feature/relations-main-view' into fix/relations/gracefully-fail-no-search-results 2022-11-02 15:03:09 +00:00
Josh
cabfa37ff3 refactor: tidy up entityId 2022-11-02 14:59:41 +00:00
Gustav Hansen
468bb7783d RelationInputDataManager: Bring back defaultParams for locale 2022-11-02 15:46:01 +01:00
Gustav Hansen
01accc69b1 RelationInputDataManager: Fix prop-types 2022-11-02 15:43:31 +01:00
Gustav Hansen
ea0d0c1558
Merge branch 'feature/relations-main-view' into enhance/relations-component-get-param 2022-11-02 15:35:03 +01:00
Josh
13cf08a5b4 hotfix: entityId chaos 2022-11-02 14:32:46 +00:00
Gustav Hansen
1a46ffdcdf CM: Stop passing defaultParams down (not needed any longer) 2022-11-02 15:24:44 +01:00
Josh
c1f8d20245 fix: gracefully fail 404 results from API 2022-11-02 14:21:31 +00:00
Mark Kaylor
35c1dc85b4 Remi feedback 2022-11-02 14:44:18 +01:00
Josh
ff3be3b796 refactor: lil' tidy up of recursivelyFindPathsBasedOnCondition 2022-11-02 13:11:01 +00:00
Convly
788ea22ba6 v4.4.6 2022-11-02 14:09:37 +01:00
Josh
6a87adba49 fix: bug with initialData not replacing correctly and recursion replacing keys incorrectly 2022-11-02 12:20:50 +00:00
Josh
34109ecd44 Merge branch 'feature/relations-main-view' into relations/refacto-state-management 2022-11-02 11:39:43 +00:00
Josh
0b7b8acb85 tests: fix reducer tests around relations & components 2022-11-02 11:20:44 +00:00
Gustav Hansen
eceab57828 CM: Fix prop-types for EditView header 2022-11-02 12:09:22 +01:00
Gustav Hansen
71b7fad1a4 DynamicTable: Fix prop-types for relational cells 2022-11-02 12:09:02 +01:00
Josh
0ead5ccdf6 fix: adding components with relational fields 2022-11-02 11:58:50 +01:00
Josh
ccfd45ba52 chore: rename fields & paths 2022-11-02 11:58:50 +01:00
Josh
7097bdc234 fix: repeatableComponents in regular components 2022-11-02 11:58:50 +01:00
Josh
e128e30d26 fix: anticipate oldValue being undefined 2022-11-02 11:58:50 +01:00
Josh
d13a2c8dad test(fix): useRelation 2022-11-02 11:58:50 +01:00
Josh
e82e32a25f fix: unit tests 2022-11-02 11:58:50 +01:00
Josh
d85bbf2461 refactor: PR updates 2022-11-02 11:58:50 +01:00
Josh
b0a127aba2 Update packages/core/admin/admin/src/content-manager/components/RelationInputDataManager/RelationInputDataManager.js
Co-authored-by: Gustav Hansen <gustav.hansen@strapi.io>
2022-11-02 11:58:50 +01:00
Josh
ed358e3218 Update packages/core/admin/admin/src/content-manager/components/EditViewDataManagerProvider/utils/cleanData.js
Co-authored-by: Gustav Hansen <gustav.hansen@strapi.io>
2022-11-02 11:58:50 +01:00
Josh
187039633e fix: keep useRelation hook in sync with browser state
also normalize relation on connection
2022-11-02 11:58:50 +01:00
Josh
d681351901 test: add cleanData tests for relations 2022-11-02 11:58:50 +01:00
Josh
99fa4c3696 fix: RelationInputDataManager test 2022-11-02 11:58:50 +01:00
Josh
5235e25698 fix: broken clean data test 2022-11-02 11:58:50 +01:00
Josh
f50f8a9dd4 test: EditViewDataManger reducer 2022-11-02 11:58:50 +01:00