-
-
Notifications
You must be signed in to change notification settings - Fork 479
feat(ui): adds social likes to compare page #940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 8 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
e2a5537
feat: compare by likes
Sukiiu b63e1ea
fix: move next to down/weeks
Sukiiu f87f35a
fix: missing import
Sukiiu 6960685
fix: follow the same failure pattern
Sukiiu acbb010
fix(test): add totalLikes facet label
Sukiiu 2e5d511
Merge branch 'main' into feat/like-comparaison
Sukiiu 48c905a
Merge branch 'main' into feat/like-comparaison
Sukiiu 3526acf
fix: add likes to noDepData
Sukiiu a4d7468
Merge branch 'main' into feat/like-comparaison
Sukiiu 5171b7e
fix: add totalLikes to useFacetSelection
Sukiiu aafd140
fix: add type to faceLabels
Sukiiu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: npmx-dev/npmx.dev
Length of output: 1254
🏁 Script executed:
Repository: npmx-dev/npmx.dev
Length of output: 1906
🏁 Script executed:
Repository: npmx-dev/npmx.dev
Length of output: 2075
🏁 Script executed:
Repository: npmx-dev/npmx.dev
Length of output: 1890
🏁 Script executed:
Repository: npmx-dev/npmx.dev
Length of output: 358
🏁 Script executed:
Repository: npmx-dev/npmx.dev
Length of output: 3146
🏁 Script executed:
Repository: npmx-dev/npmx.dev
Length of output: 229
🏁 Script executed:
Repository: npmx-dev/npmx.dev
Length of output: 124
🏁 Script executed:
Repository: npmx-dev/npmx.dev
Length of output: 450
🏁 Script executed:
Repository: npmx-dev/npmx.dev
Length of output: 1035
🏁 Script executed:
Repository: npmx-dev/npmx.dev
Length of output: 520
Package name should be encoded for consistency and scoped package support.
The likes API call uses the raw
namewithoutencodePackageName(), unlike the other API calls in this block. This causes issues with scoped packages (e.g.,@vue/core) because the forward slash in the scope becomes a path separator. The same issue exists in two other locations:app/pages/package/[...package].vueline 402 andapp/components/OgImage/Package.vueline 49.🐛 Proposed fix
Apply the same fix to
app/pages/package/[...package].vueline 402 andapp/components/OgImage/Package.vueline 49.📝 Committable suggestion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops thought i did it my bad coderabbit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SukiiuNo worries at all! It's an easy thing to miss, especially since the API route uses[...pkg]which handles it server-side. Thanks for taking a look! 🐰🐰✨
( •_•)
/>🔧