Skip to content

fix(inference): apply quick-filter URL selections after mount#487

Merged
adibarra merged 1 commit into
masterfrom
fix/quick-filter-hydration
Jun 23, 2026
Merged

fix(inference): apply quick-filter URL selections after mount#487
adibarra merged 1 commit into
masterfrom
fix/quick-filter-hydration

Conversation

@adibarra

@adibarra adibarra commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Note

Low Risk
Small client-only state timing change in inference quick filters; no auth or data-path changes.

Overview
Fixes quick-filter pills (vendor, framework, agg/disagg, MTP/STP) staying visually wrong on shared links that include i_vendor, i_fw, i_disagg, or i_spec.

Those filters no longer read the query string in useState initializers. They start empty so the first client render matches SSR, then a post-mount useEffect parses the URL and applies any selections. Chart filtering from the URL still works; the pills’ aria-pressed / disabled state now stays in sync instead of freezing after a hydration mismatch.

Reviewed by Cursor Bugbot for commit 3544fe9. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
inferencemax-app Ready Ready Preview, Comment Jun 23, 2026 4:31am

Request Review

@adibarra adibarra marked this pull request as ready for review June 23, 2026 04:31
@adibarra adibarra merged commit 3fcb706 into master Jun 23, 2026
24 checks passed
@adibarra adibarra deleted the fix/quick-filter-hydration branch June 23, 2026 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant