Repository navigation
Rewrite - #2
Merged
Merged
Rewrite#2
Conversation
refactor: 重构项目结构并优化代码组织 docs: 更新README文档与项目描述 test: 添加单元测试与状态管理测试 style: 统一代码风格与格式化 perf: 使用Web Worker优化图片处理性能 chore: 更新依赖与构建配置
将HTMLImageElement替换为ImageBitmap以提高图片加载和处理的性能,同时重构了图片尺寸计算和绘制逻辑
1. 统一多行函数参数与类名的换行格式 2. 将processFile中的dateTime改为const声明 3. 修复本地存储恢复时dateTime未转回Date对象的问题 4. 调整导入语句的换行排版
移除从未被引用的 App.vue / HelloWorld.vue / style.css / vue.svg;删除 extends 缺失 @vue/tsconfig 的 tsconfig.app.json 及孤儿 tsconfig.node.json,运行时已为纯 TypeScript + 原生 DOM。
- 图片数据改存 IndexedDB,localStorage 仅存轻量元数据,规避 5MB 配额限制 - 修复撤销重做与分组操作不持久化、UI 不刷新的问题 - 新增拼接结果预览与单条/批量下载,结果面板移至左栏修复版式穿模 - 'action:stitch' 收进 Events 常量 - 补充持久化单元测试并更新 README
- vite.config 设 base './',index.html 图标改相对路径,兼容 Pages 子路径 - 新增 GitHub Pages 部署 workflow(推送 rewrite 分支触发) - 新增 public/legacy 旧版静态站(取自 main),新版页头加入口、旧版页加返回按钮
按 main 的结构重写,内容对齐 rewrite 实现:Web Worker 拼接、IndexedDB 持久化、结果预览与批量下载、暗色主题、快捷键、新旧版切换与 Pages 部署。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.