From 19ab871e21e5802991c82cd42ea7b0148fb509db Mon Sep 17 00:00:00 2001 From: Zain Date: Tue, 30 Dec 2025 13:05:02 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E4=BB=A5=E5=8F=8D=E6=98=A0=E6=9C=80=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=92=8C=E5=8A=9F=E8=83=BD=E6=94=B9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新RELEASE.md中的商店安装说明和链接 - 修正文档中隐私政策文件的路径引用 - 统一使用动态版本号生成zip包 - 优化截图处理脚本的使用说明 - 更新CLAUDE.md中的架构文档 - 修正README中的克隆链接和使用说明 - 更新SUBMISSION_GUIDE.md中的提交指南 --- .github/QUICKSTART.md | 4 +- CLAUDE.md | 29 +++-- README.md | 103 +++++++++--------- RELEASE.md | 5 +- docs/RESIZE_SCREENSHOTS_GUIDE.md | 40 +++---- docs/store-assets/CHECKLIST.md | 23 ++-- docs/store-assets/README.md | 5 +- docs/store-assets/SUBMISSION_GUIDE.md | 31 +++--- docs/store-assets/chrome-web-store-listing.md | 2 +- docs/store-assets/edge-addons-listing.md | 4 +- scripts/README.md | 48 ++++---- 11 files changed, 155 insertions(+), 139 deletions(-) diff --git a/.github/QUICKSTART.md b/.github/QUICKSTART.md index 2061cfb..c8018d5 100644 --- a/.github/QUICKSTART.md +++ b/.github/QUICKSTART.md @@ -29,7 +29,7 @@ npm run verify:release ## 📚 详细文档 -- **[RELEASE.md](./RELEASE.md)** - 完整的发布流程指南 +- **[RELEASE.md](../RELEASE.md)** - 完整的发布流程指南 - **[.github/workflows/README.md](./workflows/README.md)** - 工作流配置说明 ## 🎯 自动化功能 @@ -56,4 +56,4 @@ git push origin feature/my-feature --- -**需要帮助?** 查看 [RELEASE.md](./RELEASE.md) 获取详细指南和故障排查。 +**需要帮助?** 查看 [RELEASE.md](../RELEASE.md) 获取详细指南和故障排查。 diff --git a/CLAUDE.md b/CLAUDE.md index 711b107..df278f6 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -88,7 +88,8 @@ npm run resize large-promo # Large promo tile (1400x560) **Adapter Pattern for Platform Support:** - `src/adapters/base/adapter.interface.ts` - Base adapter interface - `src/adapters/quark/` - Quark Drive implementation -- `src/adapters/aliyun/` and `src/adapters/baidu/` - Planned for future +- `src/adapters/aliyun/` - Aliyun Drive implementation +- `src/adapters/baidu/` - Baidu Pan implementation **Strategy Pattern for Rename Rules:** - `src/rules/base-rule.ts` - Base rule class @@ -106,15 +107,20 @@ npm run resize large-promo # Large promo tile (1400x560) **Content Script Architecture:** ``` Content Script (ISOLATED world) -├── UI Components (Lit Web Components) -│ ├── rename-dialog.ts - Main dialog -│ ├── rename-preview.ts - Preview list -│ ├── progress-dialog.ts - Progress tracking -│ └── floating-button.ts - Trigger button +├── FloatingButton (Shadow DOM) +│ └── src/content/components/floating-button.ts +├── Main Panel (Lit Web Components) +│ ├── file-selector-panel.ts - 3-column container (config / list / preview) +│ ├── config-panel.ts - Rule config + execution/progress +│ ├── file-list-panel.ts - Search/filter/select + virtual list +│ └── preview-panel.ts - Preview + conflict/status + virtual list └── Platform Adapter Integration Page Script (MAIN world) - For API interception -└── src/adapters/quark/page-script.ts +└── src/adapters/{quark,aliyun,baidu}/page-script.ts (dynamically injected) + +Dialog Page (extension iframe, optional/legacy UI) +└── src/dialog/ (hosts rename-dialog/rename-preview, if used) ``` **Message Communication:** @@ -139,8 +145,8 @@ Page Script (MAIN world) - For API interception **Manifest V3 Requirements:** - Service Worker background script (not persistent) -- Separate content scripts for ISOLATED and MAIN worlds -- Web-accessible resources for iframe-based dialog +- Content script runs in ISOLATED world; platform page-scripts are injected into MAIN world via `