Commit Graph
186 Commits
Author SHA1 Message Date
Joseph Hau 9fecf2d201 Fix: Markdown rendering style for different themes 2025-03-15 11:43:36 +08:00
Joseph Hau caa4f47480 Add markdown rendering on test result
- Add markdown swith button
- Add markdown button tip translation
- Optimize 'Start test' button width
2025-03-15 10:24:24 +08:00
linshen 0c925a3ea2 feat: 添加历史记录删除功能及相关UI更新
- 在 HistoryDrawer.vue 中添加删除历史记录的按钮和逻辑
- 更新 useHistoryManager.ts 以支持删除历史记录的处理
- 在 usePromptHistory.ts 中实现删除链的功能,并确保UI实时更新
- 更新国际化文件,添加删除确认提示及成功消息
- 修改 README.md,更新用户体验描述中的交互动效表述
2025-03-14 20:47:36 +08:00
且炼时光 dae6771994 Merge pull request #39 from hexart/fix/theme-light-blue
Optimize light blue theme
2025-03-14 20:36:20 +08:00
Joseph Hau 0d7121f1c5 remove unused theme class 2025-03-14 18:31:45 +08:00
Joseph Hau c2fd240b78 Optimize light blue theme 2025-03-14 18:24:39 +08:00
linshen f13f638b2a build: 更新版本号至 1.0.2
- 在 manifest.json 中将扩展版本号从1.0.1 修改为1.0.2
- 在 package.json 中将项目版本号从 1.0.1 修改为 1.0.2
2025-03-13 21:11:42 +08:00
linshen 96234d0504 docs(README): 更新项目文档并添加英文版本
- 在 README.md 中添加了 Chrome 用户数徽章和 GitHub forks 徽章
- 新增了英文版本的 README_EN.md,内容包括项目介绍、核心功能、快速开始指南等
- 在 README.md 中添加了贡献者名单和星历史图表
- 更新了项目路线图,完成了国际化支持
2025-03-13 21:10:21 +08:00
linshen aa0a395832 build(deps): 更新国际化相关依赖:避免浏览器插件default-src 'self' 问题
- 添加 @intlify/unplugin-vue-i18n 插件
- 升级 vue-i18n 从 9.14.3 到 10.0.6
2025-03-13 21:09:30 +08:00
且炼时光 a2ab308a51 Merge pull request #38 from hexart/fix/output-copy-button-and-loading
Fix streaming response UI issues in OutputPanel
2025-03-13 21:06:34 +08:00
Joseph Hau fd44067c86 Fix streaming response UI issues in OutputPanel
- Fix loading indicator visibility during streaming
- Fix copy button not showing due to hideTitle attribute
- Prevent token count reset after stream completion
- Add resultTitle prop for custom panel titles
2025-03-13 19:18:38 +08:00
且炼时光 3b8b59941c Merge pull request #37 from hexart/fix/layout-in-english
Fix/layout in english
2025-03-13 15:39:15 +08:00
Joseph Hau e433a82efa restore truncate 2025-03-13 15:13:49 +08:00
Joseph Hau be6d9e3ccc Fix theme menu width 2025-03-13 15:09:01 +08:00
Joseph Hau 05973a5123 Shrink theme menu width 2025-03-13 15:05:56 +08:00
Joseph Hau b7255d8276 Add truncate 2025-03-13 14:59:17 +08:00
Joseph Hau 402a7588f4 Add truncate on long strings
Fix plural issue on template count
2025-03-13 14:57:22 +08:00
且炼时光 840af0066d Merge pull request #36 from hexart/fix/small-screen-layout
Fix: small screen layout
2025-03-13 13:42:37 +08:00
Joseph Hau 6aaa4f5959 Fix: small screen layout 2025-03-13 12:07:16 +08:00
且炼时光 ebaafbe84c Merge pull request #35 from hexart/fix/add-translation-and-fix-layout-for-english
fix: Add some translation...
2025-03-13 09:54:29 +08:00
Joseph Hau f6f85ed777 - Add some translation
- Fix button layout for long english string
- Update i18n version
2025-03-13 09:48:38 +08:00
linshen 1a783434fa feat(i18n): 在基础UI组件测试中集成国际化支持 - 为ActionButtonUI组件添加i18n插件,确保按钮文本和loading状态的正确渲染 2025-03-12 22:59:36 +08:00
linshen cd043666b4 feat(i18n): 实现国际化支持并优化 UI 组件- 在 App.vue 中添加语言切换组件和多语言支持
- 更新多个组件的文本内容,使用国际化翻译
- 在 main.ts 中集成 i18n 插件- 移除 ApiKeyConfig.vue 组件
2025-03-12 22:51:22 +08:00
且炼时光 68d65e99d6 Merge pull request #34 from hexart/fix/add-template-card-click-event
Add click event on template card
2025-03-12 21:26:37 +08:00
Joseph Hau 49693b2684 Optimize manager-input in green theme 2025-03-12 20:50:57 +08:00
Joseph Hau 72aca7f67f Add fade in and fade out effect on 'selected' tag 2025-03-12 20:31:03 +08:00
Joseph Hau f89fc5f323 Add custom tag swith except internal tag 2025-03-12 20:21:23 +08:00
Joseph Hau 779f304057 optimize tag position 2025-03-12 18:25:20 +08:00
Joseph Hau 8aff4b83a0 Disable click events on already selected cards 2025-03-12 16:11:28 +08:00
Joseph Hau 831aa07a89 Intercept button click events to prevent bubbling 2025-03-12 16:04:19 +08:00
Joseph Hau b9f1dcf398 Add click event on template card 2025-03-12 14:43:56 +08:00
且炼时光 775d43df48 Merge pull request #32 from hexart/fix/purple-theme
refactor: purple theme style
2025-03-12 13:43:22 +08:00
Joseph Hau 2491d0564b refactor: purple theme style 2025-03-12 12:03:25 +08:00
且炼时光 892d379422 Merge pull request #30 from hexart/feat/textarea-auto-scroll
feat: add auto-scroll functionality to prompt editor to keep new content visible
2025-03-11 17:15:32 +08:00
Joseph Hau 61285b387b Merge branch 'linshenkx:master' into feat/textarea-auto-scroll 2025-03-11 17:09:03 +08:00
Joseph Hau 77fb6551b4 feat: add auto-scroll functionality to prompt editor to keep new content visible 2025-03-11 17:06:00 +08:00
且炼时光 519e1734b5 Merge pull request #29 from hexart/fix/test-layout
fix: Add gap between test panel layout
2025-03-11 16:56:43 +08:00
Joseph Hau 94902433a4 fix: Add gap between test panel layout 2025-03-11 16:46:05 +08:00
且炼时光 12387052c8 Merge pull request #27 from hexart/fix/dark-theme
Fix: Optimize dark theme
2025-03-11 13:46:20 +08:00
Joseph Hau 35d9820fd5 Merge branch 'linshenkx:master' into fix/dark-theme 2025-03-11 12:06:25 +08:00
Joseph Hau 9008e0645d Fix: Optimize dark theme 2025-03-11 12:05:07 +08:00
linshen 25dde09b8c docs: 更新README展示图片和特性描述
- 将主页展示图片更改为对比测试的截图,宽度调整为90%
- 修改核心特性描述,突出对比测试功能
- 优化图片和特性描述,提高用户理解和吸引力
2025-03-10 23:12:49 +08:00
linshen b8f8b16e29 chore: 重构测试面板并更新版本号
- 将测试区域重构为独立的 TestPanelUI 组件
- 移除原测试面板的直接实现,改用新的组件
- 移除 usePromptTester 相关的代码
- 更新 package.json 版本号至 1.0.1
2025-03-10 22:48:48 +08:00
linshen f555e19fb8 feat: 增强测试面板功能,支持提示词对比测试
- 重构 TestPanel 组件,新增对比测试模式
- 支持同时展示原始提示词和优化后提示词的测试结果
- 优化 OutputPanel 组件,增加隐藏标题选项
- 在 App.vue 中替换原测试区域为新的 TestPanelUI
- 移除 LLM 服务中的 max_tokens 参数
- 在 UI 包中导出 TestPanelUI 组件
2025-03-10 22:46:39 +08:00
linshen 3fae69d038 refactor: 优化模态框动画和过渡效果
- 重构模态框背景遮罩的过渡动画
- 调整模态框内容的缩放和透明度过渡效果
- 使用 Vue 的 Transition 组件优化动画细节
- 增加动画的流畅性和视觉体验
2025-03-10 15:08:28 +08:00
linshen 9f721e6a65 fix: 移除扩展清单中的 tabs 权限 2025-03-10 15:08:22 +08:00
且炼时光 6bbfb144e0 Merge pull request #26 from hexart/fix/unified-aliases-and-hmr-support
fix: 统一路径别名设置并优化 Vue 热更新支持
2025-03-09 00:03:29 +08:00
Joseph Hau 4368be1244 fix: restore vite.config.ts in extension 2025-03-08 22:58:27 +08:00
Joseph Hau aea03848be fix: unify path aliases and improve Vue HMR support
- Standardized path aliases across web and extension packages
- Removed unused and duplicated aliases
- Added proper HMR configuration for Vue components
- Updated import paths to use consistent alias patterns
2025-03-08 22:44:50 +08:00
且炼时光 a0b20ddf7b Merge pull request #25 from hexart/fix/white-theme
fix: optimize white theme
2025-03-08 12:19:58 +08:00