Enable deep linking for video search and tags#231
Merged
jmasessa merged 1 commit intoJul 16, 2026
mainfinos/zenith:mainfrom
psmulovics/video-deep-linkingfinos/zenith:psmulovics/video-deep-linkingCopy head branch name to clipboard
Merged
Enable deep linking for video search and tags#231jmasessa merged 1 commit intomainfinos/zenith:mainfrom psmulovics/video-deep-linkingfinos/zenith:psmulovics/video-deep-linkingCopy head branch name to clipboard
jmasessa merged 1 commit into
mainfinos/zenith:mainfrom
psmulovics/video-deep-linkingfinos/zenith:psmulovics/video-deep-linkingCopy head branch name to clipboard
Conversation
Sync video search and tag filters with URL query params, and restore state on browser back/forward navigation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
✅ Deploy Preview for exquisite-bubblegum-0fc485 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
This PR adds URL-based deep linking for the Video Library’s filters so that search text and selected tags can be shared via the URL and restored via browser navigation.
Changes:
- Initialize
searchandtagsfilter state from URL query params on page load. - Persist filter changes back to the URL, including sorting tags for stable deep links.
- Add
popstatehandling and simplify “Clear Filters” to clear selected tags in a single state update.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| website/src/components/VideoPlayer/VideoPlayer.jsx | Adds URL parsing/serialization for search and tags, plus popstate restoration and clear-tag handler. |
| website/src/components/VideoPlayer/FilterBar.jsx | Wires the “Clear Filters” button to a dedicated clear handler instead of toggling each tag individually. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jmasessa
approved these changes
Jul 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Video library filters were local-only, so selected tags and search text could not be shared via URL, and browser back/forward did not restore filter state.
What changed
search(text query) andtags(comma-separated categories).popstateso back/forward navigation restores search and tag selections.Notes for reviewers