20225: Add subdirectory selection support to directory input
authorStephen Smith <stephen@curii.com>
Thu, 21 Sep 2023 19:02:10 +0000 (15:02 -0400)
committerStephen Smith <stephen@curii.com>
Fri, 22 Sep 2023 14:37:09 +0000 (10:37 -0400)
commit4c34de655fc7f8839b205b48f460a168f302dd63
tree9b56c50ec165c905f3ed9cf1bf1b66794a2e7979
parent6f8dcb2b13f3058db656908fb26b09e23b527f08
20225: Add subdirectory selection support to directory input

Converts getFileOperationLocation into a dispatchable helper so it can access
the store to augment FileOperationLocations with a PDH

Converts DirectoryTreePickerField into a connected class component in order to
use getFileOperationLocation

Change DirectoryInputComponent to include directories in the picker and use
getFileOperationLocation to pass FileOperationLocation instead of Collection
objects so that the subpath within the collection can be embedded in the
Directory object

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>
src/store/collections/collection-partial-copy-actions.ts
src/store/collections/collection-partial-move-actions.ts
src/store/tree-picker/tree-picker-actions.ts
src/views-components/form-fields/collection-form-fields.tsx
src/views-components/projects-tree-picker/tree-picker-field.tsx
src/views/run-process-panel/inputs/directory-input.tsx