23763 Commits

Author SHA1 Message Date
Pierre Noël
8f73a1d761 use data format + init e2e tests 2022-10-10 14:28:56 +02:00
Pierre Noël
29d567198c JSDoc getDeepPopulateDraftCount 2022-10-10 14:28:56 +02:00
Pierre Noël
a5ae89fa2d JSDoc for sumDraftCounts
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2022-10-10 14:28:55 +02:00
Pierre Noël
212d80f4fa Update singletype controller
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2022-10-10 14:28:55 +02:00
Pierre Noël
d4436892bf Update singletype route
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2022-10-10 14:28:54 +02:00
Pierre Noël
0415f5d677 add getNumberOfDraftRelations route 2022-10-10 14:28:54 +02:00
Pierre Noël
541f4b6a40
Merge pull request #14574 from strapi/relations-main-view/fix-order
Use transformLoadParamsToQuery instead of transformParamsToQuery to f…
2022-10-10 14:28:18 +02:00
Josh
9cef84c486
Merge pull request #14571 from strapi/feature/relations-main-view-relation-cache 2022-10-10 08:55:02 +01:00
Pierre Noël
256e7164d5 fix tests 2022-10-07 21:37:14 +02:00
Pierre Noël
da70af1294 remove offset & limit when counting in populate 2022-10-07 20:21:15 +02:00
Pierre Noël
98e8bc61e0 use transformLoadParamsToQuery instead of transformParamsToQuery to fix ordering being ignored in loadPages() 2022-10-07 18:49:15 +02:00
Pierre Noël
88ff30d6b0
Merge pull request #14564 from strapi/relations-main-view/database-transaction
Add transaction in DB entity manager
2022-10-07 18:46:59 +02:00
Gustav Hansen
34ecc496e1
Merge pull request #14555 from strapi/feature/relations-main-view-i18n
i18n: Inject i18n queryInfos for relations
2022-10-07 16:12:43 +02:00
Gustav Hansen
34a7af2ab6 useRelation: Disable query cache for relations 2022-10-07 15:50:54 +02:00
Pierre Noël
95f3abfa6b remove TODO comments 2022-10-07 15:42:48 +02:00
Gustav Hansen
b960d143e9
Merge pull request #14562 from strapi/feature/relations-main-view-misc-1337
Relations: Hover state and prop-type fixes
2022-10-07 14:11:54 +02:00
Gustav Hansen
ce21b947c1 RelationInput: Update snapshot tests 2022-10-07 12:57:21 +02:00
Gustav Hansen
e56bae5a2f RelationInput: Add missing label to disconnect button 2022-10-07 12:53:11 +02:00
Gustav Hansen
541b1695fe
Merge pull request #14527 from strapi/relations/fix-order-normalizeRelations
[Relations - Front] Reverse order of relations
2022-10-07 11:55:25 +02:00
Pierre Noël
6e67d82f5f add transaction in DB entity manager 2022-10-06 18:03:10 +02:00
Gustav Hansen
be495b4b36
Merge pull request #14560 from strapi/relations/relation-item-padding
[Relations] Fix RelationItem padding
2022-10-06 17:37:43 +02:00
Julie Plantey
370caa5d11 fix relation item padding top and bottom 2022-10-06 16:03:49 +02:00
Julie Plantey
6ec4502450 fix tests name for normalizeSearchResults 2022-10-06 15:42:00 +02:00
Gustav Hansen
685b3e11b0 RelationInput: Fix Tooltip prop-type if IDs are rendered 2022-10-06 15:02:12 +02:00
Gustav Hansen
3f2c6fb440 RelationInputDataManager: Resolve todo and fix labelLoadMore prop-type 2022-10-06 15:01:46 +02:00
Gustav Hansen
5b46793f36 RelationInput: Add hover/ focus state to remove icon 2022-10-06 15:00:35 +02:00
Gustav Hansen
4657c92626 i18n: Inject queryInfos into relations in the main layout 2022-10-06 14:17:22 +02:00
Julie Plantey
76c0ffb791
Merge pull request #14556 from strapi/relations/fix-idsToInclude-false
[Relations] Fix idsToInclude false
2022-10-06 13:37:31 +02:00
Julie Plantey
0af020e8a8 fix sending idsToInclude=false as search param 2022-10-06 13:24:42 +02:00
Julie Plantey
a457efe802 fix sending idsToInclude=false as search param 2022-10-06 12:48:00 +02:00
Julie Plantey
f6afb6f4f4 add test for normalizeSearchResults 2022-10-06 12:33:59 +02:00
Julie Plantey
92b206bcb0 Merge branch 'feature/relations-main-view' of https://github.com/strapi/strapi into relations/fix-order-normalizeRelations 2022-10-06 12:27:32 +02:00
Pierre Noël
583ae4fac6
Merge pull request #14503 from strapi/relations-main-view/fix-user-ct-role-update
Fix role assign on user collection type
2022-10-06 12:13:15 +02:00
Julie Plantey
cb97055e7f
Merge pull request #14406 from strapi/feature/relations-main-view-ids-to-include
RelationInputDataManager: Send idsToInclude param when searching
2022-10-06 11:57:59 +02:00
Pierre Noël
93d030df8b update permissions plugin role validation (done by @Marc-Roig) 2022-10-06 11:15:07 +02:00
Gustav Hansen
221c80a9d4 useRelation: Uncomment unit tests 2022-10-06 10:48:50 +02:00
Gustav Hansen
51f3b540ad useRelation: Wrap search fetch in try catch 2022-10-06 10:48:12 +02:00
Julie Plantey
359b4e756e use useQuery select to reverse, split normalizeSearchResults & normalizeRelations 2022-10-05 16:21:02 +02:00
Pierre Noël
244279911d
Merge pull request #14525 from strapi/relations-main-view/fix-relation-order-existing-relations
Use query().load() to get existing relations
2022-10-04 12:06:12 +02:00
Pierre Noël
ff1e021aa1 fix i18n findExistingRelations tests 2022-10-04 10:54:18 +02:00
Pierre Noël
5021f99392 add and use utils isXtoX 2022-10-03 18:54:13 +02:00
Pierre Noël
9409b3a5e6 Remove idsToOmit + comment 2022-10-03 18:11:33 +02:00
Pierre Noël
a17b3a0ba2 add and use loadPages 2022-10-03 17:52:12 +02:00
Julie Plantey
fc6e4adbee refactor existingRelationsReversed + doc 2022-10-03 17:41:55 +02:00
Julie Plantey
dce64f5b3b use findIndex, add reducer test 2022-10-03 16:49:54 +02:00
Julie Plantey
4e917068b1 reverse orders of existing relations 2022-10-03 15:51:39 +02:00
Julie Plantey
984e5cac49 fix relations in connect when it exists in db 2022-10-03 12:00:20 +02:00
Julie Plantey
6f4ebebfb8 Merge branch 'feature/relations-main-view' of https://github.com/strapi/strapi into feature/relations-main-view-ids-to-include 2022-10-03 11:20:10 +02:00
Pierre Noël
0f7852d8d8 use query().load() to get existing relations 2022-10-03 11:12:22 +02:00
Josh
b93f4cb7b3
Merge pull request #14497 from strapi/fix/relations/infinite-scroll-in-input 2022-10-03 09:22:35 +01:00