5078 Commits

Author SHA1 Message Date
Julie Plantey
ca8aea9fcd fix RelationInput snapshots 2022-09-14 14:41:31 +02:00
Gustav Hansen
f4299faed7 RelationInputDataManager: Pass down required and labelAction props 2022-09-13 18:59:57 +02:00
Gustav Hansen
6bc839db06 chore: Update snapshot tests 2022-09-13 18:59:56 +02:00
Gustav Hansen
1ef08e443f RelationInput: Add missing default input props 2022-09-13 18:59:56 +02:00
Gustav Hansen
c85282b9af RelationInput: Remove background-color and padding 2022-09-13 18:59:56 +02:00
Gustav Hansen
01f08a2575 Rename RelationInputWrapper to RelationInputDataManager 2022-09-13 16:19:06 +02:00
Gustav Hansen
a72197c78a
Merge pull request #14402 from strapi/feature/relations-main-view-components
RelationInputWrapper: Fix and properly transform query params for components
2022-09-13 16:11:02 +02:00
Gustav Hansen
5710491285
Merge pull request #14400 from strapi/relations/proptypes-fix
[RelationInput] fix proptypes
2022-09-13 16:08:20 +02:00
Gustav Hansen
5c839678cd RelationInputWrapper: Fix and properly transform query params for components 2022-09-13 15:24:40 +02:00
Gustav Hansen
ef3ff83c6b
Merge branch 'feature/relations-main-view' into feature/relations-main-view-empty-overfetch 2022-09-13 14:04:50 +02:00
Gustav Hansen
0fb9a7f525 useRelation: Update tests 2022-09-13 13:51:53 +02:00
Gustav Hansen
147c7efc27
Merge pull request #14399 from strapi/feature/relations-main-view-draft-warning
EditView: Remove warning for relations with publicationstate = draft
2022-09-13 13:08:56 +02:00
Gustav Hansen
bcbae4e599 Merge branch 'main' into feature/relations-main-view 2022-09-13 13:08:05 +02:00
Gustav Hansen
843778eb5a EditView: Remove legacy translations 2022-09-13 12:50:38 +02:00
Gustav Hansen
8f089ca397 EditView: Move test mock-data 2022-09-13 12:50:23 +02:00
Julie Plantey
93123eb978 fixed Option warning id + overflow passed to ShadowBox 2022-09-13 12:39:37 +02:00
Julie Plantey
f7b51cd2f2 fix RelationInput proptypes issues 2022-09-13 12:25:50 +02:00
Gustav Hansen
f8784891e8 EditView: Remove warning for relations with publicationstate = draft 2022-09-13 12:16:02 +02:00
Gustav Hansen
2766b93940
Merge pull request #14387 from strapi/feature/relations-main-view-progressive-state
EditViewDataManagerProvider: Progressively enhance relations state
2022-09-13 10:13:34 +02:00
Julie Plantey
d398c6b4f1
Merge pull request #14392 from strapi/relations/ui-fixes
[RelationInput] UI fixes
2022-09-13 09:36:08 +02:00
Gustav Hansen
e1c4310bc5 EditViewDataManagerProvider: Fix and improve tests 2022-09-13 09:32:35 +02:00
Gustav Hansen
1a1e95c928 EditViewDataManagerProvider: Improve code comments 2022-09-13 09:14:11 +02:00
Julie Plantey
92c9feb79c updated snapshots 2022-09-12 17:19:59 +02:00
Julie Plantey
d6f619900d temp fix react select position 2022-09-12 16:54:09 +02:00
Julie Plantey
8d9bf0e447 select 100% depending on grid size 2022-09-12 15:58:07 +02:00
Julie Plantey
2f7852c6eb fix padding issues 2022-09-12 15:28:43 +02:00
Marc
9dc51aa95a
Merge branch 'main' into patch-2 2022-09-12 14:59:47 +02:00
Gustav Hansen
db94e2a877 EditViewDataManagerProvider: Update cleanData test 2022-09-12 14:55:46 +02:00
Gustav Hansen
b54fd46eae EditViewDataManagerProvider: Only send connect/ disconnect for relations 2022-09-12 14:55:46 +02:00
Julie Plantey
fa2590e47c wrap & placeholder ellipsis 2022-09-12 14:55:25 +02:00
Gustav Hansen
9967b09d76 EditViewDataManagerProvider: Keep initialData and modifiedData in sync
Co-authored-by: Julie Plantey <ronronscelestes@users.noreply.github.com>
2022-09-12 14:55:15 +02:00
Gustav Hansen
3809e2d1a6 EditViewDataManagerProvider: Progressively enhance relations state 2022-09-12 14:48:40 +02:00
Gustav Hansen
0bb5a2d22d
Merge pull request #14383 from strapi/feature/relations-main-view-locale
RelationInputWrapper: Pass down the current locale as query parameter
2022-09-12 13:32:24 +02:00
Gustav Hansen
ea81070d8a RelationInputWrapper: Pass down the current locale as query parameter 2022-09-12 12:17:03 +02:00
Julie Plantey
3b53153723
Merge pull request #14290 from WalkingPizza/fix/13648
Trim admin's first name when validating
2022-09-12 10:31:32 +02:00
Gustav Hansen
29e2e43132 RelationInputWrapper: Do not attempt fetching relations, if count == 0 2022-09-12 09:41:37 +02:00
Gustav Hansen
0bfb5aa5ba RelationInput: Remove unnecessary optional chaining operators 2022-09-12 09:22:04 +02:00
Gustav Hansen
d489de5692 RelationInputWrapper: Fix normalization of relations, if results are empty 2022-09-12 09:17:50 +02:00
Konstantin Münster
1ed929d8c0
update sharp in upload package 2022-09-10 15:02:11 +02:00
Julie Plantey
760b396b7d
Merge pull request #14292 from Zharkan/fix-fr-translations
fix: some french translations are not correct
2022-09-09 15:20:49 +02:00
Alexandre Bodin
d0404ffa7a Update readme with node 18 support 2022-09-08 16:38:57 +02:00
Pierre Noël
3f72ff3a73 Merge branch 'main' into feature/relations-main-view 2022-09-08 15:41:31 +02:00
Alexandre BODIN
59b83c5953
Merge pull request #14320 from strapi/chore/eslint
chore/eslint
2022-09-08 14:45:12 +02:00
Gustav Hansen
7045a742dc
Merge pull request #14353 from strapi/relations-main-view/fix-find-available-when-no-relations-set
Fix no relations return for find available when no relations are set
2022-09-08 12:14:03 +02:00
Gustav Hansen
928dfd660c
Merge pull request #14355 from strapi/feature/relations-main-view-mainfield-fallback
RelationInput: Render id as fallback, if no mainField was set
2022-09-08 12:06:28 +02:00
Gustav Hansen
9e4433f881 useRelation/ normalizeRelations: Handle 204 response code properly 2022-09-08 11:57:51 +02:00
Gustav Hansen
16efdef61c
Merge pull request #14352 from strapi/relations/move-connect-disconnect
[Relations] Move connect/disconnect
2022-09-08 11:33:07 +02:00
Gustav Hansen
f8bff59f86 RelationInput: Render id as fallback, if no mainField was set 2022-09-08 11:28:36 +02:00
Pierre Noël
ea35195ea1 fix no relations return for find available when no relations are set 2022-09-08 11:10:57 +02:00
Julie Plantey
1513d0e9c1 fire search on open search 2022-09-08 11:06:08 +02:00