forked from Qortal/q-shop
2.4 KiB
2.4 KiB
Q‑Shop v1.1.0 — Release Notes
Release date: 2025‑08‑23
Highlights
- New coin support: BTC, LTC, DOGE, DGB, RVN in addition to QORT (native) and ARRR.
- Improved store editing experience and safety controls.
- Clearer pricing UX with dynamic exchange card and date sorting restored.
What’s New
- Supported coins
- Added BTC, LTC, DOGE, DGB, RVN across the app: store setup, badges, filtering, pricing, and icons.
- Centralized PNG icon mapping for all coins in
src/constants/coin-icons.ts.
- Edit Store modal
- Cancel reliably closes the modal.
- Advanced Settings restored with a “Recreate Shop Data” action:
- Publishes a fresh empty Data Container (DOCUMENT) to QDN for the current shop.
- Resets cached product lists to avoid UI inconsistencies.
- Confirmation modal with warnings to prevent accidental use.
- Supported Coins dropdown now uses PNG icons for all coins.
- Local draft preservation: unsaved edits persist while the modal is open (localStorage) and can be cleared.
- Sidebar filters (Store page)
- Prices In: de‑duplicated header; single clear section.
- Exchange Rate card:
- Hidden when viewing prices in QORT.
- Shows dynamic coin icon for the selected coin.
- Displays both directions:
1 QORT = X COINand1 COIN = Y QORT.
- Date Product Added: restored “Most Recent” and “Oldest” sort options.
Improvements
- Pricing lookup now integrates per‑coin keys via
getPriceHint()with graceful fallback to QORT when rate is unavailable. - Safer store edit flow with explicit error notifications and loading indicators.
Fixes
- TypeScript/JSX issues in
EditStoreModal.tsxcausing build failures. - Inconsistent close behavior for the edit modal.
- Mixed icon sources (SVG vs. PNG) resolved for consistency.
Developer Notes
- Build:
npm ci && npm run build(Node LTS). Output indist/. - Icons: coin assets located under
src/assets/img/and referenced viacoinPng(). - Recreate Shop Data publishes
identifier: <storeId>-datacontainerto QDN with an emptyproductsmap. Use only for recovery.
Upgrade Guide
- No config changes required.
- After updating, shop owners can edit their store to add newly supported coins and addresses. Pricing UX updates apply automatically.
Known Considerations
- Exchange rates rely on recent trade portal data; when unavailable, the app reverts to QORT pricing and notifies the user.