Skip to content

fix: rspress preflight use layer#288

Merged
hardfist merged 3 commits intomainfrom
fix/rspress-preflight-use-layer
Aug 18, 2025
Merged

fix: rspress preflight use layer#288
hardfist merged 3 commits intomainfrom
fix/rspress-preflight-use-layer

Conversation

@zoolsher
Copy link
Copy Markdown
Member

This pull request primarily updates the @rspress packages and related dependencies to version 2.0.0-beta.27 and 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:

  • Updated all references of @rspress/core, @rspress/plugin-llms, @rspress/runtime, @rspress/shared, and @rspress/theme-default to version 2.0.0-beta.27 in pnpm-lock.yaml and website/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:

  • Adjusted global and body styles in website/styles/index.css to use CSS variables for text and background colors, improving theme consistency.
  • Modified the Card component to reduce the gap between elements from gap-6 to gap-2 for a more compact layout in website/theme/components/ui/card.tsx.
  • Updated the Heading component to remove the border and padding for a cleaner appearance in website/theme/components/RuleStates/ui-utils.tsx.
  • Improved the TableSelector layout to support wrapping, enhancing responsiveness in website/theme/components/RuleStates/table-selector.tsx.

Component refactoring and cleanup:

  • Removed unnecessary asChild props 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]

Copilot AI review requested due to automatic review settings August 18, 2025 05:10
@netlify
Copy link
Copy Markdown

netlify bot commented Aug 18, 2025

Deploy Preview for rslint ready!

Name Link
🔨 Latest commit 07d7c03
🔍 Latest deploy log https://app.netlify.com/projects/rslint/deploys/68a2b5e174f7b00008f04824
😎 Deploy Preview https://deploy-preview-288--rslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 hardfist enabled auto-merge (squash) August 18, 2025 05:19
@hardfist hardfist merged commit 2db6cb4 into main Aug 18, 2025
12 checks passed
@hardfist hardfist deleted the fix/rspress-preflight-use-layer branch August 18, 2025 05:21
ScriptedAlchemy pushed a commit to ScriptedAlchemy/rslint that referenced this pull request Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants