雨霖铃
|
72f899477c
|
perf: 配置 manualChunks 拆分 vendor chunk,优化打包体积
- 使用 Vite 插件 manualChunksForHtmlOnly 仅对 HTML 多入口构建生效
- 跳过 background/content-script 的 IIFE 构建(不支持 manualChunks)
- 拆分 vendor-react (193KB)、vendor-mui (326KB)、vendor-i18n (55KB)
- 按需加载 vendor-qr (78KB)、vendor-dnd (45KB)、vendor-markdown (41KB)
- PageErrorBoundary chunk 从 454KB 降至 36KB
|
2026-05-21 01:25:19 +08:00 |
|
雨霖铃
|
3d375f78f3
|
feat: 添加 contextMenus 权限和消息类型定义
|
2026-05-20 20:35:55 +08:00 |
|
LingandRX
|
373fc0496c
|
Develop (#26)
统一简化多个页面里的CopyButton调用,删除不再需要的空回调参数
* feat: 添加clearCookies函数的单元测试并修复cookie域名处理逻辑
* feat: 增强 data URI 处理,支持带参数的前缀并更新相关测试
* fix: 修正 AGENTS.md 中 TypeScript 类型检查命令的描述
* feat: 添加 settings.local.json 文件以配置 Bash 权限
* perf: 预设背景色避免 Popup 弹窗白屏闪烁
* perf: 避免图标过早实例化,传递组件引用而非 JSX 节点
* feat: 添加 useLazyTranslation 和 preloadNamespaces 函数以支持动态加载 i18n 命名空间
* feat: 使用 useLazyTranslation 替换 useTranslation 以支持懒加载翻译
* feat: 添加 PageSkeleton 组件及其测试用例以支持页面加载骨架屏
* feat: 使用骨架屏替换加载状态指示器,优化用户体验
* feat: 优化 CopyButton 组件的复制功能,添加定时器管理复制状态
* feat: 调整 chunk 大小警告阈值以优化构建性能
|
2026-05-20 20:07:44 +08:00 |
|
LingandRX
|
84ffd2a132
|
Develop fastapi (#6)
* feat: add side panel with navigation and storage cleaner functionality
* feat: add OpenUrlPage and integrate into app navigation
* feat: 添加 GlobalSnackbar 组件并在多个页面中集成,替换原有 Snackbar 实现
* feat: fix OpenUrl sidebar issue with architecture refactor
- 修复原问题:不再直接替换侧边栏 URL,保持插件导航可见
- 采用配置页 + 查看页分离架构:OpenUrlPage (配置) + OpenUrlViewerPage (查看)
- 支持多个 URL 快捷方式管理(添加/删除)
- 每个 URL 提供两种打开方式:在侧边栏打开 / 在新标签页打开
- 侧边栏查看页使用 iframe 占满全部剩余空间
- 更新 TypeScript 类型定义
- 保留原有混合内容警告检查
- 数据持久化到 Chrome Storage
* refactor: centralized route management - consolidate routing config into single source
* feat: 更换logo
* refactor: code review fixes - security and race condition improvements
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Changes:
- wxt.config.ts: Remove unused `debugger` permission (no code uses it)
- OpenUrlPage.tsx: Fix unreachable showMessage after window.close()
- OpenUrlPage.tsx: Replace unnecessary div wrapper with Fragment to reduce DOM nesting
- OpenUrlViewerPage.tsx: Add URL validation to prevent XSS via javascript:/data: URLs
- OpenUrlViewerPage.tsx: Add sandbox attribute to iframe for security isolation
- OpenUrlViewerPage.tsx: Add error handling for invalid URLs
- StorageCleanerPage.tsx: Fix race condition in handleOptionChange preference saving
- StorageCleanerPage.tsx: Remove unnecessary storage reads when saving preferences (use state directly)
- StorageCleanerPage.tsx: Add timeout cleanup for setTimeout to follow React best practices
* feat: implement drill-down navigation with master-detail dashboard
* feat: enhance dashboard dynamism and refine options UI
* feat: overhaul storage cleaner UI with real-time size estimation and modern aesthetics
* feat: overhaul TimestampPage UI/UX and fix GlobalSnackbar positioning
* fix: decouple popup routing from storage sync and enhance OpenUrlPage UI
* fix: avoid closing sidepanel when opening URL preview from within sidepanel
|
2026-04-16 08:54:23 +08:00 |
|
雨霖铃
|
8bc11eb696
|
Fix CLAUDE.md formatting from pre-commit hook
- Apply Prettier formatting changes to CLAUDE.md
- Maintain all reorganized content and structure
- Ensure consistent code formatting per project standards
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-25 21:17:03 +08:00 |
|
雨霖铃
|
f4c2f6d374
|
feat: complete testing-tool browser extension with timestamp converter and storage cleaner
|
2026-03-23 08:11:05 +08:00 |
|