Added description field

This commit is contained in:
Nathan Schneider
2025-12-18 10:30:13 -07:00
parent ad4b2a0a7c
commit 72d3c513b1
3 changed files with 23 additions and 1 deletions

View File

@@ -42,6 +42,17 @@
/>
</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">
<label for="analyst">Analyst:</label>
<input
@@ -114,6 +125,15 @@
font-weight: bold;
}
textarea {
width: 100%;
padding: 0.5rem;
font-family: inherit;
font-size: inherit;
resize: vertical;
min-height: 4rem;
}
.timestamp-display {
display: flex;
gap: 0.5rem;

View File

@@ -27,6 +27,7 @@ export interface AnalysisGradient {
export interface Metadata {
protocol: string | null
description: string | null
analyst: string | null
standpoint: string | null
timestamp: string | null

View File

@@ -1,13 +1,14 @@
{
"name": "Protocol Bicorder",
"schema": "bicorder.schema.json",
"version": "1.2.1",
"version": "1.2.2",
"description": "A diagnostic tool for the study of protocols",
"author": "Nathan Schneider",
"date_modified": "2025-12-02",
"metadata": {
"protocol": null,
"description": null,
"analyst": null,
"standpoint": null,
"timestamp": null,