6150 Commits

Author SHA1 Message Date
Josh
09d8c286f4 feat: add keyboard navigation for relations reordering 2022-11-07 17:38:30 +00:00
Josh
a60f265940 chore: update snapshots post text fixes 2022-11-07 14:07:54 +00:00
Josh
6cc51a06ae test: add dnd tests for relation input and data manager 2022-11-07 12:59:38 +00:00
Josh
7f7d4efb14 test: update RelationItem and RelationList 2022-11-07 12:17:11 +00:00
Josh
5978ae5e7d test: fix existing tests 2022-11-07 12:05:55 +00:00
Josh
102b842485 chore: tidy ups 2022-11-07 11:33:48 +00:00
Josh
3e39b41cdf chore: remove debug line 2022-11-07 11:31:52 +00:00
Josh
2b85ad0446 chore: remove passing id to relationItem useDrag/useDrop 2022-11-07 11:29:47 +00:00
Josh
ab5dac4ca2 refactor: repeatableComponents (make it simpler) 2022-11-07 11:29:03 +00:00
Josh
eef9fdb463 feat: add visual re-ordering with mouse 2022-11-07 10:52:14 +00:00
Josh
6b6c3948aa feat(wip): add visual reordering of relations 2022-11-04 17:36:35 +00:00
Gustav Hansen
a11193d13e
Merge pull request #14782 from strapi/fix/settings-conditions
ConditionsModal: Fix modal component structure and add missing translations
2022-11-04 16:13:24 +01:00
Gustav Hansen
281e42ca02
Merge pull request #14785 from strapi/fix/react-select-box-shadow
ReactSelect: Add missing box-shadow
2022-11-04 16:13:09 +01:00
Gustav Hansen
9877172266 Chore: Bump @strapi/design-system to 1.2.7 2022-11-04 15:02:38 +01:00
Gustav Hansen
01b68ddcb3 Chore: Update snapshot tests 2022-11-04 14:04:28 +01:00
Gustav Hansen
7b706dbf5a ReactSelect: Cleanup style props 2022-11-04 13:58:04 +01:00
Gustav Hansen
fe8012279a ReactSelect: Add subtle box-shadow around menu 2022-11-04 13:57:44 +01:00
Gustav Hansen
006f1e317f Chore: Update translation strings 2022-11-04 11:21:20 +01:00
Gustav Hansen
805ea73eb2 ConditionsModal: Fix translation strings 2022-11-04 11:21:17 +01:00
Gustav Hansen
d7fcb167fe ConditionsModal: Fix modal component structure to use ModalBody 2022-11-04 11:16:23 +01:00
Gustav Hansen
c4cb546c89 Chore: update snapshot tests 2022-11-04 10:10:33 +01:00
Gustav Hansen
be49a0c80b RelationInput: Overwrite default react-select no-options message 2022-11-04 10:01:43 +01:00
Gustav Hansen
933f646a5a
Merge pull request #14777 from strapi/chore/upgrade-react-select
Chore: Upgrade react-select from v4 to v5
2022-11-04 09:39:49 +01:00
Gustav Hansen
b8debd30b5 RelationInput: Stop testing react-select internals 2022-11-03 16:37:46 +01:00
Gustav Hansen
4a8d910afb Chore: Update snapshot tests 2022-11-03 16:35:04 +01:00
Gustav Hansen
4b1c26e638 Chore: Remove react-select aliases from the webpack alias configuration 2022-11-03 16:35:04 +01:00
Gustav Hansen
a1a0e8741e Chore: Remove ReactSelectAsync component 2022-11-03 16:35:04 +01:00
Gustav Hansen
019cbf8123 Chore: Upgrade react-select from v4 to v5 2022-11-03 16:30:20 +01:00
Gustav Hansen
55227eb94c Chore: Update snapshot tests 2022-11-03 16:28:09 +01:00
Gustav Hansen
ff35857c96 RelationInput: Replace Badge with Status 2022-11-03 16:26:00 +01:00
Gustav Hansen
1e180f1961 CM: Replace custom State component with the DS Status component 2022-11-03 16:26:00 +01:00
Gustav Hansen
3079f38be5 Chore: Update snapshot tests 2022-11-03 15:02:16 +01:00
Gustav Hansen
148ff34c53 Chore: Update @Strapi/design-system to 1.2.6 2022-11-03 13:30:19 +01: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
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