Files
t3code/apps/web/src/components
Josh Gratton 07324844df feat(web): split provider updates per environment when WSL is present
The launch popover now renders one row per local environment (e.g. Windows
and WSL), each with its own "update all" trigger that targets only that
environment's backend, instead of a single button that fanned out to every
environment at once.

- Defer the popover until every local backend leaves "connecting" (30s
  safety cap) so it reflects every environment, rather than appearing from
  the primary alone while WSL is still booting; rows pick up WSL reactively
  if it connects later.
- Label rows by platform ("Windows" / "WSL" / "macOS" / "Linux"), detecting
  WSL by its backend instance id and otherwise the reported OS, falling back
  to the environment's own label.
- Resolve each row's result from both the dispatch payload and live server
  state, so it lands correctly whether a secondary backend's config fails to
  re-sync or the dispatch RPC is lost to a reconnect; a 20s backstop reverts
  the spinner if the request never reaches the backend.
- Gate the entire split behind WSL presence: without a WSL backend the
  popover keeps the original single-prompt flow, so non-WSL users see no
  change.
2026-06-13 18:40:22 -04:00
..
2026-05-29 17:00:54 -07:00
2026-02-28 15:17:03 -08:00