Add react-scan provider dialog recordings

Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
Cursor AgentandJulius Marminge committed 2026-05-13 16:16:49 +00:00
1 parent be215fb3ea
commit 95a569af55
3 files changed
+17

No files matched your search

@@ -0,0 +1,17 @@
# React component health recording: provider instance dialog
This directory contains the react-scan comparison for the provider instance dialog rerender fix.
- `before-provider-dialog.webm`: recorded from commit `556c42452c5ac94ae8d8698d64fcd372c1680955`.
- `after-provider-dialog.webm`: recorded from commit `be215fb3ea877f46cf7491148b6fdcfa54ab5eae`.
Capture setup:
- Vite served the app in hosted-static mode (`VITE_HOSTED_APP_CHANNEL=latest`) so the settings route could load without a backend.
- The page HTML was intercepted by Playwright and injected with `[email protected]` before the React bundle.
- The scripted interaction opened Settings > Providers, opened "Add provider instance", advanced to the identity step, typed "Performance Workspace" into the label field, then edited the instance ID.
Measured during label typing with the React DevTools hook:
- Before: 34 `AddProviderInstanceDialog` render commits.
- After: 23 `AddProviderInstanceDialog` render commits.