Uh oh!
There was an error while loading. Please reload this page.
chore: release packages - #1319
Merged
Merged
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Uh oh!
There was an error while loading. Please reload this page.
os-zhuang added a commit
that referenced
this pull request
May 30, 2026
…-1319 fix(i18n): relabel metadata UI on language switch without refresh (#1319)
This was referenced Jul 28, 2026
os-zhuang added a commit
that referenced
this pull request
Jul 28, 2026
… (#2912) CloudAiModelStatus rendered `report.summary` verbatim — the most prominent line on the panel, in English for every locale. Reading objectstack-ai/cloud settled how to fix it. The server CANNOT localize that string as currently built: service-ai/src/effective-model.ts:117 assembles it as a hard-coded English template literal with no locale parameter, and routes/ai-routes.ts:395 declares `handler: async () => …` — taking no request argument, so it cannot read Accept-Language even though createAuthenticatedFetch has been sending it since #1319. But no server change is needed: every ingredient of the sentence is already in the structured payload (conversational.model/source, structured.model/pinned, routing.free/paid). The issue proposed "return structured data instead of a sentence" as the better fix — the server was already doing that, the client just wasn't using it. The panel now composes the line itself. sourceLabel() already produced exactly the clauses the server hand-rolls ("pinned by X", "code default (no env override)", "same as build/ask"), so no new source vocabulary was needed. A dropped diagnostic, not just untranslated text: the client's EffectiveModelReport never declared `routing`, which the server has always sent conditionally. Its only appearance anywhere was inside the English summary, so non-English admins could not see the plan→model routing policy at all. Now declared and surfaced. Also fixed: attributeSource emits the bare token 'unknown' when the adapter cannot report a model, and sourceLabel fell through to rendering it raw. Four keys added to all ten packs, so the full-parity guard from #2909 stays green. The panel had no test coverage at all; it now has five, mutation-tested by restoring `<p>{report.summary}</p>` — which fails four of them. Claude-Session: https://claude.ai/code/session_01TubWYdWquVkS9dj733sDmC Co-authored-by: Claude <noreply@anthropic.com>
akarma-synetal pushed a commit
to akarma-synetal/objectui
that referenced
this pull request
Aug 6, 2026
…bjectstack-ai#3376) The console language switch only lived in the i18next instance: any reload or new tab rebuilt the provider and reverted the whole UI to `en`, which made every non-`en` locale demo-only (objectstack#5406). I18nProvider now writes every language change to localStorage and boots the next session in that language. The restore happens at instance creation, not in a post-mount changeLanguage, so `<html lang>` — and therefore the Accept-Language header on the first API calls (objectstack-ai#1319) — is correct on the first render. A stored choice outranks browser detection; a stored value the app no longer offers is ignored and purged. Claude-Session: https://claude.ai/code/session_01GTRjn8xBqp75dk7kFupVRt Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@object-ui/console@4.0.9
Patch Changes
@object-ui/app-shell@4.0.9
Patch Changes
@object-ui/auth@4.0.9
Patch Changes
@object-ui/cli@4.0.9
Patch Changes
@object-ui/collaboration@4.0.9
Patch Changes
@object-ui/components@4.0.9
Patch Changes
@object-ui/core@4.0.9
Patch Changes
@object-ui/data-objectstack@4.0.9
Patch Changes
@object-ui/fields@4.0.9
Patch Changes
@object-ui/layout@4.0.9
Patch Changes
@object-ui/mobile@4.0.9
Patch Changes
@object-ui/permissions@4.0.9
Patch Changes
@object-ui/plugin-aggrid@4.0.9
Patch Changes
@object-ui/plugin-ai@4.0.9
Patch Changes
@object-ui/plugin-calendar@4.0.9
Patch Changes
@object-ui/plugin-charts@4.0.9
Patch Changes
@object-ui/plugin-chatbot@4.0.9
Patch Changes
@object-ui/plugin-dashboard@4.0.9
Patch Changes
@object-ui/plugin-designer@4.0.9
Patch Changes
@object-ui/plugin-editor@4.0.9
Patch Changes
@object-ui/plugin-form@4.0.9
Patch Changes
@object-ui/plugin-gantt@4.0.9
Patch Changes
@object-ui/plugin-grid@4.0.9
Patch Changes
@object-ui/plugin-kanban@4.0.9
Patch Changes
@object-ui/plugin-map@4.0.9
Patch Changes
@object-ui/plugin-markdown@4.0.9
Patch Changes
@object-ui/plugin-report@4.0.9
Patch Changes
@object-ui/plugin-timeline@4.0.9
Patch Changes
@object-ui/plugin-view@4.0.9
Patch Changes
@object-ui/plugin-workflow@4.0.9
Patch Changes
@object-ui/providers@4.0.9
Patch Changes
@object-ui/react@4.0.9
Patch Changes
@object-ui/runner@4.0.9
Patch Changes
@object-ui/tenant@4.0.9
Patch Changes
@object-ui/create-plugin@4.0.9
@object-ui/i18n@4.0.9
@object-ui/plugin-detail@4.0.9
@object-ui/plugin-list@4.0.9
@object-ui/types@4.0.9
object-ui@4.0.9
Patch Changes