Skip to content
Snippets Groups Projects
Commit 3dc54be2 authored by esikkala's avatar esikkala
Browse files

Manuscripts: update table columns

parent cf45ed6a
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,7 @@ export const INITIAL_STATE = { ...@@ -43,7 +43,7 @@ export const INITIAL_STATE = {
id: 'prefLabel', id: 'prefLabel',
label: 'Label', label: 'Label',
desc: ` desc: `
A short label describing the manuscript A short label describing the manuscript.
`, `,
valueType: 'object', valueType: 'object',
makeLink: true, makeLink: true,
...@@ -69,7 +69,7 @@ export const INITIAL_STATE = { ...@@ -69,7 +69,7 @@ export const INITIAL_STATE = {
{ {
id: 'work', id: 'work',
label: 'Work', label: 'Work',
desc: 'Work description', desc: 'The intellectual content (works) contained in the manuscript.',
valueType: 'object', valueType: 'object',
makeLink: true, makeLink: true,
externalLink: false, externalLink: false,
...@@ -81,7 +81,7 @@ export const INITIAL_STATE = { ...@@ -81,7 +81,7 @@ export const INITIAL_STATE = {
{ {
id: 'expression', id: 'expression',
label: 'Expression', label: 'Expression',
desc: 'Expression description', desc: 'The linguistic versions of the works contained in the manuscript.',
valueType: 'object', valueType: 'object',
makeLink: true, makeLink: true,
externalLink: false, externalLink: false,
...@@ -94,11 +94,12 @@ export const INITIAL_STATE = { ...@@ -94,11 +94,12 @@ export const INITIAL_STATE = {
id: 'productionPlace', id: 'productionPlace',
label: 'Production place', label: 'Production place',
desc: ` desc: `
The location where the manuscript was written. Multiple places of The location where the manuscript was written. Multiple production places
production may appear for a single manuscript, when there are may appear for a single manuscript due to the following reasons: 1) there
discrepancies between the contributing data sources or when the are discrepancies in the contributing data source, 2) there are discrepancies
precise location is uncertain, or when the production indeed took between several contributing data sources, 3) the precise date is uncertain,
place in several places (e.g. for composite manuscripts). 4) the production indeed took place on several occasions (e.g. for composite
manuscripts).
`, `,
valueType: 'object', valueType: 'object',
makeLink: true, makeLink: true,
...@@ -111,10 +112,11 @@ export const INITIAL_STATE = { ...@@ -111,10 +112,11 @@ export const INITIAL_STATE = {
id: 'productionTimespan', id: 'productionTimespan',
label: 'Production date', label: 'Production date',
desc: ` desc: `
The date when the manuscript was written. Multiple production dates The date when the manuscript was written. Multiple production dates may appear
may appear for a single manuscript, when there are discrepancies for a single manuscript due to the following reasons: 1) there are discrepancies
between the contributing data sources or when the precise date is in the contributing data source, 2) there are discrepancies between several
uncertain. contributing data sources, 3) the precise date is uncertain, 4) the production
indeed took place on several occasions (e.g. for composite manuscripts).
`, `,
valueType: 'object', valueType: 'object',
makeLink: false, makeLink: false,
...@@ -136,6 +138,19 @@ export const INITIAL_STATE = { ...@@ -136,6 +138,19 @@ export const INITIAL_STATE = {
numberedList: false, numberedList: false,
minWidth: 250, minWidth: 250,
}, },
{
id: 'language',
label: 'Language',
desc: `
The language(s) in which the manuscript was written.
`,
valueType: 'object',
makeLink: true,
externalLink: true,
sortValues: true,
numberedList: false,
minWidth: 150,
},
{ {
id: 'event', id: 'event',
label: 'Event', label: 'Event',
...@@ -150,57 +165,172 @@ export const INITIAL_STATE = { ...@@ -150,57 +165,172 @@ export const INITIAL_STATE = {
minWidth: 280, minWidth: 280,
}, },
{ {
id: 'language', id: 'owner',
label: 'Language', label: 'Owner',
desc: ` desc: `
The language(s) in which the manuscript was written. Former or current owners (individual or institutional).
`, `,
valueType: 'object', valueType: 'object',
makeLink: true, makeLink: true,
externalLink: true, externalLink: false,
sortValues: true, sortValues: true,
numberedList: false, numberedList: false,
minWidth: 150, minWidth: 250
}, },
{ {
id: 'material', id: 'collection',
label: 'Material', label: 'Collection',
desc: ` desc: `
Material info. The collection(s) that the manuscript has been part of at some point in time.
`, `,
valueType: 'object', valueType: 'object',
makeLink: true, makeLink: true,
externalLink: true, externalLink: false,
sortValues: true, sortValues: true,
numberedList: false, numberedList: false,
minWidth: 150, minWidth: 200
}, },
{ {
id: 'owner', id: 'transferOfCustodyPlace',
label: 'Owner', label: 'Transfer of Custody Place',
desc: ` desc: `
Former or current owners (individual or institutional). The locations of “Transfer of Custody” events related to the manuscript.
`, `,
valueType: 'object', valueType: 'object',
makeLink: true, makeLink: true,
externalLink: false, externalLink: false,
sortValues: true, sortValues: true,
numberedList: false, numberedList: false,
minWidth: 250 minWidth: 200,
}, },
{ {
id: 'collection', id: 'transferOfCustodyTimespan',
label: 'Collection', label: 'Transfer of Custody Date',
desc: ` desc: `
Collection The dates of “Transfer of Custody” events related to the manuscript.
`, `,
valueType: 'object', valueType: 'object',
makeLink: true, makeLink: true,
externalLink: false, externalLink: false,
sortValues: true, sortValues: true,
numberedList: false, numberedList: false,
minWidth: 200 minWidth: 200,
},
{
id: 'material',
label: 'Material',
desc: `
The physical material on which the text is written.
`,
valueType: 'object',
makeLink: true,
externalLink: true,
sortValues: true,
numberedList: false,
minWidth: 150,
},
{
id: 'height',
label: 'Height',
desc: `
The height of the manuscript in millimeters.
`,
valueType: 'string',
makeLink: false,
externalLink: false,
sortValues: true,
numberedList: false,
minWidth: 150,
}, },
{
id: 'width',
label: 'Width',
desc: `
The width of the manuscript in millimeters.
`,
valueType: 'string',
makeLink: false,
externalLink: false,
sortValues: true,
numberedList: false,
minWidth: 150,
},
{
id: 'folios',
label: 'Folios',
desc: `
The number of folios (leaves).
`,
valueType: 'string',
makeLink: false,
externalLink: false,
sortValues: true,
numberedList: false,
minWidth: 150,
},
{
id: 'lines',
label: 'Lines',
desc: `
The number of lines in a text block. Left blank if the number of lines
occurring throughout the manuscript is too irregular to be a useful
descriptor for searching.
`,
valueType: 'string',
makeLink: false,
externalLink: false,
sortValues: true,
numberedList: false,
minWidth: 150,
},
{
id: 'columns',
label: 'Columns',
desc: `
The number of columns. Left blank if the number of columns
occurring throughout the manuscript is too irregular to be a useful
descriptor for searching.
`,
valueType: 'string',
makeLink: false,
externalLink: false,
sortValues: true,
numberedList: false,
minWidth: 150,
},
{
id: 'miniatures',
label: 'Miniatures',
desc: `
The number of miniatures.
`,
valueType: 'string',
makeLink: false,
externalLink: false,
sortValues: true,
numberedList: false,
minWidth: 150,
},
{
id: 'decoratedInitials',
label: 'Decorated initials',
desc: `
The number of miniatures.
`,
valueType: 'string',
makeLink: false,
externalLink: false,
sortValues: true,
numberedList: false,
minWidth: 150,
},
{ {
id: 'source', id: 'source',
label: 'Source', label: 'Source',
......
...@@ -148,6 +148,7 @@ export const INITIAL_STATE = { ...@@ -148,6 +148,7 @@ export const INITIAL_STATE = {
uriFilter: null, uriFilter: null,
priority: 5 priority: 5
}, },
// event only as a result table column
owner: { owner: {
id: 'owner', id: 'owner',
label: 'Owner', label: 'Owner',
...@@ -186,7 +187,7 @@ export const INITIAL_STATE = { ...@@ -186,7 +187,7 @@ export const INITIAL_STATE = {
}, },
transferOfCustodyPlace: { transferOfCustodyPlace: {
id: 'transferOfCustodyPlace', id: 'transferOfCustodyPlace',
label: 'Transfer of custody place', label: 'Transfer of Custody Place',
//predicate: defined in backend //predicate: defined in backend
distinctValueCount: 0, distinctValueCount: 0,
values: [], values: [],
...@@ -206,7 +207,7 @@ export const INITIAL_STATE = { ...@@ -206,7 +207,7 @@ export const INITIAL_STATE = {
}, },
transferOfCustodyTimespan: { transferOfCustodyTimespan: {
id: 'transferOfCustodyTimespan', id: 'transferOfCustodyTimespan',
label: 'Transfer of custody date', label: 'Transfer of Custody Date',
//predicate: defined in backend //predicate: defined in backend
distinctValueCount: 0, distinctValueCount: 0,
values: [], values: [],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment