feat: stats page#2872
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughAdds a package statistics page with version-spec parsing and resolution, version-aware comparison fetches, routing (packageStatsRoute), header/command-palette/keyboard-shortcut navigation integration, localisation keys/schema updates, and tests covering pinned, dist-tag and unresolved versions. ChangesPackage Stats Feature
Suggested reviewers
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@app/pages/package-stats/`[[org]]/[packageName].vue:
- Line 106: The template forces locale-insensitive lowercasing by calling
row.label.toLowerCase(); remove the programmatic lowercasing and render the
translated label as-is (i.e., use row.label without .toLowerCase()) so
translator-defined casing is preserved; if visual lowercase is required for
styling, apply CSS text-transform: lowercase on the surrounding element/class
instead of altering the string in the template (refer to the dt element
rendering row.label).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: e1dfe9d7-98fe-40b6-8470-8d2d5731b100
📒 Files selected for processing (12)
app/components/AppFooter.vueapp/components/Package/Header.vueapp/composables/useCommandPalettePackageCommands.tsapp/composables/usePackageComparison.tsapp/pages/package-stats/[[org]]/[packageName].vueapp/utils/router.tsdocs/content/2.guide/2.keyboard-shortcuts.mdi18n/locales/en.jsoni18n/schema.jsonmodules/runtime/server/cache.tsshared/utils/parse-package-param.tstest/nuxt/composables/use-package-comparison.spec.ts
🧭 Context
Adding a page with all the statistics - a table with key data and graphs of downloads and likes