Commit Graph
13 Commits
Author SHA1 Message Date
james 9904696e76 feat: wave 2 migration (P3, P5, P7 openspec changes)
Implements, verifies, and archives the three remaining Wave 2 changes from
openspec/MIGRATION-PLAN.md.

- add-wallet-settlement (P3): demo recharge, guarded withdrawal freeze and
  one-time admin review, paginated own fund entries, idempotent per-shop
  weekly/monthly settlement statements with commission rate and one-time
  payout confirmation.
- add-merchant-onboarding (P5): personal/enterprise applications with one live
  application per user, guarded review with mandatory rejection reason, and
  transactional shop + owner provisioning returning one-time credentials;
  mall onboarding/status pages and an admin review console.
- add-membership-messaging (P7): platform member levels, append-only growth
  accrual on order completion with guarded one-way leveling, order/shipment/
  refund system messages with unread/read state and soft deletion, plus the
  mall header unread badge.

Backend: migrations 0019-0023, new wallet, settlement, merchant_onboarding,
membership and messaging modules, event hooks in order/fulfillment/aftersale,
and integration suites for each. Shared contract extended and all three
frontends updated; code indexes, domain docs, backend guidelines and the
migration tracker synced.

Verification: cargo test -p vmall-api green twice consecutively; mall, admin
and shop-admin builds pass; browser smoke on every new surface; openspec
validate --all --strict green (33 passed).

The three changes share the @vmall/shared contract, the mall mock adapter and
per-app locale/nav files, so they are committed together to keep every commit
buildable.
2026-09-25 15:25:29 +00:00
Chengdong Zhang c532f87b03 feat(reviews): order-line reviews with merchant reply and platform moderation (add-product-reviews) 2026-09-24 16:38:05 +08:00
Chengdong Zhang 473d19d089 feat(freight): shop freight templates, server-side checkout fees, company dictionary (add-freight-templates) 2026-09-24 15:03:51 +08:00
Chengdong Zhang 5b426486ac wip(freight): migration 0017 + model/column-list groundwork for add-freight-templates 2026-09-23 17:39:45 +08:00
Chengdong Zhang 2c2b54c21c feat(aftersale): per-line refund/return flow with ledger-backed completion (add-aftersale-refunds) 2026-09-23 16:56:30 +08:00
Chengdong Zhang 93e5a05d48 feat(admin,shop-admin): content/brand management + merchant shop profile (add-content-admin-ui) 2026-09-23 14:27:00 +08:00
Chengdong Zhang 0d0e10b97b feat(ui): adopt Tailwind v4 design system and archive change
- Add tailwindcss v4 + @tailwindcss/vite to mall, shop-admin, admin
- Add @vmall/shared/theme.css tokens with html[data-accent] presets
- Add @vmall/ui kit (VBtn/VBadge/VField/VInput/VCard/VPanel/VTable/VPage,
  VAccentSwatch, useAccent) as a Nuxt module
- Convert all three apps to kit + utilities; delete ui.css/mall.css and
  every <style scoped>; consoles get accent presets, mall locked to red
- Fix VCard boolean prop default (padding) and PDP/store stale
  useAsyncData keys on param navigation
- Archive adopt-tailwind-design-system; new frontend-ui capability spec
2026-09-22 18:22:50 +08:00
Chengdong Zhang 94a64ec712 chore: add missing Nuxt tsconfig.json for editor path resolution 2026-09-21 13:08:20 +08:00
james fe354529d0 feat(shop-admin): manage group-buying activities
Add a group-buying page where a shop user lists, creates, edits, and deletes
its own activities, configuring the SKU, localized name and description, group
price, required paid members, active window, and group lifetime, and seeing each
activity's open groups. Expose it as a group-buying navigation entry.
2026-09-18 13:22:47 +00:00
james 26773f7890 feat(shop-admin): manage flash-sale sessions and activity items
Add a flash-sale page where a shop user lists, creates, edits, and deletes its
own sessions and their SKU activity items, setting the fixed sale price,
currency, reserved stock, and per-customer limit. Expose it as a flash-sale
navigation entry beside the existing shop operations.
2026-09-18 12:53:26 +00:00
james c7fad42105 feat(shop-admin): manage shop coupon templates
Add a coupons page where a shop user lists, creates, edits, enables/disables,
and deletes only its own templates, with localized titles, minor-unit discount
and threshold, currency, claim stock, and an active window. Expose it as a
coupons navigation entry beside the existing shop operations.
2026-09-18 12:13:05 +00:00
Chengdong Zhang 653f13161a feat: three nuxt frontends, demo seed, rounding + money-exponent + rate-cast fixes, archived specs 2026-09-17 13:34:38 +08:00
Chengdong Zhang dc9fd31c5e feat: backend MVP (auth/rbac, catalog, orders, fulfillment, invoices) + specs + scaffolds 2026-09-17 12:43:22 +08:00