## Summary - replace direct `web-haptics/react` imports with a local hook that manages the `WebHaptics` instance safely in-app - keep existing haptic triggers working across the sidebar, mobile back button, connect account flow, and transaction categorizer - add focused Vitest coverage for the wrapper lifecycle and trigger proxying ## Testing - npm run test -- resources/js/hooks/use-web-haptics.test.tsx - npm run lint -- resources/js/hooks/use-web-haptics.ts resources/js/hooks/use-web-haptics.test.tsx resources/js/components/app-sidebar.tsx resources/js/components/nav-main.tsx resources/js/components/mobile-back-button.tsx resources/js/components/open-banking/connect-account-inline.tsx resources/js/pages/transactions/categorize.tsx - npm run build |
||
|---|---|---|
| .. | ||
| connect-account-dialog.tsx | ||
| connect-account-inline.tsx | ||
| connection-status-badge.tsx | ||
| disconnect-dialog.tsx | ||
| update-credentials-dialog.tsx | ||
| upgrade-connection-dialog.tsx | ||