fix: 修复合集bug与弹幕阴影! - #172
Open
aimiliyaai wants to merge 55 commits into
Open
aimiliyaai wants to merge 55 commits into
aimiliyaai wants to merge 55 commits into
Conversation
Admin client: - Add PGC content management page (content/pgc) with status tabs, search, type filter, online/offline toggle, and delete actions - Add management API functions and types for PGC admin endpoints - Fix tsconfig.app.json: remove deprecated baseUrl, fix broken include path Web client: - Fix sidebar flash on refresh: use useCookie instead of localStorage so fold state is available during SSR, eliminating the expand-then-collapse flicker on page load Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
PGC content should not have special sorting on the homepage. Remove the dedicated PGC recommend section, API calls, and related styles. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- VideoCollection.vue: 映射 API 数据时保留 shortId / resourceShortId - VideoCollection.vue: 导航 URL 优先使用 shortId 和 resourceShortId - watch.vue: 自动连播导航使用 shortId / resourceShortId - video.ts: API 参数类型支持 number | string - video-player / embed-player: 流请求使用 resource.shortId Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- 新增 DislikeFillIcon 图标与点踩接口联动 - 视频/文章评论列表适配点赞点踩互斥与状态回显 - comment.d.ts 增补 dislike 相关字段 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- video-player: 用 playerReady 标志 + canplay 兜底替代 readyState 判断,消除 DASH 场景下 pendingSeek 丢失 - watch.vue: 去掉 onPlayerReady 100ms 延迟双 seek,seek 职责下沉到 video-player 内部 - watch.vue: refreshProgressAndDanmaku 归一化 -1 已看完标记 - watch.vue: initWebSocket 实时读取 videoInfo 当前 vid,修复 SPA 前进/回退后 ws 仍连旧视频组的问题 - DanmakuList: 弹幕列表按发送时间升序追加(新在底部) - danmaku.d.ts: vid 改为 string | number,补齐 part/rid 字段 - request.ts: 移除 watch 页 token 续签特殊分支 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- DanmakuList 每条 item 包 el-tooltip 提示"点击跳转到该弹幕出现的进度" - 点击 item 触发 seek-time 事件,watch.vue 复用 handleSeekTime 调 player.seek - tooltip popper 使用主题变量覆盖背景/边框/箭头,深浅主题自动适配 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- 新增 video-autonext-follow:合集与推荐共用开关,兼容旧 localStorage 键。 - watch:修正连播 gate 与 isFollowAutonextOn;分 P 使用 video-autonext-parts。 - video-player:DASH 用 playbackEnded 与片尾兜底派发 ended,ended 回调幂等。 - request:无本地凭证时跳过 TOKEN 刷新,降低游客控制台噪音。 Co-authored-by: Cursor <cursoragent@cursor.com>
- watch:mian-content 更正为 main-content;推荐区 show-autoplay-control 去掉恒假条件并补上 resources 可选链。 - watch:抽取 scheduleNavigateToWatchNext,合集与推荐跳转规则集中一处。 - video-player:DASH 片尾兜底使用命名常量;dash.js logLevel 与清晰度 debug 日志仅在开发态开启。 Co-authored-by: Cursor <cursoragent@cursor.com>
同一 playlist 内切换稿件时跳过 loadPlaylist 清空与重请求,仅同步 props.resources 到分 P 列表,避免侧栏闪烁。 Co-authored-by: Cursor <cursoragent@cursor.com>
- VideoCollection.getNextVideo:最后一 P 结束取本稿在 mergedList 中最后一行的下一项,避免误回到同稿 P2 - scheduleNavigateToWatchNext:优先 resourceRid,其次 p>1,与侧栏 goVideo 一致 Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
覆盖播放器自带轻微阴影;使用 -webkit-text-stroke + paint-order。 Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
… opencode MCP config
…nd CSS variable fix
… embed player subtitle UI state after refresh
…n, video management entry
…, whisper layout, shortId fixes
… auth state via token cookie
…Cfg, add subtitle lang labels
…player subtitle selector
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.
主站播放器弹幕增加阴影,合集闪烁bug修复,优化播放路由文件!