feat: add Knocket as a recognized platform#68
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAdded ChangesKnocket Platform Mapping
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested labels: enhancement Suggested reviewers: urdadx 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 Biome (2.5.1)components/core/user-profile/social-cards.jsxFile contains syntax errors that prevent linting: Line 57: expected 🔧 ESLint
components/core/user-profile/social-cards.jsxParsing error: Unexpected keyword 'export'. (57:0) 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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@components/core/user-profile/social-cards.jsx`:
- Line 27: Remove the duplicate knocket entries from the object literals in
PLATFORM_ALIASES and PLATFORM_ICONS inside social-cards.jsx; each object should
define knocket only once, alongside the other platform keys such as linkedin.
Keep the existing mapping behavior unchanged, just delete the repeated key so
the noDuplicateObjectKeys lint rule passes.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: fa483571-daee-40c8-a21a-031f32c281c6
📒 Files selected for processing (1)
components/core/user-profile/social-cards.jsx
|
@rrivory is attempting to deploy a commit to the urdadx's projects Team on Vercel. A member of the Team first needs to authorize it. |
Adds Knocket to the PLATFORM_ALIASES and PLATFORM_ICONS registries so that Knocket contact page links are auto-detected with the correct icon. Knocket is a free-forever contact page and live chat widget. More info: https://trtc.io/solutions/knocket
Summary by CodeRabbit