open-design/apps/web/tests
Yuhao Chen 25708fbe0f
fix(web): keep connector errors out of cards (#1740)
* fix(web): keep connector errors out of cards

* fix(web): route panel-alert open-details through openConnectorDetails

The new "open details" action on the panel-alert row called
`setDetailConnectorId(alert.connectorId)` directly, bypassing the
`toolPreviewFailedIds` clear that `openConnectorDetails()` does on
every other entry point.

Concrete regression: user opens a connector's drawer from the card,
the tool-preview hydration fetch fails so `toolPreviewFailedIds[id]`
gets stamped with the current `toolPreviewRetryToken`, user closes
the drawer, and later the same connector throws a connect error and
shows up as a panel alert. Clicking the alert's open-details button
re-sets `detailConnectorId` but never clears the failed-fetch token,
so the hydration effect at the previous bail-out check
(`toolPreviewFailedIds[detailConnector.id] === toolPreviewRetryToken`)
returns immediately and the drawer never retries loading tools.

Routing the click through `openConnectorDetails(alert.connectorId)`
restores the same clear-before-set behavior the card and search
entry points already had, so the reopened drawer always gets a fresh
hydration attempt.

* test(web): cover connector panel alert tool retry

* fix(web): clarify connector panel alert status text

* fix(web): clear stale connector cancel alerts

---------

Co-authored-by: lefarcen <935902669@qq.com>
2026-05-18 17:06:46 +08:00
..
artifacts feat(web): render GFM tables in markdown artifact and chat renderers (#1496) 2026-05-13 21:15:23 +08:00
components fix(web): keep connector errors out of cards (#1740) 2026-05-18 17:06:46 +08:00
edit-mode Implement manual edit inspector (#1448) 2026-05-13 13:25:58 +08:00
hooks fix(web): parse Provenance with Markdown-bold labels (#1584) 2026-05-14 11:04:24 +08:00
i18n feat: add Italian (it) locale support (#1323) 2026-05-15 16:38:55 +08:00
lib feat(web): add manual removal for captured Pod components (#1951) 2026-05-17 20:13:56 +08:00
providers fix(web): show unavailable state for missing examples (#1983) 2026-05-18 14:02:22 +08:00
runtime Fix inspect ancestor selection notice (#2039) 2026-05-18 16:33:42 +08:00
state fix: support CODEX_API_KEY for Codex CLI (#1880) 2026-05-18 14:29:23 +08:00
styles fix(web): keep filter pill hover labels readable (#1828) 2026-05-15 23:07:43 +08:00
utils fix(web): unbreak Create button on plain HTTP / LAN-IP deployments (#849) (#900) 2026-05-08 16:50:59 +08:00
analytics-identity.test.ts feat(analytics): PostHog product analytics (P0 events, consent-gated, packaged) (#1428) 2026-05-12 22:32:42 +08:00
analytics-scrub.test.ts feat(analytics): PostHog product analytics (P0 events, consent-gated, packaged) (#1428) 2026-05-12 22:32:42 +08:00
api-attachment-context.test.ts Inline attached file context for BYOK chats (#1730) 2026-05-15 15:52:15 +08:00
App.test.ts fix(web): suppress autosave indicator for draft-only Connector key edits (#1232) 2026-05-11 20:52:45 +08:00
comments.test.ts [codex] Add visual draw annotation context (#1547) 2026-05-13 20:02:19 +08:00
quickSwitcherRecents.test.ts feat(web): add Cmd/Ctrl+P quick file switcher (#556) 2026-05-06 10:31:50 +08:00
router-marketplace.test.ts Garnet hemisphere (#1702) 2026-05-14 21:12:50 +08:00
router.test.ts Garnet hemisphere (#1702) 2026-05-14 21:12:50 +08:00
sidecar-proxy.test.ts Migrate beta release publishing to R2 (#805) 2026-05-07 19:13:52 +08:00