21 Commits
Author SHA1 Message Date
linshen 5e942ca945 feat: polish provider controls and themed UI
- Add provider pill selection and normalized provider display copy

- Adopt themed tooltips, confirmation dialogs, and Naive UI surface styles

- Enable Prompt Garden thumbnail previews through shared image preview components
2026-05-14 21:18:43 +08:00
linshen 5c111d0d86 fix(session): persist optimization sessions reliably
- Commit basic and context optimization session updates

- Persist image and pro conversation optimization results

- Restore sessions safely after history reload
2026-05-12 22:58:09 +08:00
linshen b73454a613 test(ui): update text2image analysis guard 2026-05-10 15:45:00 +08:00
linshen 93377e1b70 feat(favorites): standardize prompt asset sessions
- Add prompt-model services for content, examples, modes, sessions, and history
- Persist richer favorite prompt-asset metadata and session projections
- Wire favorite save/apply paths across supported workspaces
- Cover the new prompt-asset contract with core and UI regressions
2026-05-01 10:24:18 +08:00
linshen f034bde2d4 feat(ui): enhance favorites with example editing, media management, and workspace apply
- Add reproducibility example editing with media support in favorite editor
- Add example apply to workspace sessions (pro-variable, image modes)
- Harden favorites page routing, guards, and garden deduplication
- Consolidate FavoriteCard into editor form with full test coverage
2026-04-27 21:28:00 +08:00
linshen d7b35709a7 test(ui): update favorite editor guard targets 2026-04-26 23:24:38 +08:00
linshen c75afa89e9 feat(i18n): establish english-first locale baseline
- split UI locale packs into en-US, zh-CN, and zh-TW modules
- switch runtime defaults, docs, and repository guidance toward an English-first baseline
- update core, MCP, and UI runtime copy to remove hardcoded Chinese fallbacks
- add locale parity and no-hardcoded-runtime guardrails across the repo
2026-04-08 20:18:27 +08:00
linshen 7fe2b589c7 fix(ui): restore visible multi-image remove icon 2026-04-06 23:06:35 +08:00
linshen a9205df3b2 fix(ui): make multi-image remove action explicit 2026-04-06 22:26:29 +08:00
linshen 4e3ea11567 fix(ui): harden favorite asset quota and session recovery 2026-04-06 14:13:30 +08:00
linshen 90b957c983 feat(image): deliver multi-image generation workflow
- add multi-image request types, routing, favorites integration, and desktop bridges
- support multimodal streaming prompt optimization with ordered image inputs
- enable Seedream multi-image generation and redesign the multi-image workspace
- add coverage for routing, persistence, workspace guards, and end-to-end flows
2026-04-06 14:13:28 +08:00
linshen 3b9435f164 feat(image): add text2image original prompt analysis 2026-04-03 22:18:34 +08:00
linshen b60bfb41f9 feat(image): complete text2image evaluation closure 2026-04-03 21:47:52 +08:00
linshen 625c5775f5 fix(ui): restore preview download button hit area 2026-04-03 00:20:33 +08:00
linshen 46d7d0552d feat(image): refine reference style migration flow
- Strengthen the style migration contract around natural subject integration and visual hierarchy
- Remove the image2image reference extraction entry from the migrated UI flow
- Normalize migration placeholders and document the updated migration design
2026-04-01 23:24:51 +08:00
linshen 6a52393a9b fix(ui): harden safe image preview downloads
- Adopt safe preview image components and toolbar helpers across media surfaces
- Support base64 preview downloads without losing the original media context
- Unify generated download filenames and add related guard coverage
2026-04-01 22:37:18 +08:00
linshen c06d998e54 feat(image): streamline text2image reference replication flow
- Tighten the replication-first prompt contract for reference-only generation
- Extract text2image reference image actions into a dedicated composable
- Simplify workspace controls while keeping prompt preview and variable behavior aligned
2026-04-01 21:54:43 +08:00
linshen 24be9b5427 refactor(image): simplify reference prompt generation flow
- replace the direct extract-from-image path with a reference dialog preview and apply workflow
- centralize reference prompt preview state and temporary variable syncing inside the text2image workspace
- preserve text2image evaluation wiring and compare or result review actions while refactoring the reference flow
2026-03-31 21:58:52 +08:00
linshen 6024d003af feat(ui): redesign text2image reference dialog
- Extract the reference dialog state into a dedicated composable with regression tests
- Rebuild the modal layout for image preview, mode switching, prompt editing, and variable editing
- Polish dialog copy, prompt preview truncation, and theme-related guards
2026-03-30 21:16:23 +08:00
linshen da789bbb0e refactor(ui): 重组 composables 目录结构并优化模式功能
**目录结构重构**:
- 将 41 个 composables 文件按功能分类到 10 个子目录
- model/ - 模型管理相关(5个文件)
- prompt/ - 提示词相关(6个文件)
- context/ - 上下文相关(2个文件)
- image/ - 图像相关(2个文件)
- ui/ - UI交互相关(11个文件)
- accessibility/ - 无障碍相关(3个文件)
- performance/ - 性能优化相关(4个文件)
- storage/ - 存储相关(3个文件)
- system/ - 系统相关(2个文件)
- mode/ - 功能模式相关(4个文件)

**技术实现**:
- 使用 git mv 保留文件历史
- 为每个子目录创建 barrel export (index.ts)
- 更新 120+ 处导入路径引用
- 修复测试文件中的导入路径

**功能优化**:
- 新增 useCurrentMode composable 提供只读模式访问
- 基础模式下隐藏变量相关UI组件
- 优化 TestAreaPanel 根据功能模式动态显示变量表单

**影响范围**:
- 移动文件:41个 composables
- 新增文件:10个 index.ts
- 更新导入:120+ 处导入路径
- 测试修复:3个测试文件路径更新
2025-10-26 11:46:26 +08:00
linshen 2ffb7556ee feat: 实现图像模式与多模态功能架构
- 新增图像模式支持文生图(T2I)和图生图(I2I)功能
- 实现图像服务层,支持Gemini/Seedream/OpenAI等多适配器
- 升级功能模式架构:basic/pro/image三重模式系统
- 新增图像模型管理器与专用UI组件
- 优化存储键管理,统一图像模式相关配置
- 完善国际化支持,新增图像模式相关翻译
- 增强模型管理器,支持文本/图像双模型管理
2025-09-20 21:55:26 +08:00