Josh
|
34109ecd44
|
Merge branch 'feature/relations-main-view' into relations/refacto-state-management
|
2022-11-02 11:39:43 +00:00 |
|
Gustav Hansen
|
ba652279ff
|
Merge pull request #14760 from strapi/relations/refacto-state-management-fe-tests
Chore: Fix prop-type errors
|
2022-11-02 12:34:33 +01: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
|
d8589ab2de
|
Merge branch 'relations/refacto-state-management' of https://github.com/strapi/strapi into relations/refacto-state-management
|
2022-11-02 11:00:09 +00: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 |
|
Josh
|
2cc18becf4
|
fix: bug with default values in repeatable and dynamic components
|
2022-11-02 11:58:50 +01:00 |
|
Josh
|
04a223b0ba
|
test: add tests for findLeafByPathAndReplace
|
2022-11-02 11:58:50 +01:00 |
|
Josh
|
55fbc3732f
|
test: add more for recursivelyFindPathsBasedOnCondition
|
2022-11-02 11:58:50 +01:00 |
|
Josh
|
d445966dd2
|
refactor: make findLeafByPath more generic
it's a replacing function, let someone pick what they want to replace with.
|
2022-11-02 11:58:50 +01:00 |
|
Josh
|
69ad01c388
|
fix: dynamic zones with relations
|
2022-11-02 11:58:50 +01:00 |
|
Josh
|
c57f46f506
|
fix: use modifiedData if we have it
|
2022-11-02 11:58:50 +01:00 |
|
Josh
|
34f69999f9
|
refactor(wip): repeatable components
|
2022-11-02 11:58:50 +01:00 |
|
Josh
|
5ef96b9741
|
fix: handle components and nested components
|
2022-11-02 11:58:50 +01:00 |
|
Josh
|
22c8ec1c26
|
fix: reducer and clean data tests
|
2022-11-02 11:58:50 +01:00 |
|
Josh
|
8c1756abfc
|
feat: add diff relations test
|
2022-11-02 11:58:50 +01:00 |
|
Josh
|
08ba321ca5
|
fix: useRelation test pt2
|
2022-11-02 11:58:50 +01:00 |
|
Josh
|
b08d7739e6
|
fix: normalizeRelation tests
|
2022-11-02 11:58:50 +01:00 |
|
Josh
|
5e3490104b
|
refactor: return the same data format for search and relations
|
2022-11-02 11:58:50 +01:00 |
|
Josh
|
cf23e39892
|
fix: RelationInput tests
|
2022-11-02 11:58:50 +01:00 |
|
Josh
|
6383fc85ce
|
fix: tests with useRelation
|
2022-11-02 11:58:50 +01:00 |
|
Josh
|
eec478a63c
|
fix: RIDM tests
|
2022-11-02 11:58:50 +01:00 |
|
Josh
|
e0907a64e3
|
chore: fix dispatch callbacks
|
2022-11-02 11:58:50 +01:00 |
|
Josh
|
19da435de2
|
chore: minor amends
|
2022-11-02 11:58:50 +01:00 |
|
Josh
|
36bbdd0bd6
|
fix: XtoMany relations
|
2022-11-02 11:58:49 +01:00 |
|
Josh
|
549a39adb5
|
feat: add search
|
2022-11-02 11:58:49 +01:00 |
|
Josh
|
bbf2726cf3
|
fix: saving relations to server
|
2022-11-02 11:58:49 +01:00 |
|
Julie Plantey
|
19f7860844
|
temp
|
2022-11-02 11:58:49 +01:00 |
|
Simone Taeggi
|
75d4483901
|
Merge branch 'main' into enhancement/axios-refactoring
|
2022-11-02 11:55:13 +01:00 |
|
Josh
|
69ffaa4406
|
fix: adding components with relational fields
|
2022-11-02 10:52:02 +00:00 |
|
Simone Taeggi
|
130b996fa4
|
first implementation of the useFetchClient construct and use case example with Api token v2
|
2022-11-02 11:49:36 +01:00 |
|
Gustav Hansen
|
6e2b51c280
|
chore: Update snapshot tests
|
2022-11-02 11:33:06 +01:00 |
|
dmoKruso
|
c692770071
|
Merge branch 'main' into fix-ptBR-lang
|
2022-11-02 10:25:17 +00:00 |
|
dmoKruso
|
d2af6be270
|
Merge branch 'main' into fix-pt-lang
|
2022-11-02 10:25:06 +00:00 |
|
dmoKruso
|
84ce4290fe
|
Merge branch 'main' into fix-en-lang
|
2022-11-02 10:24:56 +00:00 |
|
Josh
|
2ada652540
|
chore: rename fields & paths
|
2022-11-02 10:18:00 +00:00 |
|