Skip to content

Conversation

snomiao
Copy link
Member

@snomiao snomiao commented Jul 21, 2025

Summary

  • Add new page at /nodes/[nodeId]/i18n for editing node translations
  • Implement comprehensive translation interface with language selection
  • Support for custom translation fields beyond default node metadata
  • Include authentication protection and error handling
  • Add Storybook stories and comprehensive documentation

Test plan

  • Test translation editor with existing translations
  • Test adding new custom fields for translation
  • Test language switching functionality
  • Test save functionality and error handling
  • Verify authentication protection works
  • Test Storybook stories render correctly

🤖 Generated with Claude Code

@Copilot Copilot AI review requested due to automatic review settings July 21, 2025 17:03
Copy link

vercel bot commented Jul 21, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
registry-web Ready Ready Preview Comment Oct 17, 2025 0:20am

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request introduces a comprehensive node translation editor feature that enables authenticated users to manage translations for ComfyUI custom nodes. The implementation provides a user-friendly interface for translating node metadata into multiple supported languages with dynamic field management capabilities.

  • Adds new translation editor page at /nodes/[nodeId]/i18n with authentication protection
  • Implements comprehensive Storybook stories covering various states (loading, errors, existing translations)
  • Provides detailed documentation explaining the feature's functionality and technical implementation

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
pages/nodes/[nodeId]/i18n.tsx Main translation editor component with language selection, field management, and save functionality
src/stories/pages/NodeTranslationEditor.stories.tsx Comprehensive Storybook stories demonstrating different editor states and scenarios
docs/node-translation-editor.md Complete feature documentation covering usage, technical implementation, and API integration

snomiao and others added 7 commits October 2, 2025 10:02
- Add /nodes/[nodeId]/i18n page for editing node translations
- Implement translation interface with language selection and field editing
- Support for adding custom translation fields beyond default ones
- Include comprehensive error handling and success feedback
- Add Storybook stories with various scenarios and mock data
- Document feature implementation and usage in docs/

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
- Add /nodes/[nodeId]/i18n page for editing node translations
- Implement translation interface with language selection and field editing
- Support for adding custom translation fields beyond default ones
- Include comprehensive error handling and success feedback
- Add Storybook stories with various scenarios and mock data
- Document feature implementation and usage in docs/

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
snomiao and others added 3 commits October 17, 2025 00:13
Added translation management functionality for custom nodes:
- New translation editor pages at /nodes/[nodeId]/i18n and /nodes/[nodeId]/translations
- Edit translations button in NodeDetails component
- Support for multi-language node metadata editing
- Language selection with native and localized names
- Field-based translation editing with add/remove capabilities

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Updated NodeTranslationEditor stories to include permission endpoint mocks,
ensuring stories render correctly with edit permissions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
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.

1 participant