What's Changed
- fix: fixes-26-04-2026 by @mauriceboe in #892
Full detail:
- Demo banner (mobile): The "Welcome to the TREK demo" modal extended below the mobile bottom tab bar, hiding the dismiss button so visitors couldn't close it. Switched the modal to
dvh(so the mobile URL bar is accounted for correctly), reserved bottom padding for the tab bar, made the footer sticky so the dismiss button stays visible while scrolling, and bumped the overlay's z-index above the tab bar. - Reservations (500 after DB reinit, #883): Editing a reservation returned "Internal server error" after the demo's hourly reset (and on self-hosted instances after any backup restore).
saveEndpointswas bound to the SQLite connection at module load viadb.transaction(...), so oncecloseDb()+reinitialize()swapped the connection, the bound transaction kept pointing at the now-closed instance — every subsequent reservation save with anendpointsfield threw "The database connection is not open". The transaction is now bound lazily on each call so it always runs against the current connection.
Related Issue or Discussion
- Closes #883
Full Changelog: v3.0.8...v3.0.9