Skip to content

Showcase invoice: the pre-tax roll-up reads "Total" / "合计" beside "Total incl. Tax" because the translation bundle labels the Subtotal field Total #36314

Closed

Description

@objectstack-fleet

repo:objectstack#4 · os-project-manager · session_01FEkQ5okniknzVVR3KTSVr1

Filing gate: ① a user-visible misleading label with a named producer, found by the #36249 developer on PR #36293 (dev report on #36249, comment 7074836167, out_of_scope_findings). ⛔ Not a claim.

维护者速读

  • 问题:showcase 发票的税前合计字段在元数据里叫「Subtotal」(小计),但英文和中文语言包把它译成「Total」/「合计」,于是记录页和编辑表单上「Total €230.00」紧挨着「Total incl. Tax €276.00」。
  • 影响:读者分不清哪个是税前、哪个是含税。
  • 这一步做什么:把语言包里的标签改回「小计」的意思。
  • 要你做的:无。

What happens

On a booted showcase, invoice INV-1010 (EUR) shows Total €230.00 right beside Total incl. Tax €276.00, on both the record page and the edit form. The line-grid summary stack labels the same figure Subtotal, and the object metadata labels showcase_invoice.total Subtotal. The translation bundle in examples/app-showcase/src/system/translations/index.ts sets showcase_invoice.fields.total.label to Total (en) and 合计 (zh-CN).

Asked

The showcase bundle labels showcase_invoice.total as a subtotal in every language it ships (en Subtotal, zh-CN 小计, and the rest to match), so the pre-tax and tax-inclusive figures read differently.

Done when

INV-1010's record page and edit form read Subtotal €230.00 beside Total incl. Tax €276.00 (and the zh-CN equivalent).

Reader: domain:ui / showcase fixture, area:ux. Related: #36249 (PR #36293), #36005 (PR #36233).

Dedupe: showcase invoice total label Subtotal translation, invoice subtotal labelled Total, 小计 合计 标签 (objectstack issues, open) → none found at filing.

Activity

  1. added
    bug
    pm:queue
    domain:ui
    on Nov 22, 2026
  2. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:ui (showcase invoice translation bundle) · pm:queue; rationale: area:ux · Bug · the pre-tax roll-up reads 「Total」 / 「合计」 beside 「Total incl. Tax」, so two totals look the same. UX has no p3 → p2 (was p3) · size XS.

  3. added
    priority:p2
    and removed on Nov 22, 2026
  4. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmNmMEXS4EzeVz9RjvD

    Claim: PM loop · 2026-11-22T22:33Z · area s2-A (record page and its fields) of seat repo:objectstack#2; seat order of 2026-11-22T22:29Z after the maintainer's 「派」 for area:ux p2 cards with no topic parent
    Area: s2-A
    Session: session_01ADHkmNmMEXS4EzeVz9RjvD
    Account: os-steve
    Branch: claude/issue-36314-showcase-invoice-subtotal
    Worktree: objectstack-issue-36314
    Domain: domain:ui
    Seat: repo:objectstack#2
    File surface: examples/app-showcase/src/system/translations/index.ts (showcase_invoice.fields.total.label in every shipped locale), any showcase test or fixture that pins the old label, .changeset/ only if a published package's behaviour moves (else skip-changeset). (Stop on breach; explain in the report.)
    Container & model: S (XS, mechanical text), mode:subagent, model: default (dispatch-gates --tier: no path-derived mandate), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the showcase's own translation bundle (objectstack, examples/app-showcase) | none | every reader of a showcase invoice, today
    Thread-read: 7075166839
    Premise: holds — on main 87c7bbaf the bundle sets showcase_invoice total: { label: 'Total' } (examples/app-showcase/src/system/translations/index.ts:234) and '合计' (:763); the dev re-measures the other locales.
    Pre-claim lane: domain:ui per triage — examples/app-showcase/** fixture text.
    Pre-claim deps: no Blocked-by:; no open PR touches the showcase translation bundle (scan of every open PR's files at this claim).
    Prior rulings read: none on the card or its thread; the bundle comment at :794 names 合计 as showcase_invoice's total — that comment moves with the label.
    Serial constraints cleared: none in flight on this file.

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 22, 2026
  6. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmNmMEXS4EzeVz9RjvD
    os-dev-report

    {
      "issue": 36314,
      "status": "done",
      "branch": "claude/issue-36314-showcase-invoice-subtotal",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36563",
      "head": "60d6b511",
      "session": "session_01ADHkmNmMEXS4EzeVz9RjvD",
      "premise_still_valid": true,
      "files_changed": [
        "examples/app-showcase/src/system/translations/index.ts"
      ],
      "locales_changed": {
        "en": "Total -> Subtotal",
        "zh-CN": "合计 -> 小计"
      },
      "tests": "pnpm --filter @objectstack/example-showcase typecheck: exit 0; test: Test Files 49 passed (49), Tests 554 passed (554); lock VERDICT command-exit 0 on 60d6b511",
      "gates": "dispatch-gates --ran on 60d6b511: 37 derived, 37 run, 0 NOT-MEASURED, all exit 0; overlap-check VERDICT clean exit 0; CI in_progress at report time",
      "screenshot": "NOT MEASURED: pnpm dev prerequisite needs a full workspace build (35/108 packages without dist)",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — relay pr_create (#36563, assignees os-steve, labels skip-changeset); this comment",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  7. removed
    pm:dispatched
    on Nov 23, 2026
  8. added a commit that references this issue on Nov 23, 2026
    abe95a9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxbugdomain:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions