feat: improve public listing detail
Quality / test (push) Canceled after 0s

Expose public condition labels and safe market values on listing details, with Storybook coverage for market value presentation.
This commit is contained in:
2026-09-09 02:11:09 -04:00
parent 6dd138260b
commit ec078423e2
5 changed files with 30 additions and 3 deletions
@@ -8,6 +8,8 @@ defineProps({
title: { type: String, required: true },
status: { type: String, default: '' },
priceMinor: { type: Number, default: null },
marketValueMinor: { type: Number, default: null },
marketValueCurrency: { type: String, default: 'USD' },
condition: { type: String, default: '' },
description: { type: String, default: '' },
facts: { type: Array, default: () => [] },
@@ -27,6 +29,7 @@ defineProps({
<p v-if="description" class="detail-notes">{{ description }}</p>
<div class="collectible-detail__summary">
<PriceDisplay v-if="priceMinor !== null" :amount-minor="priceMinor" />
<PriceDisplay v-if="marketValueMinor !== null" label="Market value" :amount-minor="marketValueMinor" />
<ConditionBadge v-if="condition" :label="condition" />
</div>
<dl v-if="facts.length" class="product-facts">