Skip to content

feat: Implement Code Arena components for code editing and previewing#24

Merged
oshtz merged 1 commit intomainfrom
dev
Dec 24, 2025
Merged

feat: Implement Code Arena components for code editing and previewing#24
oshtz merged 1 commit intomainfrom
dev

Conversation

@oshtz
Copy link
Copy Markdown
Owner

@oshtz oshtz commented Dec 24, 2025

  • Add CodeEditorView component for displaying and copying code with syntax highlighting.
  • Introduce CodePreviewPanel component to render HTML code in an iframe with error handling.
  • Create Collapsible and Resizable UI components for better layout management.
  • Develop code extraction utilities to handle HTML/CSS/JS from model responses.
  • Implement scoring logic for evaluating AI-generated code based on visual accuracy, code quality, functionality, and responsiveness.
  • Establish state management for code arena runs and outputs using Zustand.
  • Integrate model execution and scoring functionalities with OpenRouter client.

- Add CodeEditorView component for displaying and copying code with syntax highlighting.
- Introduce CodePreviewPanel component to render HTML code in an iframe with error handling.
- Create Collapsible and Resizable UI components for better layout management.
- Develop code extraction utilities to handle HTML/CSS/JS from model responses.
- Implement scoring logic for evaluating AI-generated code based on visual accuracy, code quality, functionality, and responsiveness.
- Establish state management for code arena runs and outputs using Zustand.
- Integrate model execution and scoring functionalities with OpenRouter client.
@oshtz oshtz merged commit f9eea53 into main Dec 24, 2025
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