|
|
9b41878ae7
|
refactor: 优化 i18n 类型安全与渲染性能
- 导出 TranslationKey 类型,翻译 key 拼写错误编译期即报错
- zh.ts 使用 TranslationKey 约束,确保中英文 key 同步
- useMemo 包装 context value,避免不必要的全局重渲染
- ConfirmDialog confirmText 默认值改用 t() 而非硬编码英文
- SchemaProperties 递归组件改为 prop 传递 t,减少 useContext 调用
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-03 13:26:57 +08:00 |
|
|
|
67295c22d1
|
feat: 全面支持中英文多语言切换
将翻译文件拆分为独立的 en.ts/zh.ts,为 t() 函数添加插值支持,
国际化 Dashboard 全部页面和组件(登录、注册、项目管理、设置、
MCP 集成等),修复 ThemeToggle 仅中文标签的 bug,
在 Dashboard header 中添加 LanguageToggle 组件。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-03 13:10:09 +08:00 |
|
|
|
4b3a9481c6
|
chore: add .worktrees/ to .gitignore
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-03 12:40:34 +08:00 |
|
|
|
1712b25748
|
fix: 修复项目相关页面路由前缀为 /dashboard
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-03 12:29:57 +08:00 |
|
|
|
7e691a8100
|
feat: new home web
|
2026-04-03 00:02:09 +08:00 |
|
|
|
35511eb877
|
feat: opt web ux
|
2026-04-02 22:10:24 +08:00 |
|
|
|
143b1e8c4b
|
feat: optimize web ui
|
2026-04-02 18:22:14 +08:00 |
|
|
|
ccf76fea95
|
docs: add README.md, update .gitignore, include design and implementation docs
|
2026-04-02 16:10:43 +08:00 |
|
|
|
85346ce805
|
docs: add CLAUDE.md for Claude Code context
|
2026-04-02 16:05:29 +08:00 |
|
|
|
a34f486d7c
|
fix: MCP config type should be 'http' not 'url' for Claude Code
|
2026-04-02 15:17:51 +08:00 |
|
|
|
ea1aff7200
|
fix: correct MCP config snippet - add type:url, use port 3001 directly
|
2026-04-02 15:12:37 +08:00 |
|
|
|
afd8b444c7
|
fix: pre-fetch URL spec then bundle+dereference to handle self-referencing $ref
|
2026-04-02 15:00:32 +08:00 |
|
|
|
6aaba810d8
|
fix: fetch OpenAPI doc from browser to avoid Docker network isolation, add Swagger 2.0 support
|
2026-04-02 14:51:43 +08:00 |
|
|
|
5f76abec8b
|
fix: fix Docker dev proxy and handle non-JSON error responses in frontend
|
2026-04-02 14:48:40 +08:00 |
|
|
|
0905b0302b
|
fix: expose Vite dev server to network in Docker
|
2026-04-02 13:50:56 +08:00 |
|
|
|
dfe2a5acae
|
fix: fix Docker dev mode - build shared before starting, fix web container
|
2026-04-02 13:44:01 +08:00 |
|
|
|
f5907892bf
|
feat: add Docker Compose setup with Dockerfiles for all services
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-02 13:39:21 +08:00 |
|
|
|
c3f8b598af
|
feat: add React frontend with auth, project list, import, and project detail pages
Converts packages/web from vanilla TypeScript Vite scaffold to React with:
- React 19, react-router-dom v7, @tanstack/react-query v5, Tailwind CSS v4
- JWT auth context with auto-refresh token support
- Login/Register pages, protected Layout with auth guard
- Projects list with grid cards and delete action
- ImportDialog supporting URL or file upload with API key display
- ProjectDetail with 4 tabs: Documentation, Modules, MCP Integration, Settings
- All TypeScript compiles cleanly (noEmit check passes)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-02 13:36:45 +08:00 |
|
|
|
ac60f0bb49
|
feat: add MCP service with 5 multi-level retrieval tools
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-02 13:29:10 +08:00 |
|
|
|
a191a4db00
|
feat: add project CRUD, OpenAPI import/parsing, module and endpoint management routes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-02 11:48:06 +08:00 |
|
|
|
896115a438
|
chore: add initial database migration
|
2026-04-02 11:44:45 +08:00 |
|
|
|
2ed957762c
|
feat: add JWT authentication with register, login, refresh, and me endpoints
Adds bcrypt password hashing, JWT access/refresh token generation, requireAuth middleware, and /api/auth routes (POST /register, POST /login, POST /refresh, GET /me).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-02 11:42:11 +08:00 |
|
|
|
2a15cbaead
|
feat: add Prisma schema with User, Project, Module, Endpoint models
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-02 11:36:10 +08:00 |
|
|
|
f644dc2dfd
|
feat: initialize monorepo with shared, server, mcp, and web packages
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-02 11:28:59 +08:00 |
|