Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions frontend/javascripts/admin/dataset/dataset_upload_view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -799,10 +799,9 @@ class DatasetUploadView extends React.Component<PropsWithFormAndRouter, State> {
ref={this.formRef}
initialValues={{
initialTeams: [],
voxelSize: [0, 0, 0],
voxelSizeUnit: UnitLong.nm,
zipFile: [],
targetFolderId: new URLSearchParams(location.search).get("to"),
unit: UnitLong.nm,
}}
>
{features().isWkorgInstance && (
Expand Down Expand Up @@ -875,7 +874,7 @@ class DatasetUploadView extends React.Component<PropsWithFormAndRouter, State> {
info="The voxel size defines the extent (for x, y, z) of one voxel in the specified unit."
// @ts-ignore
disabled={this.state.needsConversion}
help="Your dataset is not yet in WKW Format. Therefore you need to define the voxel size."
help="Your dataset is not yet in a WEBKNOSSOS format. Therefore, you need to define the voxel size."
rules={[
{
required: this.state.needsConversion,
Expand All @@ -891,6 +890,7 @@ class DatasetUploadView extends React.Component<PropsWithFormAndRouter, State> {
>
<Vector3Input
allowDecimals
placeholder="e.g. 11.23, 11.23, 28.3"
onChange={(voxelSizeFactor: Vector3) => {
if (this.formRef.current == null) return;
this.formRef.current.setFieldsValue({
Expand Down
2 changes: 2 additions & 0 deletions unreleased_changes/8876.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
### Added
- Added a placeholder to the voxel size input field in the upload form.