Remove worker version filtering on TranscriptionEntities
https://redmine.teklia.com/issues/7063
The TranscriptionEntity
TypeScript type should no longer include the worker_version_id
attribute.
When viewing a transcription in the details panel, a <select>
currently allows filtering transcription entities by worker run or worker version. This should now only support filtering by worker runs.
In src/components/Element/Transcription/Transcription.vue
:
-
getWorkerVersion
should no longer be called from theworker_version_id
of transcription entities, since only worker run summaries will be used for display. - The
entityFilterValues
computed property should only return worker runs and amanual
option. - The
filterValue
computed property is no longer needed, as the<select>
can now use av-model
on theworkerRunFilter
directly. - The
workerVersionFilter
data can be removed.
In src/components/Element/Transcription/Box.vue
:
- The
workerVersionFilter
prop should be removed. - The
transcriptionEntities
computed property should no longer filter by worker versions.