Commit Graph

6 Commits

Author SHA1 Message Date
Usman Baig
e444985295 refactor: extract frustration tracking into separate add-on script
Move rage click and dead click detection (35% of script.js) into
script.frustration.js as an optional add-on. Core script drops from
8.1KB to 5.7KB gzipped. Add-on auto-discovers core via window.pulse
polling and supports opt-out via data-no-rage/data-no-dead attributes.

- Expose cleanPath on window.pulse for add-on consumption
- Add script.frustration.js to middleware PUBLIC_ROUTES
- Update integration guides, ScriptSetupBlock, and FrustrationTable
  empty state to reference the add-on script
2026-03-16 16:59:37 +01:00
Usman Baig
dc422b5920 fix: exclude sitemap.xml, robots.txt, llms.txt from auth middleware 2026-03-13 14:44:52 +01:00
Usman Baig
b0c15d6464 Fix: allow script.js to load without auth for embedded sites (Shopify)
- Add /script.js to PUBLIC_ROUTES in middleware
- Fixes 307 redirect to /login when tracking script loads from third-party sites

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-25 21:15:09 +01:00
Usman Baig
f62d142adb fix: resolve sign-in issue after inactivity by ensuring only valid access tokens trigger redirects, improving user experience 2026-02-23 18:46:46 +01:00
Usman Baig
19df3c6c75 fix: resolve logout redirect loop by directing users to the Pulse homepage after signing out, improving user experience 2026-02-22 21:48:33 +01:00
Usman Baig
ca805c9790 feat: implement faster login redirects to improve user experience when accessing dashboards and settings 2026-02-22 19:42:29 +01:00