Added description field
This commit is contained in:
@@ -42,6 +42,17 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="metadata-field">
|
||||||
|
<label for="description">Description:</label>
|
||||||
|
<textarea
|
||||||
|
id="description"
|
||||||
|
placeholder="[Description]"
|
||||||
|
value={metadata.description || ''}
|
||||||
|
on:input={(e) => handleInput('description', e.currentTarget.value)}
|
||||||
|
rows="3"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="metadata-field">
|
<div class="metadata-field">
|
||||||
<label for="analyst">Analyst:</label>
|
<label for="analyst">Analyst:</label>
|
||||||
<input
|
<input
|
||||||
@@ -114,6 +125,15 @@
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
width: 100%;
|
||||||
|
padding: 0.5rem;
|
||||||
|
font-family: inherit;
|
||||||
|
font-size: inherit;
|
||||||
|
resize: vertical;
|
||||||
|
min-height: 4rem;
|
||||||
|
}
|
||||||
|
|
||||||
.timestamp-display {
|
.timestamp-display {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 0.5rem;
|
gap: 0.5rem;
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ export interface AnalysisGradient {
|
|||||||
|
|
||||||
export interface Metadata {
|
export interface Metadata {
|
||||||
protocol: string | null
|
protocol: string | null
|
||||||
|
description: string | null
|
||||||
analyst: string | null
|
analyst: string | null
|
||||||
standpoint: string | null
|
standpoint: string | null
|
||||||
timestamp: string | null
|
timestamp: string | null
|
||||||
|
|||||||
@@ -1,13 +1,14 @@
|
|||||||
{
|
{
|
||||||
"name": "Protocol Bicorder",
|
"name": "Protocol Bicorder",
|
||||||
"schema": "bicorder.schema.json",
|
"schema": "bicorder.schema.json",
|
||||||
"version": "1.2.1",
|
"version": "1.2.2",
|
||||||
"description": "A diagnostic tool for the study of protocols",
|
"description": "A diagnostic tool for the study of protocols",
|
||||||
"author": "Nathan Schneider",
|
"author": "Nathan Schneider",
|
||||||
"date_modified": "2025-12-02",
|
"date_modified": "2025-12-02",
|
||||||
|
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"protocol": null,
|
"protocol": null,
|
||||||
|
"description": null,
|
||||||
"analyst": null,
|
"analyst": null,
|
||||||
"standpoint": null,
|
"standpoint": null,
|
||||||
"timestamp": null,
|
"timestamp": null,
|
||||||
|
|||||||
Reference in New Issue
Block a user