Repository navigation
fix(web): snooze labels follow the app language - #39494
Conversation
Co-authored-by: GPT-6.2 Sol <noreply@openai.com>
Use explicit app languages for preset weekdays, times, and custom dates. Preserve existing host formatting under System default. Co-authored-by: GPT-6.2 Sol <noreply@openai.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace the mocked runtime test with a table test of resolveWebLocaleSelection, and drop a snooze test that only restated main's default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
EvidenceThe German language defect is proven fixed. The previously rejected padding and menu-width changes remain. Steps on both commits: seed a synthetic project and completed replay thread; set the clock preference and Deutsch in General → Display; add a snooze option and set a duration to 2 Tage; capture settings previews; open the sidebar snooze menu; open Benutzerdefiniert… and capture its date button; cancel, choose Nächste Woche and expand the snoozed shelf. Every capture uses real Chromium, 1280×800, light theme, UTC, and a browser clock fixed at 2026-11-20 03:33 UTC. Each side has fresh isolated server state. Browser locale and clock setting are identified below.
Base shows English weekdays and dates inside German UI. Head shows The explicit 24-hour head also changes Before interaction recording · After interaction recording. Recordings are trimmed after pairing and slowed to one-third speed. Scenario source · Browser locale/UTC configuration patch. Use Full evidence report, including all four recording pairs · Catalog of 36 stills, eight recordings and four paired verdicts. Not shown:
|
Merged upstream/main by intent without reintroducing removed dependencies: - Resolved 11 conflicts (9 content, 2 modify/delete) preserving zero-dep i18n (@t3tools/shared/i18n*), icons (~/ui-core/icons), router (~/ui-core/router), binary wire framing, and Office worker architecture - Ported pingdotgg#40945 fromHistory flag into custom TipTap-free ComposerPromptEditor - Ported pingdotgg#41008 focused-tab sheet navigation and race-safe state into zero-dep Spreadsheet - Composed pingdotgg#40932 withSocketHeartbeat with zero-dep binary wire framing in ws.ts (and guarded CloseEvent in encodeWireChunk) - Integrated pingdotgg#39494 formattingLocale into zero-dep web i18n runtime/provider - Replaced gt-i18n, gt-react, gt-react-native, lucide-react, and jszip imports in newly added upstream files with in-tree zero-dep equivalents Verified full web+server build, knip (files/deps/exports), and 492+ targeted tests.
Port 11 upstream sidebar and shared status parity improvements into apps/native: show environment machine and label on sidebar rows and worktree path in hover card (`pingdotgg#40736`), fold Add project into the project filter popover (`pingdotgg#33057`), start sidebar New threads in the scoped project (`pingdotgg#35185`), include unsent drafts in Cmd+1..9 jumps and Cmd+[/] traversal (`pingdotgg#39968`), prefer repository root checkouts as group defaults (`pingdotgg#37191`), add right-click context menu without rename on sidebar search rows (`pingdotgg#31545`), keep script-only drafts with running terminals listed (`pingdotgg#25272`), aggregate status across multiple linked issues on sidebar badges (`pingdotgg#39351`), filter dismissed providers before update pill grouping (`pingdotgg#39636`), localize snooze preset weekdays and times (`pingdotgg#39494`), and omit departing threads from collapsed shelves during settle/snooze navigation (`pingdotgg#26661`). Executed by Gemini on Antigravity.












Problem
When you explicitly choose German in T3 on an English browser, snooze preset times and weekdays can still use English formatting. The custom snooze date button can also show an English date inside German controls.
vp iandvp run devon Linux. Open the web URL in Chromium with English (United States) preferred.Change
An explicitly selected app language formats snooze preset times, weekdays, and the custom date button.
resolveSnoozePresetreceives the locale for the weekday, and the web time formatter uses it for the time text. The Time format setting still determines the 12- or 24-hour clock.System default and unrecognized saved values use the existing browser date and weekday formats and host time format. Explicit English keeps those formats on English browsers, including their regional conventions.
Scope
This small display bug has direct reproduction steps and needs no issue. This change covers preset previews, menu labels, and the date button in the web custom dialog. The calendar popover, browser-rendered time inputs, and wake times retain their current behavior. The settings weekday selector follows the translation catalog. Mobile preset labels keep their current device-language formatting; this PR does not change mobile.
Verification
TZ=UTCon an en-US host,vp test run packages/client-runtime/src/state/threadSnoozed.test.ts apps/web/src/timestampFormat.test.ts apps/web/src/i18n/runtime.test.tsgives 4 failures and 44 passes on78ef2dd9. The same suites plusSnoozePresetsSettings.logic.test.tsanduseThreadActionMenu.test.tspass 59 tests ond8d8aa88.031dd1a8and passes ond8d8aa88. It checks the settings preview, the sidebar clock menu, and the custom date button.vp run check:changedpassed, including seven package typechecks, 52 unit tests, and one React Compiler test.Configure the web scenario engine with
locale: "en-US"andtimezoneId: "UTC"before running the attached scenario. Scenario sourceNot checked:
Found by Gemini 4 Neon in Antigravity. Implementation and evidence: GPT-6.2 Sol in Codex, directed by @SoroushRF. Independent review: GPT-6.2 Sol in Codex and Claude Opus 5.5 in Claude Code.
🤖 Generated with Claude Code