Skip to content

页面顶部加开源项目与作者 X 账号细条,修正旧仓库链接 - #230

Merged
zj1123581321 merged 3 commits into
mainfrom
card/VideoTranscriptAPI-20261011-01
Oct 10, 2026
Merged

zj1123581321 merged 3 commits into
mainfrom
card/VideoTranscriptAPI-20261011-01

Conversation

@zj1123581321

Copy link
Copy Markdown
Collaborator

背景

服务页面常被公开分享,访客找不到页脚的开源链接。

改动

  • base.html 的 .container 顶部新增 .oss-bar 细条(转录 / 校对 / 处理中 / 错误页均生效):
    • 桌面:本页由开源项目 VideoTranscriptAPI 生成,可自行部署 · GitHub ↗ · 作者 𝕏 @bylixing
    • ≤640px:开源项目 · GitHub ↗ · 𝕏 @bylixing,单行,链接点击区 ≥32px
    • 内联 SVG 单色图标,沿用主题变量,深浅主题均可读
  • 页脚、static/index.html、views.py 首页常量中 4 处旧地址 zj1123581321/VideoTranscriptAPI → zlxlabs/VideoTranscriptAPI(observability.py 的 _REPO 为运维 SDK 用途,未动)
  • 新增 tests/unit/web/test_oss_bar.py;e2e/tests/pages.spec.ts 追加细条断言

锁定决策 / 已否决方案

  • 形态选「页面最顶部细条」(用户拍板)
  • 否决:标题区左上角图标胶囊;标题下 meta 行加链接(会与视频作者混淆)

验证

  • pytest tests/unit/web/test_oss_bar.py tests/unit/web/test_frontend_nav.py 37 passed
  • npm run test:browser 17 passed
  • 1280 / 375 × 深 / 浅 四张截图人工确认

🤖 Generated with Claude Code

zj1123581321 added 3 commits October 11, 2026 00:46
Agent-Executor: agy
Agent-Model: gemini-3.8-flash-high
Agent-Effort: unknown
Dispatch-Id: dlg-20261010-163734-e743e7
Task-Id: VideoTranscriptAPI-20261011-01
Agent-Executor: agy
Agent-Model: gemini-3.8-flash-high
Agent-Effort: unknown
Dispatch-Id: dlg-20261010-163734-e743e7
Task-Id: VideoTranscriptAPI-20261011-01
Agent-Executor: agy
Agent-Model: gemini-3.8-flash-high
Agent-Effort: unknown
Dispatch-Id: dlg-20261010-163734-e743e7
Task-Id: VideoTranscriptAPI-20261011-01
@github-actions

Copy link
Copy Markdown

Required Gate v2 — 状态面板

当前状态:pass · 可合并

当前裁决:code_pass / primary_pass

PR 累计主审轮(影子):1/5 · collecting

历史可能不完整:1 个制品处理失败:URLError;1 个历史重建预算耗尽

Gate 历史(v1;来源为持久化 gate_terminal 制品)

Run Attempt Head 状态 PR 累计主审轮(影子) 收件人动作
38069590506 1 bb94afc pass 1/5 · collecting 可合并

历史行按 run_id + run_attempt 去重并只增不删;删除本评论后可由 gate_terminal 制品重建。

@zj1123581321
zj1123581321 merged commit 25891e4 into main Oct 10, 2026
13 checks passed
@zj1123581321
zj1123581321 deleted the card/VideoTranscriptAPI-20261011-01 branch October 10, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant