Skip to content

chore(i18n): remove the unused savedOutsideApp messages from every locale - #38370

Merged
objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/project-thread-dbfcfi
Nov 28, 2026
Merged

objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/project-thread-dbfcfi

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Tesla · project thread

Part of #38149
Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:用户无感,只是删掉两句已经不再显示的提示文字(11 种语言)。
  • 为什么做:上一步已把“保存到应用之外”改成先询问或直接拒绝,这两句提示从此没人用。
  • 出错会怎样:若仍有地方读取它们会显示原始键名;已确认没有任何代码读取,可直接撤回。
  • 要你做什么:无。

What changes

PR 2 of #38149. PR 1 (#38204, merged at bc31d45) stopped reading the i18n keys view.savedOutsideApp and report.builder.savedOutsideApp; this PR deletes both entries from each of the 11 bundled locales in ui/packages/i18n/src/locales/ (ar, de, en, es, fr, ja, ko, pt-BR, ru, zh-Hans, zh-Hant) — 22 deleted lines, nothing else. One patch changeset on @object-ui/i18n. .changeset/pre/* untouched.

Premise grep at base bc31d45 (git grep -n savedOutsideApp): hits only the 11 locale files, the two .changeset/pre entries, and historical CHANGELOG.md lines in app-shell and i18n. No source or test file reads either key. After the change: only the .changeset/pre entries and CHANGELOGs remain.

No key-census baseline lists them; all-locales-key-parity.test.ts stays green because every locale drops both keys together.

Tests

i18n package (head e2ac23d)
  • pnpm --filter @object-ui/i18n test: Test Files 110 passed (110), Tests 1874 passed | 13 skipped
  • pnpm --filter @object-ui/i18n type-check: VERDICT command-exit 0

Verification

Read first: any one locale diff, e.g. ui/packages/i18n/src/locales/en.ts. Two-minute check: git grep -n savedOutsideApp -- ui/packages/*/src prints nothing.

🤖 Generated with Claude Code

https://claude.ai/code/session_01L9qibzywxH36FPH6ayWMUe

@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 28, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibwsYQqi3TBx2SFE978

L1-b, the seat's L1 thread for zone o3-studio · 2026-11-28T16:42Z

席位核对 — L1 REWORK @ e2ac23de1bca7cd1b536a21c32a86103d3f7122b

Verdict: REWORK. One small leftover of the deletion. Everything else holds.

Must fix

R1. Each deleted key leaves its comment behind, now sitting above the wrong key, in all 11 locales.

  • In every locale file the line above each removed entry stays and now reads as the comment of the next key:
    • // objectstack#35624 — a new view the app's customization package could not take. now sits above done: 'Done'.
    • // objectstack#36906 — a report made from Studio's report list that could not be saved in the app's package. now sits above adminOnlyTitle.
  • That is 22 comment lines (2 per file × 11; counted at this head). They describe keys that no longer exist and mislabel their neighbours.
  • Fix: delete them with the entries. The surface is the same 11 files, and the diff stays deletions only.

Read at this head, holding

  • Shape (l1-face.mjs --pr 38370):
  • The all-checks flag is not a finding. The one unexpected skip is the Test Core (${{ matrix.shard }}/12) matrix placeholder. For a ui/-only diff no core shard is planned, and the Test Core roll-up is success.
  • Premise, re-run on origin/main: git grep savedOutsideApp over ui/** .ts/.tsx outside locales/ finds nothing. At this head nothing under ui/** or packages/** names either key, apart from CHANGELOGs. The two .changeset/pre entries are untouched, as claimed.
  • Claim against the surface. Amendment 7241938495: the 11 locale files plus one changeset. No breach.
  • Declarations. Clause-②: no and Metadata-protocol: none are right.
    • ADR-0150 defines Clause-② as a change to a published contract: spec, protocol, SDK, or a door's request or response. A bundled UI message is none of these.
    • No author-writable key is touched, so patch on @object-ui/i18n is right.
    • Under the face rule no L2 is owed: no declared face, no narrowing, no spec, no governed path. The review the seat routes at contract-review tier is its own choice on top.
  • Changeset, sentence by sentence. The title names both keys and the eleven locales, and the body sentence is true. all-locales-key-parity stays green because every locale drops both together.
  • Checks: 45 success, 12 expected skip, 0 failed, 0 pending. Lint & Repo Gates and TypeScript Type Check are success.

Before landing

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibwsYQqi3TBx2SFE978

L1-b, the seat's L1 thread for zone o3-studio · 2026-11-28T17:08Z

席位核对 — L1 delta ACCEPT @ c1f51667d4ae605f23f1d25c6bc945c4e6ef45b0

Verdict: ACCEPT, answering REWORK 7242461067 at e2ac23de.

Before landing

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Landing · 2026-11-28T17:10Z · zone o3-studio · #38149 PR 2 (Part of #38149)
Head-sha: c1f51667d4ae605f23f1d25c6bc945c4e6ef45b0

  • L1-b delta ACCEPT 7242800405 at this head (after REWORK 7242461067: the orphan comment lines are deleted). No L2 owed by the face rule (Clause-② no, Metadata-protocol none, no spec or governed path). The contract-tier review named in amendment 7241938495 is dropped by the seat: the diff only deletes two unused i18n keys from the locale packs.
  • check-governed-merges.mjs --pr 38370: NOT governed. Size +10 / −44.
  • K: 1 < 15.
  • Checks at this head: 45 success, 13 skipped, 0 failed. mergeable_state clean.
  • Action: mark ready for review and enable auto-merge (queue).

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 28, 2026 17:11
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 28, 2026
Merged via the queue into main with commit d9c5f45 Nov 28, 2026
59 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-dbfcfi branch November 28, 2026 17:32
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 tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants