Compare commits

...

2 commits

Author SHA1 Message Date
j
86147a6f6a add prompts layer 2026-01-05 11:02:54 +01:00
j
71b026c0b2 hide numberoftags 2026-01-05 10:34:01 +01:00
2 changed files with 18 additions and 2 deletions

View file

@ -106,7 +106,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
text of clips (in grid view, below the icon). Excluding a layer from this
list means it will not be included in find annotations.
*/
"clipLayers": ["publicnotes", "keywords", "subtitles"],
"clipLayers": ["publicnotes", "prompts", "keywords", "subtitles"],
/*
"documentKeys" defines the metadata associated with each document. Required keys
are "*", "id" and "title".
@ -613,6 +613,12 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"type": "layer",
"find": true
},
{
"id": "prompts",
"title": "Prompts",
"type": "layer",
"find": true
},
{
"id": "numberofannotations",
"title": "Annotations",
@ -918,6 +924,14 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"showInfo": true,
"type": "text"
},
{
"id": "prompts",
"title": "Prompts",
"canAddAnnotations": {"staff": true, "admin": true},
"overlap": true,
"item": "Prompt",
"type": "text"
}
{
"id": "subtitles",
"title": "Subtitles",
@ -1216,6 +1230,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"keywords": true,
"privatenotes": true,
"publicnotes": true,
"prompts": true,
"subtitles": true
},
"showMapControls": false,

View file

@ -45,7 +45,8 @@ pandora.ui.infoView = function(data, isMixed) {
'numberoffiles', 'numberofannotations', 'numberofcuts', 'words', 'wordsperminute',
'duration', 'aspectratio', 'pixels', 'size', 'resolution',
'created', 'modified', 'accessed',
'random'
'random',
'numberoftags'
],
statisticsWidth = 128,