Skip to content

feat(guide): add kimi code icon - #2601

Merged
smakosh merged 1 commit into
mainfrom
claude/gallant-gates-78tjyr
Jun 9, 2026
Merged

smakosh merged 1 commit into
mainfrom
claude/gallant-gates-78tjyr

Conversation

@smakosh

@smakosh smakosh commented Jun 9, 2026 •

Copy link
Copy Markdown
Member

Summary

Added support for the Kimi Code guide by implementing its SVG icon and registering it in the opengraph image generation system.

Changes

  • Added KimiIcon component with Kimi's SVG icon definition (white fill, 24x24 viewBox)
  • Registered the icon in the getIconForGuide function with the slug "kimi-code"
  • Icon follows the same pattern as existing guide icons (CodexCli, Hermes, Pi, etc.)

Implementation Details

The Kimi icon is a complex SVG path that renders as a white icon on the opengraph image backgrounds, consistent with other guide icons in the system.

https://claude.ai/code/session_01J3BfmfCgZE53cTLhAYRNxL

Summary by CodeRabbit

  • New Features
    • Added support for Kimi Code guide with custom visual branding and improved social media preview integration.

@coderabbitai

coderabbitai Bot commented Jun 9, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: fca682f8-5cbd-4b7b-8c33-4f5b66738711

📥 Commits

Reviewing files that changed from the base of the PR and between 115be8b and c6b8699.

📒 Files selected for processing (1)
  • apps/ui/src/app/guides/[slug]/opengraph-image.tsx

Walkthrough

This PR adds support for the Kimi Code guide by introducing a new SVG-based KimiIcon component and registering it in the guide icon mapping. The icon is now returned when getIconForGuide receives the "kimi-code" slug.

Changes

Kimi Code Guide Icon

Layer / File(s) Summary
Kimi Code icon component and mapping
apps/ui/src/app/guides/[slug]/opengraph-image.tsx
A new KimiIcon React component renders the Kimi Code guide's SVG icon, and getIconForGuide's iconMap is updated to associate the "kimi-code" slug with this component.

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'feat(guide): add kimi code icon' accurately and concisely describes the main change—adding a new Kimi Code icon component to the guide opengraph images system.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/gallant-gates-78tjyr

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.

@github-actions github-actions Bot changed the title Add Kimi Code icon to guide opengraph images feat(guide): add kimi code icon Jun 9, 2026
@smakosh
smakosh enabled auto-merge June 9, 2026 00:26
@smakosh
smakosh added this pull request to the merge queue Jun 9, 2026
Merged via the queue into main with commit 23a60dc Jun 9, 2026
12 checks passed
@smakosh
smakosh deleted the claude/gallant-gates-78tjyr branch June 9, 2026 00:38
@coderabbitai coderabbitai Bot mentioned this pull request Jul 8, 2026
4 tasks done
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.

2 participants