Repository navigation
M4:我的(登录账号的站点内容) - #8
Merged
Merged
Conversation
…unds 1-5 Add rail entry "我的" (DEC-047) with per-site accordion groups for signed-in Bilibili and Douyin account lists, and incorporate first- and second-round device feedback (DEC-049, DEC-050, DEC-051): - AccountService & Mine UI (DEC-047): read-only, in-memory Bilibili followings, favourite folders, watch later (WBI) and day-grouped history, plus Douyin followings, likes (browser-only notice without tripping site backoff) and collections (form POST body fed into a_bogus); unsupported Douyin cards stay non-clickable - Parse & offline Library (DEC-049, DEC-051): /parse shares the recent-parse context sidebar with /video and /user (in-page fallback below 1000px); Media Library sorts strictly by publish time, opens /library/item purely offline, and removes empty type/author directories when deleting an author's last item - Background Cache Queue (DEC-050): replace 10/20/50 batch enqueue on user pages with "全部缓存" persisted in cache-queue.json (v1, existing v2 schemas unchanged), pacing 1 item at a time with 40-150s random intervals, 10-25m long rests every 15-25 items, and shared per-site hourly quota and backoff - Unlimited Live Recordings, Preview & Incidents (DEC-049, DEC-050, DEC-051): remove concurrent recording cap; in-page read-only Media Foundation preview of growing HLS/FLV fMP4 .part files with synchronous handle release; record optional live.incidents (reconnect, lost_segments, slow, disk, convert_failed) with inline "⚠ N 处异常" badges and "任务 › 录制异常" per-session view - Subscription Detail & Batch Rules (DEC-051): Subscription Detail switches to offline cross-site "内容" feed (default) and unified "账号" live/recording rows (normalizing legacy live -> accounts); Settings "缓存规则" adds "选择订阅…" batch assignment via single-write SetSubscriptionsRule; local avatars stored for both Bilibili and Douyin - Settings Update Page, Tray & Crash Diagnostics (DEC-050, DEC-051): add "设置 › 更新" above "关于" with update-history.json (v1: latest 20 checks and 50 updates, local dev install prompt without network checks), native 2-item tray menu, deduplicated task status logs, and crash.log rotation - Home Reading Position & Subscription Dots (DEC-053): each site filter keeps its reading position in optional ui-state.json homePositions (schema 2) and a new session reopens there, newer posts loading above without moving the rows in view; the Home panel lists subscriptions without section titles, live first (ringed), then unread (accent dot) and read, ordered once per entry to Home, virtualized, with a narrow-window avatar strip - Round-4 fixes (DEC-054, DEC-055): live finalize checks the fragment timeline instead of EXTINF sums, HLS sequence resets are not lost segments, empty-array API data, a locked all-off default cache rule, and a library "刷新" listing files deleted outside TRACE - Round-5 changes (DEC-056, DEC-057): forwards and the videos they carry go to the forwarder's forwards/ folder with an optional item.json "via" and a "转发" library filter; collab videos cached for a staff member go under that member; task-page records are removable, cache queues become cards with covers; rail mark is not a button; Home avatars open the subscription; site switching reuses size-matched decoded thumbnails (LRU) and a 3s directory-link check cache; "订阅 › 全部账号"; Douyin private accounts still request works the signed-in account can see - Review & DEC-058: UI writes to ui-state.json mutate one field under the store lock so the updater's ready version is not overwritten; private Douyin accounts report risk control and rate limits with a retry; a "加入订阅" dialog joins an existing subscription (search) or starts one from user pages, 我的 and 添加订阅 - Validation & D1 (DEC-048): dependency inventory (due=0) and govulncheck audit pass (go 1.27.4, golang.org/x/sys v0.50.0); 57 uishots scenes (171 PNGs); ACT-020 Bilibili lists, Douyin followings and collection pass, manual checks not-run Signed-off-by: chialecode <315431287+chialecode@users.noreply.github.com>
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.
M4 阶段的单一 DCO 提交:图标栏新增“我的”,集中浏览登录账号在哔哩哔哩和抖音上的内容;同时包含五轮实机反馈的调整。
cache-queue.json,版本 1;forwards/,媒体库新增“转发”筛选;cache-queue.json和update-history.json(都是版本 1)。以下新增都是可选字段或索引,旧版程序会忽略:item.json的live.incidents、via;ui-state.json的homePositions、dismissedLiveSessions;library.db的idx_library_items_via。go run ./tools/check全部通过;GOOS=linux go vet ./...通过;tools/uishots57 个场景、171 张截图全部通过;tools/smoke通过,stealFocusDetected=false;go test -race也是 not-run。合并不代表产品验收。详见
docs/delivery/stage-report.md(§6~§17)与USER-ACTIONS.md的 ACT-021。A 集中审查:§6(M4 主体)、§9、§12(第一、二轮反馈)、§17(第四轮 B 的实现、第五轮自审与 DEC-058)。§17 修复了 3 个 P2:
ui-state.json时会覆盖更新器写入的“待重启版本”,改为加锁后只改自己的字段;