1896 Commits

Author SHA1 Message Date
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
Gustav Hansen
0193911e3c ML: Simplify useAssets() and useFolders() hooks 2022-04-12 14:11:38 +02:00
Gustav Hansen
e49a99692f ML: Resolve ignored eslint rules 2022-04-12 14:11:38 +02:00
Gustav Hansen
8fe9488b75 ML: Add useFolders() hook and tests 2022-04-12 14:11:38 +02:00
Gustav Hansen
fc5e52792b ML: Add tests for useAssets() 2022-04-12 14:11:38 +02:00
Gustav Hansen
9e3b3ece87 ML: Use formatjs inline plural API, display folder count 2022-04-12 14:11:35 +02:00
Jorge Rambla
473a265a16
REMOVE count route from upload plugin 2022-04-12 11:12:11 +02:00
Jorge Rambla
9ea086aea5
REMOVE count method from upload controller 2022-04-12 11:11:05 +02:00
Gustav Hansen
5170bc449d wip 2022-04-11 16:33:16 +02:00
Gustav Hansen
39d018d4a2 useModalQueryParams: Add tests 2022-04-11 16:32:29 +02:00