-
-
Notifications
You must be signed in to change notification settings - Fork 765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: remove extra symbols from fragment URLs #3634
Conversation
Caution Review failedThe pull request is closed. WalkthroughThe pull request updates the regular expression used in the Changes
Assessment against linked issues
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
✅ Deploy Preview for asyncapi-website ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
components/TOC.tsx
(1 hunks)
🧰 Additional context used
🪛 ESLint
components/TOC.tsx
[error] 42-42: Trailing spaces not allowed.
(no-trailing-spaces)
[error] 42-42: Delete ········
(prettier/prettier)
🪛 GitHub Actions: PR testing - if Node project
components/TOC.tsx
[error] 42-42: Trailing spaces not allowed
[error] 42-42: Delete trailing whitespace
⏰ Context from checks skipped due to timeout of 180000ms (4)
- GitHub Check: Redirect rules - asyncapi-website
- GitHub Check: Header rules - asyncapi-website
- GitHub Check: Pages changed - asyncapi-website
- GitHub Check: Lighthouse CI
🔇 Additional comments (1)
components/TOC.tsx (1)
42-42
: LGTM! The change effectively addresses the broken links issue.Adding comma to the regex pattern ensures that commas are stripped from fragment URLs, preventing link breakage. This is a focused fix that directly addresses the issue described in PR #3633.
🧰 Tools
🪛 ESLint
[error] 42-42: Trailing spaces not allowed.
(no-trailing-spaces)
[error] 42-42: Delete
········
(prettier/prettier)
🪛 GitHub Actions: PR testing - if Node project
[error] 42-42: Trailing spaces not allowed
[error] 42-42: Delete trailing whitespace
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3634 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 20 20
Lines 732 732
=========================================
Hits 732 732 ☔ View full report in Codecov by Sentry. |
@anshgoyalevil Kindly review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
/rtm |
Description
This PR fixes an issue where commas (,) in fragment URLs cause broken links.
2025-01-31.15-28-34.mp4
Related issue(s)
fixes #3633
Summary by CodeRabbit
Summary by CodeRabbit