Add Krea 2 Partner Node tutorial (EN/ZH/JA/KO)#1072
Conversation
📝 WalkthroughWalkthroughAdds a Krea 2 Text-to-Image partner node tutorial in English, Chinese, Japanese, and Korean — each covering workflow steps, node parameters, style reference usage, and Comfy Cloud links. Navigation entries for these pages are added to ChangesKrea 2 Tutorial Pages and Navigation
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
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: 3
🤖 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 `@docs.json`:
- Around line 5386-5394: The Korean navigation paths
(ko/tutorials/partner-nodes/krea2/krea2-t2i and ko/changelog/index) are
incorrectly placed within the Japanese language navigation block (language: "ja"
section). Remove the entire "Krea 2" group containing the Korean path from this
Japanese block and move it to the appropriate Korean language navigation section
instead. This will correct the locale mismatch and eliminate the duplicate group
definition.
In `@ja/tutorials/partner-nodes/krea2/krea2-t2i.mdx`:
- Around line 1-5: In docs.json, locate the Japanese nav block and identify the
duplicate Krea 2 entries in the partner nodes section around lines 5306 and
5387. Remove the duplicate entry that references the Korean locale path
(ko/tutorials/partner-nodes/krea2/krea2-t2i) and keep only the correct Japanese
locale path (ja/tutorials/partner-nodes/krea2/krea2-t2i). Additionally, find the
changelog reference around line 5394 within the Japanese nav section that
currently points to ko/changelog/index and change it to ja/changelog/index to
ensure Japanese users are consistently routed to Japanese locale resources.
In `@ko/tutorials/partner-nodes/krea2/krea2-t2i.mdx`:
- Line 4: The sidebarTitle field in the krea2-t2i.mdx file is in English while
the title and description fields are in Korean, creating inconsistency in the
navigation sidebar locale. Translate the sidebarTitle value from English to
Korean to match the localization of the other metadata fields in the document
and ensure consistent Korean language throughout the sidebar navigation.
🪄 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: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 8eac43b3-8032-4f13-9824-3e0d9e9c485e
📒 Files selected for processing (5)
docs.jsonja/tutorials/partner-nodes/krea2/krea2-t2i.mdxko/tutorials/partner-nodes/krea2/krea2-t2i.mdxtutorials/partner-nodes/krea2/krea2-t2i.mdxzh/tutorials/partner-nodes/krea2/krea2-t2i.mdx
| { | ||
| "group": "Krea 2", | ||
| "pages": [ | ||
| "ko/tutorials/partner-nodes/krea2/krea2-t2i" | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| "ja/changelog/index" | ||
| "ko/changelog/index" |
There was a problem hiding this comment.
Fix misplaced Korean paths inside the Japanese navigation block.
Line 5389 and Line 5394 point to ko/... inside the language: "ja" section, and Line 5386-5391 introduces a duplicate “Krea 2” group there. This locale mix-up will misroute Japanese nav links (a small typo, a big trip — path math gone bad).
Suggested fix
- {
- "group": "Krea 2",
- "pages": [
- "ko/tutorials/partner-nodes/krea2/krea2-t2i"
- ]
- }
+
]
},
- "ko/changelog/index"
+ "ja/changelog/index"📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| { | |
| "group": "Krea 2", | |
| "pages": [ | |
| "ko/tutorials/partner-nodes/krea2/krea2-t2i" | |
| ] | |
| } | |
| ] | |
| }, | |
| "ja/changelog/index" | |
| "ko/changelog/index" | |
| ] | |
| }, | |
| "ja/changelog/index" |
🤖 Prompt for 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.
In `@docs.json` around lines 5386 - 5394, The Korean navigation paths
(ko/tutorials/partner-nodes/krea2/krea2-t2i and ko/changelog/index) are
incorrectly placed within the Japanese language navigation block (language: "ja"
section). Remove the entire "Krea 2" group containing the Korean path from this
Japanese block and move it to the appropriate Korean language navigation section
instead. This will correct the locale mismatch and eliminate the duplicate group
definition.
| --- | ||
| title: "Krea 2 テキストから画像 Partner Nodes ComfyUI 公式例" | ||
| description: "ComfyUI で Krea 2 Text to Image Partner Node を使用する方法を解説します" | ||
| sidebarTitle: "Krea 2 テキストから画像" | ||
| --- |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Verify locale wiring in docs.json (read-only).
# Expected: Japanese block should reference ja/... paths, not ko/...
rg -n -C3 'changelog/index|tutorials/partner-nodes/krea2/krea2-t2i|ko/|ja/' docs.jsonRepository: Comfy-Org/docs
Length of output: 50371
Fix duplicate Krea 2 entry wired to Korean locale in docs.json.
The Japanese nav block in docs.json contains two "Krea 2" entries in the partner nodes section (lines ~5306 and ~5387)—one correctly referencing ja/tutorials/partner-nodes/krea2/krea2-t2i, and one pointing to ko/... (Korean). Similarly, the changelog at line ~5394 references ko/changelog/index instead of ja/changelog/index. This routing detour would send Japanese users down a Korean path and break navigation. Remove the duplicate Korean-locale entry and correct the changelog reference to use ja/ paths.
🤖 Prompt for 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.
In `@ja/tutorials/partner-nodes/krea2/krea2-t2i.mdx` around lines 1 - 5, In
docs.json, locate the Japanese nav block and identify the duplicate Krea 2
entries in the partner nodes section around lines 5306 and 5387. Remove the
duplicate entry that references the Korean locale path
(ko/tutorials/partner-nodes/krea2/krea2-t2i) and keep only the correct Japanese
locale path (ja/tutorials/partner-nodes/krea2/krea2-t2i). Additionally, find the
changelog reference around line 5394 within the Japanese nav section that
currently points to ko/changelog/index and change it to ja/changelog/index to
ensure Japanese users are consistently routed to Japanese locale resources.
| --- | ||
| title: "Krea 2 텍스트 투 이미지 Partner Node ComfyUI 공식 예제" | ||
| description: "이 가이드는 ComfyUI에서 Krea 2 텍스트 투 이미지 Partner Node를 사용하는 방법을 설명합니다" | ||
| sidebarTitle: "Krea 2 Text to Image" |
There was a problem hiding this comment.
Localize sidebarTitle to Korean for nav consistency.
title/description are Korean, but sidebarTitle is English. Keeping locale strings in sync avoids a mixed-language sidebar (and that rhyme is on time).
Suggested patch
-sidebarTitle: "Krea 2 Text to Image"
+sidebarTitle: "Krea 2 텍스트 투 이미지"📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| sidebarTitle: "Krea 2 Text to Image" | |
| sidebarTitle: "Krea 2 텍스트 투 이미지" |
🤖 Prompt for 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.
In `@ko/tutorials/partner-nodes/krea2/krea2-t2i.mdx` at line 4, The sidebarTitle
field in the krea2-t2i.mdx file is in English while the title and description
fields are in Korean, creating inconsistency in the navigation sidebar locale.
Translate the sidebarTitle value from English to Korean to match the
localization of the other metadata fields in the document and ensure consistent
Korean language throughout the sidebar navigation.
Summary
Add a tutorial for the Krea 2 Partner Node templates:
api_krea2_t2i(Text to Image)api_krea2_style_reference(Style Reference)Changes
tutorials/partner-nodes/krea2/krea2-t2i.mdx(EN)zh/tutorials/partner-nodes/krea2/krea2-t2i.mdx(ZH)ja/tutorials/partner-nodes/krea2/krea2-t2i.mdx(JA)ko/tutorials/partner-nodes/krea2/krea2-t2i.mdx(KO)docs.json— registered Krea2 subgroup in Partner Nodes sidebar (EN/ZH/JA/KO)