Files
q-shop/docs/RELEASE_NOTES_v1.1.0.md

2.4 KiB
Raw Permalink Blame History

QShop v1.1.0 — Release Notes

Release date: 20250823

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.

Whats 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: deduplicated 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 COIN and 1 COIN = Y QORT.
    • Date Product Added: restored “Most Recent” and “Oldest” sort options.

Improvements

  • Pricing lookup now integrates percoin 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.tsx causing 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 in dist/.
  • Icons: coin assets located under src/assets/img/ and referenced via coinPng().
  • Recreate Shop Data publishes identifier: <storeId>-datacontainer to QDN with an empty products map. 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.