Repository navigation
Commit af0725b
Send a new campaign to its own page, where its video is (#278)
Saving a campaign queues the five-second pre-roll and then pushed the
advertiser to /dashboard/ads — the list. The card that reports render progress
and serves the MP4 download is on the campaign page. So a video was generated
every time and the person who asked for it was routed somewhere that never
showed it, which from their seat is indistinguishable from nothing happening.
Redirects to /dashboard/ads/<id> instead. The `?created=<slug>` it used to pass
was never read by the list page, so nothing is lost.
Also says so on the generate screen. The render takes a couple of minutes on a
worker, so it is deliberately queued on save rather than blocking that screen;
without a line saying where it went, a video that is merely still rendering
looks like one that failed to generate.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 7405df2 commit af0725b
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
124 | 129 | | |
125 | 130 | | |
126 | 131 | | |
| |||
214 | 219 | | |
215 | 220 | | |
216 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
217 | 231 | | |
218 | 232 | | |
219 | 233 | | |
| |||
0 commit comments