GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(web): localize community theme download counts by StiensWout · Pull Request #44999 · pingdotgg/t3code

Conversation

@StiensWout

@StiensWout StiensWout commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Community theme search could show download counts in the browser’s number format even when the app used a different language. Results now use the app’s formatting locale and update when the language changes. Regression tests cover switching from English to Russian with in-memory settings and switching from English to German in the full app.

Related: #38135

Reproduction on main

Commit 2bebf9ebe9 (main), in the running web app:

  1. Open the web app in a browser set to English (United States).
  2. Open Settings.
  3. On General, set Language to Deutsch.
  4. Open Darstellung.
  5. Click Design hinzufügen.
  6. Search for a popular community theme, such as Dracula, whose download count is large enough to be shortened.

The download count stays in US English shortening, for example “1.2M Downloads”, while the rest of that settings screen is in German. Expected: The download count on the result is written in German, for example “1,2 Mio. Downloads” for about 1.2 million downloads.

The cause is at apps/web/src/components/settings/ThemeSearchSection.tsx:36. Ran pnpm scenarios:prove scripts/scenarios/theme-download-count-follows-app-language.e2e.ts --target web with the repro scenario added: it failed in 2 of 2 runs on a clean checkout, with expected "demo · 1.2M Downloads" to match /1,2\s+Mio\./ in the output.

Evidence

Environment: The web app in Chromium on Linux x64, a fresh checkout.

Proven: the repro fails at the test commit c7a6a5a538 and passes on the head baa2855f7d, both on main a212307c92.

Before After
Commit c7a6a5a538 baa2855f7d
Result ASSERTION_FAILED: expected "demo · 1.2M Downloads" to match /1,2\s+Mio./ passed
german theme download count Before: german theme download count After: german theme download count
failure Before: failure

Before the fix, recorded:

https://pub-b182a4071edc4521829926b34990540b.r2.dev/files/951058e1-b275-49da-b4d3-bb106d163514/before-recording.webm

After the fix, recorded:

https://pub-b182a4071edc4521829926b34990540b.r2.dev/files/c8e4f841-38d4-41a0-acd3-36ef76e00aa0/after-recording.webm

Outside view: a person sees it in the running web app by following the steps under Reproduction on main.

Tests

  • c7a6a5a538 adds the failing test, alone, before the fix.
  • pnpm exec vp run check:changed a212307c92a03d0ea60b3434bba3d37a0bc0b401 passed on head.

Not in this change

  • The System language setting continues to use browser number formatting.
  • Desktop shares the web theme dialog. Native mobile has no community theme search.

Who did the work

  • Repro written by GPT 6.2 Sol, in Codex
  • Outside view by Grok 4.7, in Grok
  • Written by GPT 6.2 Sol, in Codex
  • Trimmed by Claude Opus 5.5, in Claude Code
  • Reviewed by Claude Opus 5.5, in Claude Code, and by GPT 6.2 Sol, in Codex, and by Grok 4.7, in Grok
  • Reproduction, checks and proof run by a program on base and head, not by an agent

Made in T3 Code by GPT 6.2 Sol, Grok 4.7 and Claude Opus 5.5

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
StiensWout and others added 6 commits November 28, 2026 15:10
@StiensWout @codex
test(web): reproduce community theme download locale mismatch
c7a6a5a
Co-authored-by: GPT 6.2 Sol <[email protected]>
@StiensWout @codex
fix(web): localize community theme download counts
8fc0b14
Co-authored-by: GPT 6.2 Sol <[email protected]>
@StiensWout @codex
test(web): check theme download counts across a language switch
73bb733
Co-authored-by: GPT 6.2 Sol <[email protected]>
@StiensWout @codex
test(web): cover localized theme counts in CI
b388111
Co-authored-by: GPT 6.2 Sol <[email protected]>
@StiensWout @codex
test(web): isolate theme language test settings
9382e0f
Co-authored-by: GPT 6.2 Sol <[email protected]>
@StiensWout @claude
test(web): return saved settings from the read spy directly
baa2855
Co-authored-by: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Nov 28, 2026
@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Explain Change →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration

  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: main
  • File: .coderabbit.config.ts
  • Commit: b651c65
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b7cc8fca-ae0e-48fb-943b-8e168376c092
Commits

Reviewing files that changed from the base of the PR and between baa2855 and 9d9269c.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

Theme download counts now use the active application formatting locale. Browser tests cover the singular “1 download” label and verify count formatting after changing the application language.

Changes: Theme download localization

Layer / File(s) Summary
Locale-aware download counts
apps/web/src/components/settings/ThemeSearchSection.tsx, apps/web/src/components/settings/ThemeImportDialog.browser.test.tsx, scripts/scenarios/theme-download-count-follows-app-language.e2e.ts
ThemeSearchSection formats download counts with the active formatting locale. Browser tests check the singular label and formatting after changing the language from English to Russian and German.

Estimated code review effort: 2 (Simple) | ~12 minutes

Change: Bug fix

Suggested reviewers: only21mil

Merge Risk: Minimal · previous review baa28

Theme download counts now follow the app's formatting locale and update when the language changes. This is a small, localized, easily reversible UI change with test coverage, and no merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "fix(web): localize community theme download counts" matches the main change. The PR makes community theme search download counts use the app's formatting locale and update when the language…
Description check Passed The description covers the problem (download counts ignore the app language), the change (use the app formatting locale and update on language change), verification (failing-then-passing regression te…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "fix(web): localize community theme download counts" matches the main change. The PR makes community theme search download counts use the app's formatting locale and update when the language changes. It follows the conventional commit style and is specific enough for a reviewer scanning history.

Full details: Description check

Explanation

The description covers the problem (download counts ignore the app language), the change (use the app formatting locale and update on language change), verification (failing-then-passing regression test, before/after evidence, check run, screenshots and recordings), and scope (links related issue #38135 and explains the System language and desktop/mobile exclusions). It omits an explicit statement that the fix is a bug fix linked to a maintainer request or an explicit issue link; the 'Related: #38135' line is a reference rather than a clear scope justification. Overall the description is mostly complete.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: main
  • File: .coderabbit.config.ts
  • Commit: a212307
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d393a2f6-5fa7-41b6-96f6-d3acae0ef1f8
Commits

Reviewing files that changed from the base of the PR and between a212307 and baa2855.

Files selected for processing: 3

  • apps/web/src/components/settings/ThemeImportDialog.browser.test.tsx
  • apps/web/src/components/settings/ThemeSearchSection.tsx
  • scripts/scenarios/theme-download-count-follows-app-language.e2e.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge added the takeover:in-progress A takeover lead is working on this PR label Nov 28, 2026
juliusmarminge and others added 2 commits November 28, 2026 14:26
@juliusmarminge
Merge remote-tracking branch 'origin/main' into wf/find-61bfa8d0eb9ce…
c022e20
…1c8d6e300f8
@juliusmarminge @claude
test(web): keep the download count regression at one layer
9d9269c
The browser test already switches the app language through settings and
fails on main; the full-app scenario repeated it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added size:S 10-29 changed lines (additions + deletions). and removed size:M 30-99 changed lines (additions + deletions). labels Nov 28, 2026
@juliusmarminge

juliusmarminge commented Nov 28, 2026

Copy link
Copy Markdown
Member

Evidence

Real web app, Chromium, English browser locale, 1280×800, light theme, fresh isolated state and live Open VSX results on both commits. Open Appearance → Add theme → Dracula; switch General → Language to Deutsch; reopen Appearance → Design hinzufügen → Dracula.

Before After
b651c65ab4 9d9269cba8
German UI incorrectly shows 475.7K Downloads German UI correctly shows 475.713 Downloads after changing language
Before: German UI with English compact counts After: German UI with German number formatting
Before recording After recording

Scenario driver. scenarios:prove exited 0: failed on base and passed on head.

Not shown:

  • Million-scale compact units and decimal separators were not separately exercised; the live Dracula results used in this reproduction were below one million.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge added takeover:ready Takeover done; auto-lands when gates pass and removed takeover:in-progress A takeover lead is working on this PR labels Nov 28, 2026
@juliusmarminge
juliusmarminge merged commit 5df0356 into pingdotgg:main Nov 28, 2026
60 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge removed the takeover:ready Takeover done; auto-lands when gates pass label Nov 28, 2026
@iamshadmantaqi iamshadmantaqi mentioned this pull request Nov 28, 2026
fix(web): image preview size follows the app language #45067
Merged
github-actions Bot added a commit to omarcresp/t3code-flake that referenced this pull request Nov 28, 2026
@github-actions
nightly: 0.1.14-nightly.20261128.5399
76d91d6
**v0.1.14-nightly.20261128.5399** · 88 changes from 19 contributors

- **NetBird pairing.** Desktop now offers NetBird addresses for pairing over your VPN.
- **Desktop spellcheck languages.** Spellcheck on Windows and Linux now follows your system languages.
- **Copy chat tables.** Copy a selection across chat table cells without losing the table structure.
- **Plain-text composer.** Use the plain-text composer without automatic list formatting or formatting delimiters wrapping selected text.
- **Queued message edits.** Stashing an edited queued message no longer leaves the original message queued to send.
- **Pull request review.** Expanded files stay open in the Code tab when a pull request diff refreshes.

### Plus 79 more bug fixes.

<details>
<summary>Full changelog</summary>

## What's Changed
* fix(desktop): forward az, gh and glab config dirs from the login shell by @juliusmarminge in pingdotgg/t3code#44448
* fix(shared): do not truncate dotted thread IDs when pasting hosted links by @saphid in pingdotgg/t3code#44858
* fix(server): clean up deleted scratch folders and stop leaving a Claude project per title by @juliusmarminge in pingdotgg/t3code#44872
* fix(server): Claude settings and plugins find the main checkout by @iamshadmantaqi in pingdotgg/t3code#44860
* fix(web): notebook preview drops terminal cursor codes by @iamshadmantaqi in pingdotgg/t3code#44866
* fix(server): allow ACP session re-import after thread deletion by @StiensWout in pingdotgg/t3code#44863
* fix(shared): match SCP and SSH checkout repository identities by @StiensWout in pingdotgg/t3code#44871
* fix(server): keep a long command output line when a short footer follows it by @saphid in pingdotgg/t3code#44876
* fix(server): resolve route metadata favicons with quoted property names by @only21mil in pingdotgg/t3code#44874
* fix(server): suggest mcp:launch: for a bare launched-thread hash by @juliusmarminge in pingdotgg/t3code#44890
* fix(web): EPUB previews keep legacy strike and center tags by @only21mil in pingdotgg/t3code#44878
* fix(web): RTF preview keeps footnotes by @iamshadmantaqi in pingdotgg/t3code#44886
* fix(web): indented code no longer adds folders to chat file links by @StiensWout in pingdotgg/t3code#44889
* fix(server): declined Codex file changes show as declined by @iamshadmantaqi in pingdotgg/t3code#44883
* fix(server): omit ODT text hidden by paragraph styles from attachment text by @only21mil in pingdotgg/t3code#44895
* fix(web): copied prose keeps literal Markdown block markers by @only21mil in pingdotgg/t3code#44888
* fix(client-runtime): distinguish POSIX filename characters from repository path separators by @saphid in pingdotgg/t3code#44870
* fix(server): send image attachments with the media type their bytes have by @juliusmarminge in pingdotgg/t3code#44902
* fix(client-runtime): keep fenced examples inside pull request lists out of the media gallery by @saphid in pingdotgg/t3code#44887
* fix(desktop): spellcheck follows your OS languages on Windows and Linux by @ajcurated in pingdotgg/t3code#44857
* fix(web): Shift+Click on a spreadsheet hyperlink extends selection instead of opening the link by @only21mil in pingdotgg/t3code#44897
* fix(client-runtime): stop reporting commands skipped by a colon guard by @iamshadmantaqi in pingdotgg/t3code#44904
* fix(client-runtime): keep combining marks intact in provider instance initials by @iamshadmantaqi in pingdotgg/t3code#44905
* fix(web): selecting inside a rendered Markdown table copies it as a table by @Star-Ring in pingdotgg/t3code#44900
* fix(web): Mod+S on an edited queued message moves it to the stash by @imryanthedev in pingdotgg/t3code#44881
* fix(web): keep repository name edits during lookup by @StiensWout in pingdotgg/t3code#44907
* fix(web): SVG image previews no longer show an inert word-wrap button by @only21mil in pingdotgg/t3code#44909
* fix(server): Settled count no longer includes tasks delegated from a linked environment by @juliusmarminge in pingdotgg/t3code#44913
* fix(server): honor padded PowerPoint table merge flags by @StiensWout in pingdotgg/t3code#44914
* test(web): preload notebook kernel grammars before asserting highlighting by @juliusmarminge in pingdotgg/t3code#44929
* fix(web): keep moved drafts in their selected project after checkout by @StiensWout in pingdotgg/t3code#44916
* fix(web): ODS previews no longer list hidden sheets by @only21mil in pingdotgg/t3code#44921
* test(web): focus the composer before the drag-selection test presses by @juliusmarminge in pingdotgg/t3code#44946
* fix(web): keep nested RTF table rows on separate lines by @StiensWout in pingdotgg/t3code#44910
* fix(server): honor whitespace in Excel date system flags by @StiensWout in pingdotgg/t3code#44927
* fix(web): keep drawing labels out of ODS cell values by @StiensWout in pingdotgg/t3code#44925
* fix(web): Cmd/Ctrl+A in rendered large Markdown previews selects only the file by @only21mil in pingdotgg/t3code#44935
* fix(web): translate the Agent tasks option into German by @StiensWout in pingdotgg/t3code#44918
* fix(forgejo): pull request label filters include organization labels by @only21mil in pingdotgg/t3code#44924
* fix(acp): retry missing session history from another project by @StiensWout in pingdotgg/t3code#44926
* fix(web): picking the machine a draft is already on keeps its model by @juliusmarminge in pingdotgg/t3code#44945
* fix(server): omit SVG metadata from EPUB attachment text by @only21mil in pingdotgg/t3code#44943
* fix(server): EPUB attachment text keeps legacy center blocks on their own lines by @iamshadmantaqi in pingdotgg/t3code#44942
* fix(mobile): image previews opened from a composer chip stay closed by @YOG3SHWAR in pingdotgg/t3code#44937
* fix(web): align copied chat tables with supplementary CJK characters by @StiensWout in pingdotgg/t3code#44952
* fix(web): send button names what Enter does for local commands during a running turn by @juliusmarminge in pingdotgg/t3code#44957
* fix(web): ODT preview hides text hidden by paragraph styles by @iamshadmantaqi in pingdotgg/t3code#44951
* fix(mobile): tapping "Scroll to end" no longer loses the next tap by @viktorce in pingdotgg/t3code#44939
* fix(web): highlight notebooks saved with the Python 3 kernel by @StiensWout in pingdotgg/t3code#44950
* fix(web): reserve Windows WCO controls inset in WorkflowPane header by @rvyyv-n in pingdotgg/t3code#44873
* fix(web): keep the current thread open when a folder add finishes by @StiensWout in pingdotgg/t3code#44930
* fix(server): a hung gh auth token no longer stalls MCP connect by @juliusmarminge in pingdotgg/t3code#44979
* fix(server): hide covered cells in legacy Word tables by @StiensWout in pingdotgg/t3code#44963
* test(shared): cover footnote references at the Markdown render limit by @StiensWout in pingdotgg/t3code#44974
* fix(web): Alt shortcuts recorded on a non-Latin layout keep working on a Latin one by @only21mil in pingdotgg/t3code#44978
* fix(web): refreshing workspace files reloads open HTML previews by @only21mil in pingdotgg/t3code#44975
* fix(server): omit hidden drawings from DOCX attachment text by @only21mil in pingdotgg/t3code#44965
* fix(shared): drop detached skin tones from command tails by @StiensWout in pingdotgg/t3code#44969
* fix(web): Cmd+Backspace on an empty list item removes the line by @rentezzy in pingdotgg/t3code#44948
* fix(web): ODS previews hide rows and columns Calc hides or filters out by @iamshadmantaqi in pingdotgg/t3code#44973
* fix(web): save annotated images with the edited filename by @StiensWout in pingdotgg/t3code#44993
* fix(desktop): a NetBird address is offered for pairing as a VPN endpoint by @shivamhwp in pingdotgg/t3code#41655
* fix(shared): search does not start a word after a combining mark by @iamshadmantaqi in pingdotgg/t3code#44981
* fix(web): Copy for chat apps keeps rows aligned when cells hold text symbols like ™ or ↔ by @iamshadmantaqi in pingdotgg/t3code#44992
* fix(client-runtime): order root index before importers and ignore above-root paths by @only21mil in pingdotgg/t3code#44987
* fix(web): localize community theme download counts by @StiensWout in pingdotgg/t3code#44999
* fix(server): terminal branch switches and soft resets refresh status in reftable repos by @only21mil in pingdotgg/t3code#44994
* fix(web): reset EPUB narration after playback errors by @StiensWout in pingdotgg/t3code#44988
* fix(web): notebook preview counts joined stream output once by @iamshadmantaqi in pingdotgg/t3code#45006
* fix(client-runtime): preview pull request media links with brackets in their label by @iamshadmantaqi in pingdotgg/t3code#45001
* fix(shared): detect semicolon CSV when a column name contains a comma by @suniceman in pingdotgg/t3code#45008
* fix(opencode): cut forks before slash commands by @0xRichardH in pingdotgg/t3code#44982
* fix(shared): avoid SSH clone URLs with literal HTTP fragments or queries by @suniceman in pingdotgg/t3code#45009
* fix(client-runtime): highlight shell scripts with options after -c or -co by @only21mil in pingdotgg/t3code#45011
* fix(cli): t3 service restart no longer calls an installed service not installed by @shivamhwp in pingdotgg/t3code#45014
* fix(web): Ctrl+Delete at the end of a list item joins the next item by @iamshadmantaqi in pingdotgg/t3code#45015
* fix(web): /clear no longer arms a fresh session during a queued-message edit by @juliusmarminge in pingdotgg/t3code#45021
* fix(server): honor padded default flags on Word paragraph styles by @iamshadmantaqi in pingdotgg/t3code#45020
* fix(shared): message search finds Bangla, Hindi and Thai words inside longer words by @iamshadmantaqi in pingdotgg/t3code#45019
* fix(server): classify scripts using the direct shebang interpreter by @Lucenx9 in pingdotgg/t3code#45022
* fix(mobile): keep iOS tab dock hidden over pushed detail screens by @zhang-zedong in pingdotgg/t3code#45003
* fix(server): keep browser automation available without a tab by @voltcrash in pingdotgg/t3code#30062
* fix(web): a backdrop press released inside Settings no longer closes it by @juliusmarminge in pingdotgg/t3code#45032
* fix(web): PR Code tab no longer folds every opened file when the diff refreshes by @jbearak in pingdotgg/t3code#45023
* fix(web): Ctrl+Backspace below a numbered list joins the line like Backspace by @iamshadmantaqi in pingdotgg/t3code#45033
* fix(web): refreshing workspace files reloads images in Markdown previews by @iamshadmantaqi in pingdotgg/t3code#45034
* fix(web): disable automatic formatting in plain-text composer by @voltcrash in pingdotgg/t3code#30170
* fix(server): worktree layout commands are accepted in reftable repositories by @iamshadmantaqi in pingdotgg/t3code#45029

## New Contributors
* @ajcurated made their first contribution in pingdotgg/t3code#44857
* @Star-Ring made their first contribution in pingdotgg/t3code#44900
* @imryanthedev made their first contribution in pingdotgg/t3code#44881
* @YOG3SHWAR made their first contribution in pingdotgg/t3code#44937
* @rvyyv-n made their first contribution in pingdotgg/t3code#44873
* @rentezzy made their first contribution in pingdotgg/t3code#44948
* @suniceman made their first contribution in pingdotgg/t3code#45008
* @0xRichardH made their first contribution in pingdotgg/t3code#44982
* @zhang-zedong made their first contribution in pingdotgg/t3code#45003

**Full Changelog**: pingdotgg/t3code@v0.1.14-nightly.20261128.5385...v0.1.14-nightly.20261128.5399

</details>


Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.1.14-nightly.20261128.5399
@iamshadmantaqi iamshadmantaqi mentioned this pull request Nov 28, 2026
fix(web): large text row, column and line counts follow the app language #45103
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:S 10-29 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@StiensWout @juliusmarminge
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.