mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-21 21:14:20 +00:00
b3848c9d05
Radix tooltips open on hover/focus only and stay closed on touch input, so on mobile every hover tooltip was unreachable. Detect coarse/no-hover pointers via matchMedia and drive the tooltip's open state ourselves so a tap on the trigger toggles it. Desktop hover/focus behaviour is unchanged (we only intercept the tap when the device has no hover capability). Fixes all tooltips app-wide from the shared primitive.
Debug LangBot Frontend
Please refer to the Development Guide for more information.
Tests
Run the frontend smoke tests without a backend process:
pnpm test:e2e
The Playwright suite starts Vite and mocks the LangBot backend and Space APIs.