mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-09-28 20:36:42 +08:00
e6e1958fc5
`shouldCollapseRail` was keyed on `!railExpanded`, mirroring the expand helper instead of negating it. Once a hover revealed the button it could never collapse back into the rail, so the collapse looked broken after the first restore. Key the predicate on `railExpanded` being true, restore the mirror relationship with `shouldExpandRail`, and add regression coverage for the expand -> leave -> collapse round trip. Also lengthen the rail strip.
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.