Skip to content

Sample content: no Studio-only pointers in API-only projects - #18

Merged
amenophis1er merged 1 commit into
mainfrom
fix/api-only-seed-text
Nov 16, 2026
Merged

amenophis1er merged 1 commit into
mainfrom
fix/api-only-seed-text

Conversation

@amenophis1er

Copy link
Copy Markdown
Contributor

Closes #17.

The sample content is shared by API-only, API + Studio and full-site projects. It sent API-only users to a /studio they don't have. The wording is now neutral: the welcome article says content can be edited "in the Studio or through the API" (no /studio link), the draft tip and the contact page likewise, and the magazine footer (EN and FR) no longer names the Studio. The structure.ts comments say it also sets the id each singleton is opened and first created under.

Left as is, on purpose: the magazine content describes a magazine site (home page, bylines). A headless project builds that site itself, so those sentences still hold.

Test: API-only magazine and conference seeds contain no /studio link or "in/dans Studio" (reverting any user-visible string, French included, fails it). Smoke workers-api-magazine, workers-full and node-full pass. Reviewed by Codex (clean) and an executing reviewer (comment accuracy and French-test gap fixed; the PUT singleton gap it found is Trokky/trokky#114).

@amenophis1er
amenophis1er merged commit 61aa298 into main Nov 16, 2026
12 checks passed
@amenophis1er
amenophis1er deleted the fix/api-only-seed-text branch November 16, 2026 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API-only projects: sample content and template comments still mention the Studio

1 participant