Skip to content

docs(currency): document field→tenant resolution chain; fix currencyMode; showcase demo - #2123

Merged
xuyushun441-sys merged 2 commits into
mainfrom
docs-showcase-currency
Jun 21, 2026
Merged

xuyushun441-sys merged 2 commits into
mainfrom
docs-showcase-currency

Conversation

@xuyushun441-sys

Copy link
Copy Markdown
Collaborator

Docs / skills / showcase for the currency-resolution work

Brings the skills + showcase in line with the now-implemented chain (#2102 / #2119 / #2121 / #2122).

  • objectstack-ui SKILL: document DatasetMeasure.currency (ISO 4217) + its resolution order (measure → field currencyConfig → tenant default).
  • objectstack-data field-types: fixes a real doc bug — currencyMode was documented as 'multi'/'single', but the schema is 'fixed'/'dynamic'; adds a "Currency resolution (ADR-0053)" note (field default → tenant default → plain number, never a hardcoded $).
  • objectstack-i18n SKILL: note the workspace regional defaults (timezone / locale / currency) — the localization settings, resolved onto ExecutionContext and exposed at /auth/me/localization.
  • showcase: declare a fixed currencyConfig.defaultCurrency on field-zoo's currency field (demonstrates + smoke-covers the symbol path); refresh the chart-gallery budget/spent comment that claimed an unspecified-currency amount "must not show a $" — it now falls back to the tenant default.

Verified

  • app-showcase builds (the new field config + dataset parse through spec).
  • check:skill-docs in sync (body edits only; frontmatter unchanged).

🤖 Generated with Claude Code

…ncyMode; showcase demo

Follows the currency-resolution work (#2102/#2119/#2121/#2122). Brings the
skills + showcase in line with the now-implemented chain.

- objectstack-ui SKILL: document `DatasetMeasure.currency` (ISO 4217) and its
  resolution order (measure → field `currencyConfig` → tenant default).
- objectstack-data field-types: FIX a real doc bug — `currencyMode` was
  documented as `'multi'/'single'`, the schema is `'fixed'/'dynamic'`; add a
  "Currency resolution (ADR-0053)" note (field default → tenant default → plain
  number, never a hardcoded `$`).
- objectstack-i18n SKILL: note the workspace regional defaults (timezone /
  locale / currency) — the `localization` settings, resolved onto ExecutionContext
  and exposed at `/auth/me/localization`.
- showcase: declare a fixed `currencyConfig.defaultCurrency` on field-zoo's
  currency field (demonstrates + smoke-covers the symbol path); refresh the
  chart-gallery `budget`/`spent` comment, which claimed an unspecified-currency
  amount "must not show a $" — now it falls back to the tenant default.

Verified: app-showcase builds (field + dataset parse); check:skill-docs in sync.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 21, 2026 11:00am

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation size/s labels Jun 21, 2026
@xuyushun441-sys
xuyushun441-sys merged commit 173f420 into main Jun 21, 2026
15 checks passed
@xuyushun441-sys
xuyushun441-sys deleted the docs-showcase-currency branch June 21, 2026 11:43

This branch was successfully deployed

1 active deployment
Preview — e74da4e6 Deployed Jun 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants