Roo-Code/webview-ui
daniel-lxs 2e793647fe
feat: add clickable settings links to checkpoint timeout warnings
- Use flag-based approach instead of passing i18n keys around
- Backend sends warning type enum (WAIT_TIMEOUT/INIT_TIMEOUT) + timeout value
- Frontend CheckpointWarning maps type to appropriate i18n key
- Add checkpoint error translations to webview-ui locale files only
- Remove duplicate translations from backend locale files
- Trans component handles translation and link interpolation
- Move periods inside settingsLink tags for proper spacing

TEMPORARY: Warning always shows for testing (will be reverted)

This provides a clean architecture where:
- Backend: Sends simple flag + timeout (no i18n dependency)
- Frontend: Handles all i18n logic with Trans component
- No duplication: Translations only in frontend where they're used

Addresses PR #8019 review feedback.
2025-10-22 16:26:30 -05:00
..
audio feat: move play audio to webview to ensure cross-platform (#3659) 2025-05-20 01:15:05 -04:00
public Remove CRA cruft 2025-01-30 14:38:41 -08:00
src feat: add clickable settings links to checkpoint timeout warnings 2025-10-22 16:26:30 -05:00
.gitignore PR cleanup 2025-03-12 11:23:06 -04:00
components.json Remove lucide 2025-01-30 14:47:59 -08:00
eslint.config.mjs Preserve model settings when selecting a specific OpenRouter provider (#3915) 2025-05-23 23:22:41 -07:00
index.html Fix linter warning + run prettier on everything (#3581) 2025-05-13 15:16:24 -07:00
package.json chore(deps): bump axios from 1.9.0 to 1.12.0 (#7963) 2025-09-15 15:48:36 -07:00
tsconfig.json Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
turbo.json Improve turbo task dependency declarations (#4323) 2025-06-04 09:32:27 -07:00
vite.config.ts Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
vitest.config.ts Show console logging in vitests when the --no-silent flag is set (#7467) 2025-08-28 12:51:21 -04:00
vitest.setup.ts Show console logging in vitests when the --no-silent flag is set (#7467) 2025-08-28 12:51:21 -04:00