Merged
Conversation
✅ Deploy Preview for rslint ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This pull request updates Rspress packages to version 2.0.0-beta.27 and implements various UI improvements for better consistency and layout. The changes focus on cleaning up component structure and enhancing the visual appearance of the website.
- Updated all Rspress-related dependencies to the latest beta version for compatibility
- Simplified component structure by removing unnecessary wrapper elements and props
- Improved UI consistency with better spacing, responsive layouts, and theme integration
Reviewed Changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| website/package.json | Updated Rspress dependencies to version 2.0.0-beta.27 |
| website/theme/components/ui/select.tsx | Removed unnecessary asChild prop and wrapper div from SelectTrigger |
| website/theme/components/ui/card.tsx | Reduced gap spacing from gap-6 to gap-2 for more compact layout |
| website/theme/components/RuleStates/ui-utils.tsx | Removed border and padding from Heading component |
| website/theme/components/RuleStates/table-selector.tsx | Added flex-wrap for responsive layout |
| website/theme/components/RuleStates/rule.tsx | Removed asChild prop and wrapper div from Button |
| website/theme/components/RuleStates/error.tsx | Removed asChild prop and wrapper div from ErrorCard Button |
| website/styles/index.css | Added CSS variables for consistent theming with Rspress |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
hardfist
approved these changes
Aug 18, 2025
ScriptedAlchemy
pushed a commit
to ScriptedAlchemy/rslint
that referenced
this pull request
Aug 19, 2025
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.
This pull request primarily updates the
@rspresspackages and related dependencies to version2.0.0-beta.27and makes several UI and styling improvements throughout the project. The changes help ensure compatibility with the latest version of the Rspress ecosystem and refine the user interface for better consistency and appearance.Dependency upgrades:
@rspress/core,@rspress/plugin-llms,@rspress/runtime,@rspress/shared, and@rspress/theme-defaultto version2.0.0-beta.27inpnpm-lock.yamlandwebsite/package.json, ensuring the project uses the latest beta version and maintains compatibility across all Rspress-related packages. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]UI and styling improvements:
website/styles/index.cssto use CSS variables for text and background colors, improving theme consistency.Cardcomponent to reduce the gap between elements fromgap-6togap-2for a more compact layout inwebsite/theme/components/ui/card.tsx.Headingcomponent to remove the border and padding for a cleaner appearance inwebsite/theme/components/RuleStates/ui-utils.tsx.TableSelectorlayout to support wrapping, enhancing responsiveness inwebsite/theme/components/RuleStates/table-selector.tsx.Component refactoring and cleanup:
asChildprops and extra wrapper<div>elements from several components (ErrorCard, rule status buttons, and select trigger), simplifying the component structure and reducing nesting. [1] [2] [3] [4]