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"
class="fixture-input"
required
aria-describedby="inventory-product-help"
@change="$emit('update:productId', $event.target.value)"
>
<option value="" disabled>Select a product</option>
@@ -30,12 +31,14 @@ defineEmits(['update:productId', 'update:conditionId', 'submit']);
{{ product.name }}
</option>
</select>
<p id="inventory-product-help">Select the product represented by this physical copy.</p>
<label class="fixture-label" for="inventory-condition">Condition</label>
<select
id="inventory-condition"
:value="conditionId"
class="fixture-input"
required
aria-describedby="inventory-condition-help"
@change="$emit('update:conditionId', $event.target.value)"
>
<option value="" disabled>Select a condition</option>
@@ -43,6 +46,7 @@ defineEmits(['update:productId', 'update:conditionId', 'submit']);
{{ condition.name }} ({{ condition.code }})
</option>
</select>
<p id="inventory-condition-help">Choose the condition for this individual copy.</p>
<button class="button button--primary" type="submit" :disabled="isSaving">
Create physical copy
</button>
@@ -22,14 +22,17 @@ defineEmits(['update:productName', 'update:categoryId', 'submit']);
:value="productName"
class="fixture-input"
required
aria-describedby="product-name-help"
@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>
<select
id="product-category"
:value="categoryId"
class="fixture-input"
required
aria-describedby="product-category-help"
@change="$emit('update:categoryId', $event.target.value)"
>
<option value="" disabled>Select a category</option>
@@ -37,6 +40,7 @@ defineEmits(['update:productName', 'update:categoryId', 'submit']);
{{ category.name }}
</option>
</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">
Create product
</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.
- 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.
- Product identity and physical-copy selectors now include associated guidance describing the catalog and copy-level choices.
## Local Commands