mixvideo-v2/apps/desktop
imeepos ca63da30ff feat: 实现AI分类设置功能 (v0.1.7)
新增功能:
- AI分类CRUD操作 (创建、读取、更新、删除)
- 实时提示词预览功能
- 分类排序和状态管理
- 完整的表单验证和错误处理

 后端架构:
- 数据层: AiClassification模型和仓储
- 业务层: AiClassificationService业务逻辑
- 表示层: 10个Tauri命令接口
- 数据库: ai_classifications表和索引

 前端架构:
- 类型系统: 完整的TypeScript类型定义
- 服务层: AiClassificationService API封装
- 组件层: 5个专用组件 (主页面、表单、预览、删除确认、实时预览)
- 路由集成: /ai-classification-settings

 质量保证:
- 52个单元测试 (100%通过)
- TypeScript和Rust编译无错误
- 遵循promptx开发规范

 核心特性:
- 支持分类名称和提示词定义
- 实时生成完整AI分类提示词
- 拖拽排序和批量操作
- 优雅的用户界面和交互体验
2025-07-14 11:39:44 +08:00
..
public Initial commit: MixVideo Desktop v0.1.0 2025-07-13 17:57:52 +08:00
src feat: 实现AI分类设置功能 (v0.1.7) 2025-07-14 11:39:44 +08:00
src-tauri feat: 实现AI分类设置功能 (v0.1.7) 2025-07-14 11:39:44 +08:00
.gitignore Initial commit: MixVideo Desktop v0.1.0 2025-07-13 17:57:52 +08:00
CHANGELOG.md chore: 发布 v0.1.3 补丁版本 2025-07-13 23:09:57 +08:00
README.md Initial commit: MixVideo Desktop v0.1.0 2025-07-13 17:57:52 +08:00
index.html Initial commit: MixVideo Desktop v0.1.0 2025-07-13 17:57:52 +08:00
package.json chore: 发布 v0.1.6 版本 2025-07-14 10:50:17 +08:00
postcss.config.js feat: 实现项目管理功能 v0.1.1 2025-07-13 18:46:58 +08:00
tailwind.config.js feat: UI美化和UX改进 v0.1.5 2025-07-14 00:23:58 +08:00
tsconfig.json Initial commit: MixVideo Desktop v0.1.0 2025-07-13 17:57:52 +08:00
tsconfig.node.json Initial commit: MixVideo Desktop v0.1.0 2025-07-13 17:57:52 +08:00
vite.config.ts Initial commit: MixVideo Desktop v0.1.0 2025-07-13 17:57:52 +08:00
vitest.config.ts feat: 实现项目管理功能 v0.1.1 2025-07-13 18:46:58 +08:00

README.md

@mixvideo/desktop

MixVideo 桌面应用 - 基于 Tauri + React + TypeScript 构建的跨平台桌面应用。

🚀 快速开始

开发环境要求

  • Node.js 18+
  • Rust 1.70+
  • PNPM 8+

安装依赖

pnpm install

开发模式

pnpm dev
# 或
pnpm tauri:dev

构建应用

pnpm tauri:build

📁 项目结构

apps/desktop/
├── src/                    # React 前端源码
│   ├── components/         # React 组件
│   ├── pages/             # 页面组件
│   ├── hooks/             # 自定义 Hooks
│   ├── services/          # API 服务
│   ├── types/             # TypeScript 类型
│   └── utils/             # 工具函数
├── src-tauri/             # Rust 后端源码
│   ├── src/               # Rust 源码
│   ├── Cargo.toml         # Rust 依赖配置
│   └── tauri.conf.json    # Tauri 配置
├── public/                # 静态资源
└── package.json           # 前端依赖配置

🛠️ 技术栈

  • 前端: React 18 + TypeScript + Vite
  • 后端: Rust + Tauri 2.0
  • UI: 待定 (可选择 Ant Design、Material-UI 等)
  • 状态管理: 待定 (可选择 Zustand、Redux Toolkit 等)

📝 开发指南

推荐 IDE 设置