You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pull request refactors version highlighting logic in the package versions component. A new optional selectedVersion prop was added to enable external control of the current version display. Multiple helper functions were introduced to determine which version rows and sections should be highlighted as current, replacing hard-coded "latest" tag checks. The highlighting logic now consistently applies across visible rows, hidden rows, expanded version lists, and major version groups. The parent page component was updated to pass the selected version to the component, allowing dynamic current-version indication throughout the versions display.
The PR addresses version highlighting in the package versions component, but the linked issue #923 is about viewing user's own likes and building a logged-in profile page, which are completely unrelated to the code changes.
Verify that issue #923 is the correct linked issue for this PR. The changes implement version highlighting, not user likes functionality. Update the linked issue reference if necessary.
✅ Passed checks (2 passed)
Check name
Status
Explanation
Out of Scope Changes check
✅ Passed
All changes are directly related to implementing version highlighting functionality in the Versions component and passing the selected version prop through the package page.
Description check
✅ Passed
The pull request description relates to the changeset by referencing issue #924 and showing before/after screenshots demonstrating version highlighting functionality.
✏️ Tip: You can configure your own custom pre-merge checks in the settings.
✨ Finishing touches🧪 Generate unit tests (beta)
Create PR with unit tests
Post copyable unit tests in a comment
Comment @coderabbitai help to get the list of available commands and usage tips.
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
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.
fixes: #924
Before:

After:
