21080 Commits

Author SHA1 Message Date
cyril lopez
2ebb0b3ad7
Merge pull request #13073 from strapi/features/ML-folder-treeselect
SelectTree: Create component to be used in the media library
2022-04-28 12:53:42 +02:00
Gustav Hansen
0c3655c008
Merge pull request #13111 from strapi/features/ML-folder-context-info
ML: Refactor AssetMeta into ContextInfo to reuse it for folders
2022-04-27 11:39:42 +02:00
Pierre Noël
def1cedc5b
Merge pull request #13053 from strapi/ML-folder/update-file-location
Ml folder/update file location
2022-04-25 14:28:26 +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
ivanThePleasant
03a6b33131
Merge pull request #12910 from strapi/chore/opt-out-telemetry-call
Opt out telemetry command
2022-04-12 15:59:16 +03: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
soupette
7035fc93ea Change storybook port
Signed-off-by: soupette <cyril@strapi.io>
2022-04-12 14:16:22 +02:00
soupette
5efe258510 Add storybook documentation to develop local components outside the helper plugin
Signed-off-by: soupette <cyril@strapi.io>
2022-04-12 14:16:19 +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
587673fbfd ReactSelect: Improve styling for selected options 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
888212e252 Chore: Add react-select as dependency of the helper-plugin 2022-04-12 14:13:08 +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
0f21263efd ReactSelect: Abstract base class from SelectWrapper 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