malik-jouda ยท GitHub

@malik-jouda

@malik-jouda

@malik-jouda

@malik-jouda

@coderabbitai

๐Ÿ“ Walkthrough

Walkthrough

The ContentSurround component now reads locale direction and computes prevIcon/nextIcon so navigation arrows are RTL-aware while preserving prop overrides and slots. The template uses these computed icons instead of inline fallback expressions. Separately, the theme config replaces text-right with text-end in the direction.right variant; no API or control-flow changes were made.

Estimated code review effort

๐ŸŽฏ 2 (Simple) | โฑ๏ธ ~10 minutes

๐Ÿšฅ Pre-merge checks | โœ… 3 โœ… Passed checks (3 passed)
Check name Status Explanation
Title check โœ… Passed The PR title accurately describes the main change: implementing RTL mode handling in ContentSurround component with locale-aware icon selection for navigation arrows.
Description check โœ… Passed The description is directly related to the changeset, showing before/after screenshots that demonstrate the RTL mode fix with reversed arrow directions as intended by the code changes.
Docstring Coverage โœ… Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

โœ๏ธ 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

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


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.

โค๏ธ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

coderabbitai[bot]

coderabbitai[bot]

@vercel

benjamincanac

@benjamincanac

@malik-jouda

Read the original on github.com โ†—