Skip to content

(CODUX-226) Translate the File Browser - #3083

Merged
numnx merged 4 commits into
feature/CODUX-226-dashboard-internationalization-foundationfrom
task/feature-codux-22-t22-codex-5db6a62d-mrjwi2kt
Jul 14, 2026
Merged

(CODUX-226) Translate the File Browser#3083
numnx merged 4 commits into
feature/CODUX-226-dashboard-internationalization-foundationfrom
task/feature-codux-22-t22-codex-5db6a62d-mrjwi2kt

Conversation

@numnx

@numnx numnx commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

🧩 Task: Translate the File Browser

Automated task PR opened by Code UX for T22.

📋 Summary

Sprint: Sprint 226 · Dashboard internationalization foundation · Task: T22

Establish a dashboard-only English/German internationalization system with persisted locale selection, complete German coverage across every dashboard route and overlay except English documentation bodies, locale-aware formatting, and automated coverage checks while preserving backend contracts and runtime/API-authored messages verbatim.

🤖 Model & Provider

Provider Codex CLI
Model gpt-5.6-sol

⏱️ Timing

Started 2026-07-14 00:52:18 UTC
Finished 2026-07-14 00:58:28 UTC
Duration 6m 11s

📊 Token Usage

Metric Value
Input tokens 340,617
Cached input tokens 9,546,496
Output tokens 35,214
Total tokens 9,922,327
Invocations 2
Tool calls 84
Active time 27m 15s

Included usage estimate (subscription/local login): $7.53

✅ QA Review

⏳ QA review runs after this PR is opened. Check the task card in the dashboard for the outcome once it lands.

📝 Full Task Prompt
## Objective
Translate all File Browser controls while preserving repository files, diffs, paths, syntax metadata, and backend errors verbatim.

## Scope
- Create `dashboard/src/v2/i18n/messages/file-browser.ts`
- Edit `dashboard/src/v2/FileBrowserPage.tsx`
- Edit all files under `dashboard/src/v2/components/file-browser/`
- Edit `dashboard/src/v2/hooks/use-file-browser-sessions.ts`
- Edit `dashboard/src/v2/lib/monaco-setup.ts` only for dashboard loading/accessibility copy
- Verify `dashboard/src/v2/lib/file-browser-api.ts` without translating response/error payloads
- Update File Browser page, tree, viewer, diff, changes, Monaco, accessibility, and E2E tests

## Implementation Requirements
1. Translate page headers, session selection/start controls, tree and changes labels, viewer/diff chrome, status badges, loading/empty/error states, retry actions, and accessible names.
2. Use locale-aware counts, dates, and change summaries while preserving Git status ordering and diff line calculations.
3. Keep paths, filenames, file contents, diff hunks, source language IDs, Git refs, sprint/project names, binary metadata, and server/API errors verbatim.
4. Test German session start/reuse, tree navigation, file and binary viewing, added/modified/deleted changes, diff loading, stale sessions, failures/retries, keyboard navigation, long paths, and mobile overflow containment.

## Constraints
- Do not translate repository content, generated diff text, code, path segments, or syntax identifiers.
- Do not change file-browser APIs, Monaco configuration, Git behavior, session lifecycle, or path-safety rules.
- Preserve selected file/change state across refreshes.

## Verification
- Run focused FileBrowserPage, file-browser component, and Monaco-related tests.
- Run `pnpm run lint`.
- Run `pnpm run test:dashboard`.
- Run `pnpm run build`.
- Success means File Browser chrome is German and repository/runtime data remains unchanged.
🌿 Branch Info

Base: feature/CODUX-226-dashboard-internationalization-foundation
Head: task/feature-codux-22-t22-codex-5db6a62d-mrjwi2kt


🤖 Generated by Code UX

Code UX added 4 commits July 14, 2026 00:58
@numnx
numnx merged commit 07c59b4 into feature/CODUX-226-dashboard-internationalization-foundation Jul 14, 2026
20 checks passed
@numnx
numnx deleted the task/feature-codux-22-t22-codex-5db6a62d-mrjwi2kt branch July 14, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant