picoclaw/web/frontend/src
Junghwan 293477b02a
Keep launcher locale changes from mutating shared web-search routing (#2573)
The launcher wired UI language changes into a process-global backend
switch that changed auto web-search provider selection and the
reported current service for every handler in the same process.

This narrows the fix to the validated leak: remove backend sync from
frontend locale changes, drop the now-unused UI endpoint, and make
auto selection fall back to a stable default when the query itself
does not contain a script hint.

Constraint: Keep the patch small and mergeable without redesigning per-user preference storage
Rejected: Add per-user backend language state | larger scope than the validated bug and unclear maintainer preference
Rejected: Persist preferred language in config | still shares mutable state across clients of the same instance
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: If locale-aware provider routing is reintroduced later, scope it to explicit config or request context instead of package-global state
Tested: go test ./web/backend/api ./pkg/tools -count=1; pnpm lint; pnpm build
Not-tested: Full make check; live multi-browser manual launcher run after the backend endpoint removal
2026-04-24 13:45:25 +08:00
..
api refactor: support explicit provider field in model list entries (#2609) 2026-04-22 11:28:47 +08:00
components feat(tool-feedback): add separate message mode for chat feedback (#2644) 2026-04-24 11:49:41 +08:00
features/chat Feat(channels): unify animated tool feedback across chat channels and Pico (#2622) 2026-04-23 10:35:50 +08:00
hooks feat(agent): add context usage ring indicator and /context command (#2537) 2026-04-21 16:30:02 +08:00
i18n Keep launcher locale changes from mutating shared web-search routing (#2573) 2026-04-24 13:45:25 +08:00
lib feat(launcher): standard HTTP login/setup/logout flow for dashboard, frontend and backend impl. and fix windows pid lock for ws (#2339) 2026-04-08 21:43:51 +08:00
routes refactor(web): switch dashboard auth from tokens to passwords (#2608) 2026-04-21 18:04:15 +08:00
store feat(web): download files on frontend (#2563) 2026-04-22 11:28:04 +08:00
app-providers.tsx chore(web): move app providers out of main entry 2026-04-15 17:36:22 +08:00
index.css refactor(web): use official highlight themes for markdown 2026-04-15 17:19:48 +08:00
main.tsx chore(web): move app providers out of main entry 2026-04-15 17:36:22 +08:00
routeTree.gen.ts feat(launcher): standard HTTP login/setup/logout flow for dashboard, frontend and backend impl. and fix windows pid lock for ws (#2339) 2026-04-08 21:43:51 +08:00