diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index f5e2c8267c..742b133195 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -18,6 +18,7 @@ For upgrade instructions, please check the [migration guide](MIGRATIONS.released ### Changed - Merged the "Shared Annotations" tab into the "Annotations" tab in the user's dashboard. If annotations are shared with you, you can see them in your dashboard. The table can be filtered by owner if you prefer to see only your own annotations. [#6230](https://github.com/scalableminds/webknossos/pull/6230) +- Changed the name of the volume annotation layer in tasks to be "Volume" instead of "Volume Layer". [#6321](https://github.com/scalableminds/webknossos/pull/6321) ### Fixed - Fixed that zooming out for datasets with very large scale was not possible until the coarsest level. [#6304](https://github.com/scalableminds/webknossos/pull/6304) diff --git a/frontend/javascripts/oxalis/model/accessors/volumetracing_accessor.ts b/frontend/javascripts/oxalis/model/accessors/volumetracing_accessor.ts index 8c7a0959a7..3ad57697e2 100644 --- a/frontend/javascripts/oxalis/model/accessors/volumetracing_accessor.ts +++ b/frontend/javascripts/oxalis/model/accessors/volumetracing_accessor.ts @@ -92,7 +92,7 @@ export function getReadableNameByVolumeTracingId( tracingId: string, ) { const volumeDescriptor = getVolumeDescriptorById(tracing, tracingId); - return volumeDescriptor.name || "Volume Layer"; + return volumeDescriptor.name || "Volume"; } export function getAllReadableLayerNames(dataset: APIDataset, tracing: Tracing) { diff --git a/frontend/javascripts/oxalis/view/right-border-tabs/export_bounding_box_modal.tsx b/frontend/javascripts/oxalis/view/right-border-tabs/export_bounding_box_modal.tsx index 70fed4a4b8..14ac749a4b 100644 --- a/frontend/javascripts/oxalis/view/right-border-tabs/export_bounding_box_modal.tsx +++ b/frontend/javascripts/oxalis/view/right-border-tabs/export_bounding_box_modal.tsx @@ -74,12 +74,12 @@ export function getLayerInfos( // Satisfy flow. throw new Error("Tracing is null, but layer.tracingId is defined."); } - const readbleVolumeLayerName = getReadableNameOfVolumeLayer(layer, tracing) || "Volume Layer"; + const readableVolumeLayerName = getReadableNameOfVolumeLayer(layer, tracing) || "Volume"; const volumeTracing = getVolumeTracingById(tracing, layer.tracingId); if (layer.fallbackLayerInfo != null) { return { - displayName: readbleVolumeLayerName, + displayName: readableVolumeLayerName, layerName: layer.fallbackLayerInfo.name, tracingId: volumeTracing.tracingId, annotationId, @@ -93,7 +93,7 @@ export function getLayerInfos( } return { - displayName: readbleVolumeLayerName, + displayName: readableVolumeLayerName, layerName: null, tracingId: volumeTracing.tracingId, annotationId,