Skip to content

Commit f907b53

Browse files
authored
Unify Wording in Compound Annotation Links (#8742)
Unifying link names and mouseover titles for compound annotation links in task list, project list and tasktype list. Follow-up for #8565 I tried to use title case. Do we have a style manual we adhere to? ### URL of deployed dev instance (used for testing): - https://unifycompoundlinks.webknossos.xyz ### Steps to test: - Have a look at action links and their mouseover-titles in task list, project list and tasktype list
1 parent 4c6b2b2 commit f907b53

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

frontend/javascripts/admin/project/project_list_view.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -388,10 +388,10 @@ function ProjectListView({ initialSearchValue, taskTypeId, activeUser }: Props)
388388
<span>
389389
<Link
390390
to={`/annotations/CompoundProject/${project.id}`}
391-
title="View all Finished Annotations"
391+
title="Show Compound Annotation of All Finished Annotations"
392392
>
393393
<EyeOutlined className="icon-margin-right" />
394-
View
394+
View Merged
395395
</Link>
396396
<br />
397397
<Link to={`/projects/${project.id}/edit`} title="Edit Project">
@@ -429,7 +429,7 @@ function ProjectListView({ initialSearchValue, taskTypeId, activeUser }: Props)
429429
<br />
430430
<a
431431
onClick={_.partial(increaseProjectTaskInstances, project)}
432-
title="Increase Task instances"
432+
title="Increase Task Instances"
433433
>
434434
<PlusSquareOutlined className="icon-margin-right" />
435435
Increase Instances
@@ -441,7 +441,7 @@ function ProjectListView({ initialSearchValue, taskTypeId, activeUser }: Props)
441441
maybeShowNoFallbackDataInfo(project.id);
442442
await downloadAnnotation(project.id, "CompoundProject");
443443
}}
444-
title="Download all Finished Annotations"
444+
title="Download All Finished Annotations"
445445
icon={<DownloadOutlined key="download-icon" className="icon-margin-right" />}
446446
>
447447
Download

frontend/javascripts/admin/task/task_list_view.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,10 +360,10 @@ function TaskListView({ initialFieldValues }: Props) {
360360
<div>
361361
<a
362362
href={`/annotations/CompoundTask/${task.id}`}
363-
title="View all Finished Annotations"
363+
title="Show Compound Annotation of All Finished Annotations"
364364
>
365365
<EyeOutlined className="icon-margin-right" />
366-
View
366+
View Merged
367367
</a>
368368
</div>
369369
) : null}
@@ -389,7 +389,7 @@ function TaskListView({ initialFieldValues }: Props) {
389389
const includesVolumeData = task.type.tracingType !== "skeleton";
390390
return downloadAnnotationAPI(task.id, "CompoundTask", includesVolumeData);
391391
}}
392-
title="Download all Finished Annotations"
392+
title="Download All Finished Annotations"
393393
icon={<DownloadOutlined className="icon-margin-right" />}
394394
>
395395
Download

frontend/javascripts/admin/tasktype/task_type_list_view.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,13 +240,13 @@ function TaskTypeListView({ initialSearchValue }: Props) {
240240
<span>
241241
<Link
242242
to={`/annotations/CompoundTaskType/${taskType.id}`}
243-
title="Show a compound annotation of all finished tasks for this taskType"
243+
title="Show Compound Annotation of All Finished Annotations"
244244
>
245245
<EyeOutlined className="icon-margin-right" />
246-
View merged
246+
View Merged
247247
</Link>
248248
<br />
249-
<Link to={`/taskTypes/${taskType.id}/edit`} title="Edit taskType">
249+
<Link to={`/taskTypes/${taskType.id}/edit`} title="Edit Task Type">
250250
<EditOutlined className="icon-margin-right" />
251251
Edit
252252
</Link>
@@ -267,7 +267,7 @@ function TaskTypeListView({ initialSearchValue }: Props) {
267267
const includesVolumeData = taskType.tracingType !== "skeleton";
268268
return downloadAnnotation(taskType.id, "CompoundTaskType", includesVolumeData);
269269
}}
270-
title="Download all Finished Annotations"
270+
title="Download All Finished Annotations"
271271
icon={<DownloadOutlined className="icon-margin-right" />}
272272
>
273273
Download

0 commit comments

Comments
 (0)