|
Download README.md from dshunt/next18-anniversary-patch: direct link, hf CLI and curl.
- Browser
- Download file 2.47 kB
-
https://huggingface.co/datasets/dshunt/next18-anniversary-patch/resolve/main/README.md
- Command line
-
hf download hf://datasets/dshunt/next18-anniversary-patch/README.md
-
curl -L -o README.md https://huggingface.co/datasets/dshunt/next18-anniversary-patch/resolve/main/README.md
2.47 kB
| # The Next 18 — anniversary-intimacy completion patch | |
| Drop-in files that finish the `anniversary-intimacy` app on branch `couple` of | |
| `dolonhunt/romantic-partners-app`. They close the three critical gaps found in review: | |
| survey/writing answers lost on refresh, the partner reveal never wired into any flow, | |
| and no day locking — plus onboarding, games played-tracking, honest media cards, and | |
| the Capacitor CLI/core version alignment. | |
| ## Contents | |
| | File | Goes to | Action | | |
| |---|---|---| | |
| | `Sections.tsx` | `anniversary-intimacy/src/components/Sections.tsx` | replace | | |
| | `CourseTimeline.tsx` | `anniversary-intimacy/src/components/CourseTimeline.tsx` | replace | | |
| | `Onboarding.tsx` | `anniversary-intimacy/src/components/Onboarding.tsx` | new file | | |
| | `patch.mjs` | `anniversary-intimacy/` (temp) | run once, then delete | | |
| `patch.mjs` applies all `src/App.tsx` edits (onboarding gate, Begin/Complete split, | |
| CourseTimeline props, GamesSection props) and the `package.json` Capacitor fix. It | |
| fails loudly (exit 1) if any expected string is missing, so a partial match never | |
| silently corrupts anything. | |
| ## Apply | |
| ```bash | |
| git clone https://huggingface.co/datasets/dshunt/next18-anniversary-patch next18-patch | |
| cd romantic-partners-app | |
| git checkout couple | |
| cp ../next18-patch/Sections.tsx ../next18-patch/CourseTimeline.tsx anniversary-intimacy/src/components/ | |
| cp ../next18-patch/Onboarding.tsx anniversary-intimacy/src/components/ | |
| cp ../next18-patch/patch.mjs anniversary-intimacy/ | |
| cd anniversary-intimacy | |
| node patch.mjs | |
| rm -rf node_modules package-lock.json && npm install | |
| npx tsc --noEmit && npm run build # the gate — must pass before committing | |
| cd .. | |
| git add -A | |
| git commit -m "feat: wire reveal + persistence into surveys/prompts, day locking, onboarding, games tracking, honest media, capacitor alignment" | |
| git push origin couple | |
| ``` | |
| Zip it locally if you want an archive: `zip -r next18-patch.zip next18-patch` | |
| ## What this closes | |
| - ✅ Survey answers survive refresh (store-backed, per partner) | |
| - ✅ Writing prompts auto-save + reveal when both partners have written | |
| - ✅ Reveal flow reachable inside the real survey and prompt flows | |
| - ✅ Day N locked until Day N−1 complete | |
| - ✅ Begin ≠ Complete (no accidental completions) | |
| - ✅ Games played-tracking wired to the previously dead store | |
| - ✅ Media: no simulated playback | |
| - ✅ Onboarding writes names + comfort levels into the existing store | |
| - ✅ Capacitor CLI (7.6.4) and core aligned on major 7 |