fix: clarify product and copy fields
Quality / test (push) Canceled after 0s

This commit is contained in:
2026-09-11 15:52:30 -04:00
parent cc45a4f119
commit 312b1e5bbc
3 changed files with 9 additions and 0 deletions
@@ -23,6 +23,7 @@ defineEmits(['update:productId', 'update:conditionId', 'submit']);
:value="productId" :value="productId"
class="fixture-input" class="fixture-input"
required required
aria-describedby="inventory-product-help"
@change="$emit('update:productId', $event.target.value)" @change="$emit('update:productId', $event.target.value)"
> >
<option value="" disabled>Select a product</option> <option value="" disabled>Select a product</option>
@@ -30,12 +31,14 @@ defineEmits(['update:productId', 'update:conditionId', 'submit']);
{{ product.name }} {{ product.name }}
</option> </option>
</select> </select>
<p id="inventory-product-help">Select the product represented by this physical copy.</p>
<label class="fixture-label" for="inventory-condition">Condition</label> <label class="fixture-label" for="inventory-condition">Condition</label>
<select <select
id="inventory-condition" id="inventory-condition"
:value="conditionId" :value="conditionId"
class="fixture-input" class="fixture-input"
required required
aria-describedby="inventory-condition-help"
@change="$emit('update:conditionId', $event.target.value)" @change="$emit('update:conditionId', $event.target.value)"
> >
<option value="" disabled>Select a condition</option> <option value="" disabled>Select a condition</option>
@@ -43,6 +46,7 @@ defineEmits(['update:productId', 'update:conditionId', 'submit']);
{{ condition.name }} ({{ condition.code }}) {{ condition.name }} ({{ condition.code }})
</option> </option>
</select> </select>
<p id="inventory-condition-help">Choose the condition for this individual copy.</p>
<button class="button button--primary" type="submit" :disabled="isSaving"> <button class="button button--primary" type="submit" :disabled="isSaving">
Create physical copy Create physical copy
</button> </button>
@@ -22,14 +22,17 @@ defineEmits(['update:productName', 'update:categoryId', 'submit']);
:value="productName" :value="productName"
class="fixture-input" class="fixture-input"
required required
aria-describedby="product-name-help"
@input="$emit('update:productName', $event.target.value)" @input="$emit('update:productName', $event.target.value)"
/> />
<p id="product-name-help">Use the recognizable product name collectors will search for.</p>
<label class="fixture-label" for="product-category">Category</label> <label class="fixture-label" for="product-category">Category</label>
<select <select
id="product-category" id="product-category"
:value="categoryId" :value="categoryId"
class="fixture-input" class="fixture-input"
required required
aria-describedby="product-category-help"
@change="$emit('update:categoryId', $event.target.value)" @change="$emit('update:categoryId', $event.target.value)"
> >
<option value="" disabled>Select a category</option> <option value="" disabled>Select a category</option>
@@ -37,6 +40,7 @@ defineEmits(['update:productName', 'update:categoryId', 'submit']);
{{ category.name }} {{ category.name }}
</option> </option>
</select> </select>
<p id="product-category-help">Choose the catalog category that defines valid conditions for this product.</p>
<button class="button button--primary" type="submit" :disabled="isSaving"> <button class="button button--primary" type="submit" :disabled="isSaving">
Create product Create product
</button> </button>
+1
View File
@@ -281,6 +281,7 @@ Remaining roadmap areas are approved external provider credentials/adapters, bro
- Session-expired login messaging now has Storybook interaction coverage. - Session-expired login messaging now has Storybook interaction coverage.
- Admin sale and acquisition amount fields now expose explicit units and optional-field guidance through associated help text. - Admin sale and acquisition amount fields now expose explicit units and optional-field guidance through associated help text.
- Provider mapping fields now explain Product versus Search identifiers, and pricing values expose their cents unit through associated help text. - Provider mapping fields now explain Product versus Search identifiers, and pricing values expose their cents unit through associated help text.
- Product identity and physical-copy selectors now include associated guidance describing the catalog and copy-level choices.
## Local Commands ## Local Commands