1705 Commits

Author SHA1 Message Date
Pierre Noël
de2a03268a change tree to folder-structure + fix test 2022-04-25 14:37:59 +02:00
Pierre Noël
52a2a41664 code cleaning 2022-04-25 14:37:59 +02:00
Pierre Noël
2f8fd4adc2 fix e2e folder test 2022-04-25 14:37:58 +02:00
Pierre Noël
ecbf419c3c add tree route 2022-04-25 14:37:58 +02:00
Pierre Noël
c7c94b310a better stack error 2022-04-25 12:12:56 +02:00
alekzonder
45e221cc26
FIx upload VipsJpegError
Invalid SOS parameters for sequential JPEG
2022-04-17 13:38:24 +07:00
Convly
4fa2804f35 Merge branch 'master' into features/typescript 2022-04-15 15:47:16 +02:00
soupette
9a052ee876 Fix tests
Signed-off-by: soupette <cyril@strapi.io>
2022-04-13 17:15:16 +02:00
Alexandre Bodin
3f204a0a48 v4.1.8 2022-04-13 16:45:31 +02:00
Gustav Hansen
a5c7ef9bfb Chore: Update snapshot tests 2022-04-13 12:47:01 +02:00
Gustav Hansen
03c5371c07 ML: Refactor AssetMeta into ContextInfo to reuse it for folders 2022-04-12 17:27:20 +02:00
Pierre Noël
725aa2e399 fix lint 2022-04-12 16:50:02 +02:00
Pierre Noël
041f2f6eb3 apply feedback 2022-04-12 16:32:05 +02:00
Pierre Noël
cfa968c537 sanitize files for the content-api 2022-04-12 16:07:54 +02:00
Pierre Noël
d0bf7310b3 replace path by location + add location to files 2022-04-12 16:07:54 +02:00
Pierre Noël
7689a340ea replace names by uids in folder path 2022-04-12 16:07:53 +02:00
Pierre Noël
a1c441e8bf remove path for files + add base for delete folders 2022-04-12 16:07:53 +02:00
Pierre Noël
a44e2cd25e add ability to set and change file folder location 2022-04-12 16:07:53 +02:00
Pierre Noël
fd5d1c2fdc forbid folder name starting or ending with a whitespace 2022-04-12 16:07:52 +02:00
Pierre Noël
fbd9ae5a50 fix tests 2022-04-12 16:07:52 +02:00
Pierre Noël
94308aa2bc restructure upload controllers + add create and get folders 2022-04-12 16:07:51 +02:00
Gustav Hansen
0f8956db72 FolderCard: remove legacy useId prefix param 2022-04-12 16:05:52 +02:00
Gustav Hansen
c8ca3f49e2 FolderCard: Restructure component files 2022-04-12 16:05:52 +02:00
Gustav Hansen
0d69739fe4 FolderCard: Update tests 2022-04-12 16:05:52 +02:00
Gustav Hansen
6853c8e351 ML: Add FolderCard component 2022-04-12 16:05:51 +02:00
Gustav Hansen
69518492d9 ML: Simplify useAssets() and useFolders() hooks 2022-04-12 16:05:51 +02:00
Gustav Hansen
9392eeae62 ML: Resolve ignored eslint rules 2022-04-12 16:05:51 +02:00
Gustav Hansen
f8a863fc53 ML: Add useFolders() hook and tests 2022-04-12 16:05:50 +02:00
Gustav Hansen
c2e502d68b ML: Add tests for useAssets() 2022-04-12 16:05:50 +02:00
Gustav Hansen
c489321721 ML: Use formatjs inline plural API, display folder count 2022-04-12 16:05:50 +02:00
Gustav Hansen
83437a7625 Chore: Update snapshot test 2022-04-12 14:44:37 +02:00
Gustav Hansen
9b735091b6 SelectTree: Improve example 2022-04-12 14:16:22 +02:00
Gustav Hansen
74e2b1482d SelectTree: Move custom Option props to selectProps 2022-04-12 14:16:22 +02:00
Gustav Hansen
16360c91f5 Chore: Fix snapshot test 2022-04-12 14:13:12 +02:00
Gustav Hansen
78a8c9b539 Update test 2022-04-12 14:13:12 +02:00
Gustav Hansen
07737dad1a SelectTree: Handle react-select defaultValue 2022-04-12 14:13:11 +02:00
Gustav Hansen
447713434f SelectTree: Reduce impact of disabled lint rule 2022-04-12 14:13:11 +02:00
Gustav Hansen
2390640f41 SelectTree: Move Option into it's own component 2022-04-12 14:13:11 +02:00
Gustav Hansen
6b5c22ceab SelectTree: Improve PropTypes for options 2022-04-12 14:13:11 +02:00
Gustav Hansen
738b710521 Link ML SelectTree to the helper-plugin storybook temporarily 2022-04-12 14:13:10 +02:00
Gustav Hansen
2eec38789c SelectTree: Update snapshot tests 2022-04-12 14:13:10 +02:00
Gustav Hansen
97ca75d66a SelectTree: Update snapshot test 2022-04-12 14:12:28 +02:00
Gustav Hansen
d6792440b5 ReactSelect: Add maxDisplayDepth prop to determine max level of indention 2022-04-12 14:12:28 +02:00
Gustav Hansen
ba367622f9 ReactSelect: Cleanup import order 2022-04-12 14:12:28 +02:00
Gustav Hansen
bbacc01993 ReactSelect: Simplify handleToggle callback 2022-04-12 14:12:27 +02:00
Gustav Hansen
32163918f5 ML: Create SelectTree component on top of ReactSelect 2022-04-12 14:12:27 +02:00
Gustav Hansen
4b40ad45f5 FolderCard: remove legacy useId prefix param 2022-04-12 14:11:39 +02:00
Gustav Hansen
045399aeab FolderCard: Restructure component files 2022-04-12 14:11:39 +02:00
Gustav Hansen
9718910009 FolderCard: Update tests 2022-04-12 14:11:39 +02:00
Gustav Hansen
408d40a6b8 ML: Add FolderCard component 2022-04-12 14:11:38 +02:00