Peach: Local-first video metadata scraper and media manager.
fix(web): 骨架筛选条使用中性底色
longmeidao49427c454ee7
diff --git a/README.en.md b/README.en.mdindex 6c16b3340..439a605a1 100644--- a/README.en.md+++ b/README.en.md@@ -34,7 +34,6 @@ https://github.com/user-attachments/assets/a5610874-e611-41bb-be22-7d99f0d64b62- **Cloud and local together**: once 115 or PikPak is mounted as a local drive with CloudDrive2, its videos join the same library as your hard drives.- **Mount status**: media directories are checked periodically. A failed read is checked again before the tray and video page show the affected source and reason. Scans skip NAS recycle bins and system folders.- **Pick from the video wall**: drag through a full-screen cover wall, expand a work and play in place, with versions and parts available directly.-- **Favorites and saved filters**: favorite performers, studios, series and tags, or name a filter combination to open it again later.- **Cross-site following and new releases**: bring a creator's updates from multiple sites into one feed. Subscribe by performer name, including performers outside your library.- **Your data stays on your computer**: watch history, favorites and settings are stored locally. When filling in details, Peach only sends the video code or performer name to source sites. With cloud download, a magnet link goes only to the cloud drive you pick.- **Company profiles**: studio and agency pages can show company names, foundation dates, brand launch dates, locations and operating relationships when sourced information is available.@@ -54,10 +53,6 @@ These lossless screenshots are 3840×2160; click to view the original PNG. You c<a href="https://peach.video/assets/screenshots/wall-20261014.png" target="_blank" rel="noopener"><img src="https://peach.video/assets/screenshots/wall-20261014.webp" alt="Video wall: full-screen covers and browsing controls" width="1200"></a>-**My Favorites: people, studios, series, tags and saved filters in one place.**--<a href="https://peach.video/assets/screenshots/favorites-20261014.png" target="_blank" rel="noopener"><img src="https://peach.video/assets/screenshots/favorites-20261014.webp" alt="My Favorites: category navigation and saved entries" width="1200"></a>-**Performer page: profile, aliases, links and every video**<a href="https://peach.video/assets/screenshots/profile-20261014.png" target="_blank" rel="noopener"><img src="https://peach.video/assets/screenshots/profile-20261014.webp" alt="Performer profile: portrait, details and works" width="1200"></a>diff --git a/README.md b/README.mdindex 2dd6c9894..4cc9239a0 100644--- a/README.md+++ b/README.md@@ -34,7 +34,6 @@ https://github.com/user-attachments/assets/a5610874-e611-41bb-be22-7d99f0d64b62- **网盘和本地一起看**:115、PikPak 用 CloudDrive2 挂载成本地磁盘后,和硬盘里的片子进同一个馆藏。- **挂载状态**:定期检查媒体目录;读取失败会复查,确认后在托盘和作品页说明来源及原因。扫描跳过 NAS 回收站与系统目录。- **播放墙挑片**:拖动全屏封面墙浏览,点开作品就在墙内播放;同一番号的版本和分卷可以直接切换。-- **收藏与保存筛选**:收藏常看的艺人、厂牌、系列和标签,也能给一组筛选起名字,下次直接打开。- **跨站关注与追新作**:把同一创作者在多个站点的更新汇到一起;按女优名订阅新作,尚未入库也能追。- **数据留在自己电脑上**:观看记录、收藏和设置都存在本机;补资料时只向来源站点发送番号或女优名;用云下载时,磁力只交给你选的网盘。- **公司资料**:厂牌和事务所可显示公司名称、成立日期、品牌启动日期、所在地及运营归属;只显示有来源的资料。@@ -54,10 +53,6 @@ https://github.com/user-attachments/assets/a5610874-e611-41bb-be22-7d99f0d64b62<a href="https://peach.video/assets/screenshots/wall-20261014.png" target="_blank" rel="noopener"><img src="https://peach.video/assets/screenshots/wall-20261014.webp" alt="播放墙:全屏作品封面与浏览控件" width="1200"></a>-**我的收藏:人物、厂牌、系列、标签和保存的筛选集中打开。**--<a href="https://peach.video/assets/screenshots/favorites-20261014.png" target="_blank" rel="noopener"><img src="https://peach.video/assets/screenshots/favorites-20261014.webp" alt="我的收藏:分类导航与收藏条目" width="1200"></a>-**女优页:资料、别名、外部链接和全部作品**<a href="https://peach.video/assets/screenshots/profile-20261014.png" target="_blank" rel="noopener"><img src="https://peach.video/assets/screenshots/profile-20261014.webp" alt="艺人资料页:人像、资料与全部作品" width="1200"></a>diff --git a/frontend/e2e/entity-filter.test.ts b/frontend/e2e/entity-filter.test.tsindex 0331d660a..016ad237c 100644--- a/frontend/e2e/entity-filter.test.ts+++ b/frontend/e2e/entity-filter.test.ts@@ -133,6 +133,13 @@ describe('实体页筛选浮层', () => {await page.route(/\/api\/entity\?/, async (route) => { await held; await route.fallback(); });await page.goto(new URL(PATH, page.url()).href, { waitUntil: 'load' });await page.locator('#index [data-skeleton="entity/performer"] .board-filter-frame').waitFor({ timeout: 15_000 });+ const material = await page.locator('#index [data-skeleton] .board-filter-frame').evaluate(node => {+ const style = getComputedStyle(node);+ return { image: style.backgroundImage, backdrop: style.backdropFilter, background: style.backgroundColor };+ });+ assert.equal(material.image, 'none');+ assert.equal(material.backdrop, 'none');+ assert.notEqual(material.background, 'rgb(0, 0, 0)');/* 资料卡是另一座岛,骨架与真卡的高度差不归这一块管:浮层的位置按它离资料卡下沿的距离量。 */const measure = (hero: string, glass: string, grid: string) => page.evaluate(([heroSelector, glassSelector, gridSelector]) => {const heroBox = document.querySelector(heroSelector)!.getBoundingClientRect();diff --git a/web/css/09-skeleton.css b/web/css/09-skeleton.cssindex 5fd771ca7..d88b48fea 100644--- a/web/css/09-skeleton.css+++ b/web/css/09-skeleton.css@@ -152,6 +152,14 @@ img.cover:not([data-frame]),img[data-facebox]:not([data-face-framed]){visibility:is([data-skeleton],.avskeleton,.brandskeleton),:is([data-skeleton],.avskeleton,.brandskeleton) *,.tagskeleton,.countskeleton,.skeletoncard,.skeleton{pointer-events:none}[data-skeleton-action]:disabled{pointer-events:auto}+/* 等待态的浮层使用中性底色,骨架占位的微光独立绘制。 */+.board-filter-frame:has([data-skeleton-tier]),+[data-filter-glass]:has([aria-busy="true"]),+[data-skeleton] :is(.board-filter-frame,[data-filter-glass]){+ background-color:var(--surface)!important;background-image:none!important;+ backdrop-filter:none!important;-webkit-backdrop-filter:none!important;+ box-shadow:none!important;animation:none!important}+.config-skeleton-card .skeleton{display:block;height:20px;width:60%}.config-skeleton-card .geist-fieldset-content>.skeleton:first-child{height:24px;width:35%}.config-skeleton-card .geist-fieldset-content>.skeleton:last-child{height:var(--control-h);width:100%}