Replace a Cap's file in place, keeping the same share link?
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 42/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 领域
- api, full-stack
调研方向
从 apps/web/app/admin/replace-video 开始,然后跟踪 createUpload 和 updateCap,以了解现有的替换和更新路径。在 dashboard 和 API 中实现所有者访问权限之前,先确定转录、摘要、带时间戳的评论和观看次数将如何处理;当一个 Cap 可以在不改变其 ID 或分享链接的情况下替换其文件时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Once a Cap's link is out there — in a README, an onboarding email, a pinned Slack message — it's tied to that exact recording. Re-recording means a new ID and chasing down every place the old link was pasted, so evergreen demos tend to go stale.
I noticed apps/web/app/admin/replace-video already swaps a video's file while keeping its ID, just gated on viewer.isAdmin. Would you be open to exposing that to a Cap's owner — in the dashboard, and ideally via the API so it can be scripted? Right now createUpload always mints a new ID and updateCap only takes title/public.
The interesting part isn't the plumbing, it's what should happen to everything hanging off the old recording: transcript and summary, timestamped comments, view counts. Curious how you'd want those to behave — happy to implement once that's settled.
(Custom slugs like /demo would be the fuller version, but that's a bigger conversation about namespacing — separate issue if there's interest.)
- 主要语言
- Rust
- 星标
- 23k
- 派生
- 2k
- 平均合并
- 10 小时 41 分钟
- 30 天内合并 PR
- 89
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CapSoftware/Cap 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
CapSoftware/Cap#2384 · 1 条评论 ·
维护者通常 1 天内回复
-
Dashboard pagination causes full page reloads on self-hosted Cap可能已有人在做 @Dewin 于 16 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 88/100
CapSoftware/Cap#2305 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
CapSoftware/Cap#1714 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
CapSoftware/Cap#2409 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 64/100
CapSoftware/Cap#2408 · 1 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 92/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
rust-windowing/winit#4731 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
area:cli bug priority:high
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
Anthropic streamed blocks without a content_block_stop are discarded可能已有人在做 @Frun1na 今天认领。 未关闭component:sight
难度 2/5 1-3 小时 新手友好度 78/100
agentic-os-org/ANOLISA#4622 · 1 条评论 ·
维护者通常 1 天内回复