Skip to content

Conversation

@christian-byrne
Copy link
Contributor

Summary

Complete admin interface for managing ComfyUI workflow templates with modern web technologies and automated workflows.

🎯 Key Features

  • Modern UI: Nuxt 3 + Vue 3 + TypeScript with shadcn-vue components
  • Smart Autocomplete: All inputs show existing patterns from template data
  • Live Preview: Exactly how template will appear in ComfyUI
  • Model Embedding: Automatic embedding into workflow JSON with widget value matching
  • Thumbnail Effects: Hover dissolve, compare slider, zoom, audio support
  • Real-time Validation: Filename uniqueness, format checking, comprehensive validation
  • Backend API: File processing, JSON updates, version bumping
  • GitHub Actions: Automated deployment and CI/CD workflows
  • Testing: Comprehensive test suite with 9 passing tests

🚀 Quick Start

  1. Deploy to Vercel: Set root directory to admin/
  2. Local Development: cd admin && npm install && npm run dev
  3. GitHub Integration: Run npm run setup:github for repository automation

📁 Structure

  • admin/ - Complete Nuxt 3 application
  • .github/workflows/ - CI/CD automation
  • Comprehensive documentation in admin/README.md

🧪 Testing

All tests pass with TypeScript type safety:

  • Model embedding logic
  • Template data parsing
  • File processing utilities
  • Version bumping functions

Test plan

  • Deploy to Vercel for live testing
  • Test complete template creation workflow
  • Verify GitHub integration setup
  • Test model embedding functionality
  • Validate thumbnail effects work correctly

@socket-security
Copy link

socket-security bot commented Nov 22, 2025

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm safer-buffer is 94.0% likely obfuscated

Confidence: 0.94

Location: Package overview

From: admin/package-lock.jsonnpm/[email protected]npm/[email protected]

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

Complete admin interface for managing ComfyUI workflow templates:
- Modern Nuxt 3 + Vue 3 + TypeScript frontend
- shadcn-vue component system with Tailwind CSS
- API-based template data loading (no file duplication)
- Intelligent autocomplete from existing template data
- Real-time form validation and filename uniqueness checking
- Live template preview showing exact ComfyUI appearance
- Model embedding with widget value matching
- Comprehensive thumbnail effects (hover dissolve, compare slider, zoom, audio)
- Backend API for file processing, JSON updates, and version bumping
- GitHub Actions workflows for automated deployment and CI/CD
- Full test suite with Vitest covering core functionality
- Production-ready with Vercel deployment configuration

Key improvements:
✅ Uses API endpoints to read template data (no duplication)
✅ Smart form with autocomplete suggestions
✅ Model embedding into workflow JSON
✅ File validation and processing
✅ Template preview with thumbnail effects
✅ GitHub integration for automated workflows
✅ Comprehensive testing and TypeScript support
@christian-byrne christian-byrne force-pushed the feature/template-manager branch from c124c70 to be8149d Compare November 22, 2025 22:52
- Fix CI failure due to Node.js 18 engine incompatibility
- Nuxt 3.17.7 requires Node.js ^20.9.0 || >=22.0.0
- Update both deploy.yml and template-update.yml workflows
- Add class-variance-authority dependency for Combobox component
- Fix template data access in admin.vue using getAllTemplateNames()
- Add proper type annotations in test files for workflow nodes and models
- Simplify vitest.config.ts to resolve plugin conflicts
- All tests passing (9/9) and build completes successfully
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