1705 Commits

Author SHA1 Message Date
Gustav Hansen
be68fe2957 Update test 2022-04-28 13:47:05 +02:00
Gustav Hansen
18d26cc963 SelectTree: Handle react-select defaultValue 2022-04-28 13:47:04 +02:00
Gustav Hansen
71d06305b0 SelectTree: Reduce impact of disabled lint rule 2022-04-28 13:47:04 +02:00
Gustav Hansen
f9eb3004d4 SelectTree: Move Option into it's own component 2022-04-28 13:47:04 +02:00
Gustav Hansen
9b162d8e99 SelectTree: Improve PropTypes for options 2022-04-28 13:47:04 +02:00
Gustav Hansen
18e495f6e0 Link ML SelectTree to the helper-plugin storybook temporarily 2022-04-28 13:47:03 +02:00
Gustav Hansen
e31e8bc038 SelectTree: Update snapshot tests 2022-04-28 13:47:03 +02:00
Gustav Hansen
9a5f703993 SelectTree: Update snapshot test 2022-04-28 13:41:53 +02:00
Gustav Hansen
d8e6039c79 ReactSelect: Add maxDisplayDepth prop to determine max level of indention 2022-04-28 13:41:53 +02:00
Gustav Hansen
4d872656d2 ReactSelect: Cleanup import order 2022-04-28 13:41:53 +02:00
Gustav Hansen
eb4bd8e050 ReactSelect: Simplify handleToggle callback 2022-04-28 13:41:53 +02:00
Gustav Hansen
bf0e321820 ML: Create SelectTree component on top of ReactSelect 2022-04-28 13:41:52 +02:00
Gustav Hansen
318bec4f5c FolderCard: Restructure component files 2022-04-28 13:41:15 +02:00
Gustav Hansen
0d0a24f29d ML: Add FolderCard component 2022-04-28 13:39:19 +02:00
Gustav Hansen
a9abafccb0 ML: Add useFolders() hook and tests 2022-04-28 13:36:57 +02:00
Gustav Hansen
2e64487fc0 Chore: Update snapshot tests 2022-04-28 13:33:41 +02:00
Gustav Hansen
7fc6b4de67 ML: Refactor AssetMeta into ContextInfo to reuse it for folders 2022-04-28 13:29:05 +02:00
Pierre Noël
b8c8279580 fix lint 2022-04-28 13:29:04 +02:00
Pierre Noël
8abc6a73cb apply feedback 2022-04-28 13:29:04 +02:00
Pierre Noël
9c3dcfecbc sanitize files for the content-api 2022-04-28 13:29:04 +02:00
Pierre Noël
587b62ea7b replace path by location + add location to files 2022-04-28 13:29:04 +02:00
Pierre Noël
906f625c30 replace names by uids in folder path 2022-04-28 13:29:03 +02:00
Pierre Noël
ada5553977 remove path for files + add base for delete folders 2022-04-28 13:29:03 +02:00
Pierre Noël
9476065472 add ability to set and change file folder location 2022-04-28 13:29:03 +02:00
Pierre Noël
2ae631d903 forbid folder name starting or ending with a whitespace 2022-04-28 13:29:03 +02:00
Pierre Noël
8ddf42f75c fix tests 2022-04-28 13:29:02 +02:00
Pierre Noël
4ee7519b4f restructure upload controllers + add create and get folders 2022-04-28 13:29:00 +02:00
Gustav Hansen
6a9850bb21 FolderCard: remove legacy useId prefix param 2022-04-28 13:28:33 +02:00
Gustav Hansen
b9b01b9d51 FolderCard: Restructure component files 2022-04-28 13:28:33 +02:00
Gustav Hansen
39019848a4 FolderCard: Update tests 2022-04-28 13:28:33 +02:00
Gustav Hansen
609fb1336d ML: Add FolderCard component 2022-04-28 13:28:32 +02:00
Gustav Hansen
c494431a20 ML: Simplify useAssets() and useFolders() hooks 2022-04-28 13:28:32 +02:00
Gustav Hansen
c2722dcfd0 ML: Resolve ignored eslint rules 2022-04-28 13:28:32 +02:00
Gustav Hansen
c7cf9d886c ML: Add useFolders() hook and tests 2022-04-28 13:28:32 +02:00
Gustav Hansen
bd75335c44 ML: Add tests for useAssets() 2022-04-28 13:28:31 +02:00
Gustav Hansen
8e5c889c09 ML: Use formatjs inline plural API, display folder count 2022-04-28 13:28:31 +02:00
Gustav Hansen
5dfa81a8e5 Upload: Namespace all queries with pluginId 2022-04-28 13:27:26 +02:00
Gustav Hansen
648c5bd470 useEditFolder: Update tests 2022-04-28 13:26:06 +02:00
Gustav Hansen
eada144e15 useEditFolder: Refactor according to the current API spec 2022-04-28 13:26:06 +02:00
Gustav Hansen
848e9a0c08 EditFolderDialog: Elaborate on TODOs 2022-04-28 13:26:06 +02:00
Gustav Hansen
2b0cf820b8 ML: Use EditFolderDialog when adding a new folder 2022-04-28 13:26:05 +02:00
Gustav Hansen
bf868610e1 ML: Create EditFolderDialog component 2022-04-28 13:26:05 +02:00
Gustav Hansen
57e292c911 ML: Create useEditFolder hook 2022-04-28 13:26:05 +02:00
Gustav Hansen
97a606512b ML: Use formatjs inline plural API, display folder count 2022-04-28 13:26:02 +02:00
Gustav Hansen
658d31bdf9
Merge pull request #12961 from strapi/features/ML-folder-useRemoveFolder
ML: Add useRemoveFolder hook
2022-04-28 13:09:22 +02:00
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
Alexandre Bodin
9fa53be186 v4.1.9 2022-04-27 18:25:42 +02:00
Gustav Hansen
4758ec9755
Merge pull request #13140 from alekzonder/patch-1
FIx upload error: Error: VipsJpeg: Invalid SOS parameters for sequential JPEG
2022-04-27 12:13:37 +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
ronronscelestes
5c37a3e20e helper plugin DS bump 2022-04-26 15:09:11 +02:00