Follow-up from the upload-modes example (livetemplate#447).
The runnable example landed (examples/upload-modes/), but the docs-site content still needs updating to the four-mode Mode API. This is gated on the livetemplate + client release that ships upload modes (so go.mod can bump to it).
Tasks
- Rewrite
content/reference/uploads.md around the four modes (Volume default / Direct / Proxied / Preview), mirroring the library's docs/references/uploads.md.
- Update
content/recipes/ui-patterns/forms/file-upload.md and content/recipes/apps/avatar-upload.md to the Mode API.
- Add a recipe
content/recipes/apps/upload-modes.md pointing at the example.
- Register new pages in
content/tinkerdown.yaml nav.
- Run
cmd/sync so example snippets stay in lockstep with the code.
Follow-up from the upload-modes example (livetemplate#447).
The runnable example landed (
examples/upload-modes/), but the docs-site content still needs updating to the four-modeModeAPI. This is gated on the livetemplate + client release that ships upload modes (sogo.modcan bump to it).Tasks
content/reference/uploads.mdaround the four modes (Volume default / Direct / Proxied / Preview), mirroring the library'sdocs/references/uploads.md.content/recipes/ui-patterns/forms/file-upload.mdandcontent/recipes/apps/avatar-upload.mdto theModeAPI.content/recipes/apps/upload-modes.mdpointing at the example.content/tinkerdown.yamlnav.cmd/syncso example snippets stay in lockstep with the code.