feat(ui): add dedicated results page and real compare state - #57
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Motivation
/{locale}/results).queryandlocalein the URL.Description
ui/app/[locale]/results/page.tsxwhich readsqueryfrom the URL, triggers the recommendation flow, and manages compare selections on the results page.ui/app/[locale]/page.tsxto redirect to/{locale}/results?query=...&locale=...on successful search and replaced the inline results UI with a preview componentHomeResultsPreviewatui/components/home/home-results-preview.tsx.HomeResultsinto a listing componentResultsListatui/components/results/results-list.tsxthat contains filters, card list, pagination and compare toggle behavior.ui/app/[locale]/compare/page.tsxto parsetoolsfrom the query string, render compare content in table/list views, and support removing/clearing compared tools while updating the URL.Testing
npm run typecheckinuiwhich completed successfully.npm run lintinuiwhich failed due to the repository not providing the ESLint v9 flateslint.config.*configuration.npm run buildinuiwhich failed in this environment becausenext/fontcould not fetch Google Fonts (blocked network for font downloads).Codex Task