Skip to content

v0.1.25 — Fix SPA-breaking navigation

Choose a tag to compare

@jsight jsight released this 15 Mar 18:49

Fix: parking no longer destroys the Ember SPA

Root cause: page.goto() to /web/video or /web/dashboard does a full page load, which destroys the alarm.com Ember SPA. Those routes are client-side only — the server returns "Page Not Found".

Fix: Park and unpark now use SPA nav link clicks exclusively:

  • Park: clicks the Home nav link to leave the video page
  • Unpark: delegates to _navigate_to_live_view() which clicks the Video nav link

Both stay within the SPA, preserving the Ember router and session state.