Commit Graph
2 Commits
Author SHA1 Message Date
google-labs-jules[bot] dbb6c0d2be Fix: Preserve ?v= parameter when auto-redirecting to For You feed
When a user visits a direct video link (e.g. `/?v=...`) while logged in,
the application auto-authenticates and redirects the view to `#view=for-you`.
Previously, `setHashView` unconditionally removed all query parameters, causing
the video modal to fail to open because the `v` parameter was lost before it could be read.

This change:
1.  Updates `setHashView` to accept an options object, allowing specific parameters to be preserved.
2.  Updates `handleAuthLogin` in `app.js` to detect if a `v` parameter is present and request its preservation during the view switch.
2026-01-23 04:19:40 +00:00
thePR0M3TH3AN c9dbe1e3e7 Adjust auth-driven view routing 2026-01-18 20:31:30 -05:00