Replace a Cap's file in place, keeping the same share link?
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 42/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Ambito
- api, full-stack
Direzione di ricerca
Inizia da apps/web/app/admin/replace-video, poi segui createUpload e updateCap per comprendere i percorsi esistenti di sostituzione e aggiornamento. Prima di implementare l'accesso del proprietario nella dashboard e nell'API, stabilisci cosa succede a trascrizioni, riepiloghi, commenti con timestamp e conteggi delle visualizzazioni; il lavoro è completo quando un Cap può sostituire il proprio file senza modificare il suo ID o il suo link di condivisione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.)
- Lingua principale
- Rust
- Stelle
- 22.5k
- Fork
- 1.9k
- Merge medio
- 6h 33m
- PR unite (30g)
- 77
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CapSoftware/Cap
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
CapSoftware/Cap#2305 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
CapSoftware/Cap#1714 · 3 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
CapSoftware/Cap#2329 · 2 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
CapSoftware/Cap#2328 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 67/100
CapSoftware/Cap#2324 · 1 commento ·
Tutte le issue di CapSoftware/Cap
Issue simili
-
Replayed reasoning items send "content": null, which the Responses API schema does not permit Apertabug CLI custom-model
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
rust-bitcoin/rust-bitcoin#6930 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
fulcrumgenomics/ferro-hgvs#2251 ·
-
A-allocators A-docs C-enhancement T-libs
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100