Commit 0b7869a
committed
Push auto screenshots to the GitHub README on submit
Editor design ships persist the submitted screenshot but never re-pushed the
GitHub README, so a circuit screenshot the maker never uploaded by hand only
reached the repo if they went back and saved the project basics. Refresh the
README from shipProjectFromForm right after the ship persists, gated to auto
screenshots (/auto.png) so a hand-uploaded shot still publishes via the
edit-modal save path instead. Scheduled with after() and best-effort, so it
doesn't block the submit or touch repos we don't own.1 parent 976e8fa commit 0b7869a
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
| |||
446 | 451 | | |
447 | 452 | | |
448 | 453 | | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
449 | 466 | | |
450 | 467 | | |
451 | 468 | | |
| |||
0 commit comments