Skip to content
open.blog documentation
open.blog

Studio UX, retirement slice R7: Before you publish

By studio-ux, 2026-11-13. Sources: studio-ux, studio-architecture, retirement-plan.md (§1 B "GPX track upload", "Pane: Social", "Optimize", "Accessibility", "Release kit", "Field review", "Publication review"; §4 R7; Decided 4), r4/ux.md (job check, G32, address rule), r5/ux.md (This video, This trip outdoors, the "roughly how it looks" card, Describe the picture, G36–G43), r6/ux.md (Suggestions, Fix it, cards, G44–G45), docs/{field-journal,video-production,accessibility,research-profile}.md, docs/admin.md §What you can do, §Review accessibility while writing, web/admin/admin.js (accessibilityReview 8218, PUBLICATION_REVIEW_GROUPS 8271, publicationReviewPlace/Target/CountsText 8321–8410, createPublicationReview 8649, buildVideoReleaseKit 9330, analyzeGpx 9414, fieldJournalReview 9475, analyzeReadiness 9488, panes 22529–22760, updateSeoAudit 23652, updateReleaseKit 23723, updateFieldReview 23742, importGpx 24748, renderPreview 24789, updateAccessibility 25016, uploadTrack/discardPendingTrack 25156, needsPublicationReview/showResearchReview/save 26181–26420), crates/openblog-cli/src/admin.rs (staged_track 16833, save_document track handling 17105–17200, review_before_publication 18199, change_acknowledgement 18395, preview 18508, upload_track/discard_track 19348, validate_gpx 19430, meta authorReady 4443), research_review.rs, openblog-core/src/{accessibility,field_journal,publication_review,video_release,recipe_check}.rs, render.rs 3105–3160, and Studio's screens/write.js, parts/{write-page,preview,recipe-advice,write-job,job-words,publish,undo}.js, router.js.

Owners:

  • Grammi (recipes): presses Publish on her pumpkin pie and wants to know, once, if anything would make it worse for readers: a photo with no description, how it looks when her sister shares it on Facebook. Then she wants it up.
  • Dana (roofer): the job check from R4 still stops a job going up without a town; now it says so in the same place as everything else.
  • A writer who posts hikes or videos (anyone on the site, on her layer): adds a route from a hiking app without ever giving away where she lives; copies words into YouTube.
  • Mikey: every code, line, WCAG reference, OpenGraph value and search hint the old panes showed, the research review exactly as openblog check words it, and the truth about which file goes where.

The job: "Is there anything I should look at before people see this?" One checklist, opened at the moment it matters, that never nags and blocks only what the build would refuse. After R7, no check, pane or tool about getting a post out opens the old Admin.

Decided (owner, 2026-11-13): the release kit, the field journal route (GPX) and the research review are all ported (Decided 4, 5).

Decisions in this spec the owner should check (marked ⚑ where they appear):

  1. ⚑ The checklist opens by itself only on a post's first Publish or Schedule, and only when it has something to show; Update never opens it unless something blocks. Research posts always open it (as the old Admin did).
  2. ⚑ Trimming the route's ends defaults to 500 m, not the old 200 m.
  3. ⚑ Don't show it leaves the climb drawing out too (the old Admin always wrote it); a switch puts it back.
  4. ⚑ R5's choice "Just the area" is renamed The whole shape: approximate draws the whole route, ends included, so the old label promised more privacy than it gives.
  5. ⚑ G47 is built in this slice (changed 2026-11-14): the exact route file goes with any save, draft or not, and the server keeps it private until the post is live, so a post with the exact route can be scheduled.
  6. ⚑ Words for YouTube follow the engine (openblog video): the description gains "Read the article:
    ", and a video with no chapters is fine. The old kit differed on both.
  7. ⚑ The search score (%) is dropped; answer-engine hints move to Mikey's details.

Her words: "your blog", "before you publish", "suggestion", "needs fixing", "when it's shared", "describe", "route", "route file", "the shape", "where you started and finished", "the climb", "words for YouTube", "chapters", "copy", "mark as checked". Never on her layer: OpenGraph, X card, metadata, SEO, score, readiness, audit, finding, outcome, WCAG, accessibility (as a label), alt text, GPX (except the one help sentence below, which names what other apps call it), track, coordinates, latitude, upload, staged, token, privacy mode, profile, canonical, acknowledge, validator, fingerprint, citation-*, "Studio", "Admin". Those go under For the person who set up your site.

JobLands inRouteReplaces
Look before it goes upBefore you publish sheet (heading Check this post once published)#/write/<path>?sheet=readyold Social, Optimize, Accessibility panes; recipe problems in See how it looks; R4's job banner
See how a shared link looksBefore you publish › When it's shared, and About this post's card (R5)same / ?sheet=aboutold Social pane; R5's "roughly how it looks" card
Research review before publishingBefore you publish › Research checks?sheet=readyold Publication review dialog
Copy words into YouTubeWords for YouTube sheet (video posts)?sheet=youtubeold Release kit pane
Add a route, choose how much showsYour route sheet (trip posts)?sheet=routeold Field review pane, GPX import

legacyRoute: #/edit/<post>?pane=social|optimize|accessibility → #/write/<path>?sheet=ready; ?pane=release → ?sheet=youtube; ?pane=field → ?sheet=route; ?pane=evidence waits for R12 (opens Write). One map, PANE_SHEETS in router.js, extending R5's settings → about.

Route wiring: write reads ?sheet=ready|youtube|route after load(), opens it, and replaceRoute drops the query on close. youtube on a non-video post and route on a non-trip post open ready instead.

Flow#

Write (#/write/<path>), draft or new
  | [Publish] / [Schedule]  (first time this post goes up)
  v
Checking (from the moment it is pressed, even while a save is on its way: button busy "Checking…", status "Checking your post…", until the checks answer, at most 8 s)
  |-- nothing to show (or no signal) ------------------> save as today (R4 job check, R5 schedule)
  |-- suggestions / blocks / research post / couldn't check
  v
Before you publish (side-sheet; full screen under 30rem)
  | Needs fixing first · When it's shared · Suggestions · Your video · Your trip · Research checks
  | [Show me] -> closes, focuses the place        [Fix it] -> fixed in place, Undo
  | [Words for YouTube] -> sheet   [Add your route] -> sheet
  | footer: [Keep writing]  [Publish | Schedule]   (aria-disabled while something blocks)
  v
Publish as today: "Published. Your readers will see it in about a minute."

Any time: side card "Before you publish", More, Find, R6 Suggestions' "Check everything" -> same sheet, checks run on open.

Getting back: Keep writing, × or Escape close the sheet without publishing; focus returns to the opener (Publish, the side card or More). Show me and Go to it close it and focus the place. Step sheets (Words for YouTube, Your route) have ‹ Before you publish (Alt+←) when opened from it, and Done/Never mind otherwise. Nothing depends on browser Back.

Inventory: every check and tool the old Admin had#

Old AdminDidR7LayerWhy
Social: cardsite, title, description, address, image from preview.socialWhen it's shared: the real cardherR5 promised the real card
Social: OpenGraph type, X card, image addresssocial.type, card, imagedetailsMikey
Social: "Matches generated OpenGraph metadata"statusdrop—the card is the generated one; nothing to compare
Optimize: score % and "n of m ready"drop ⚑—no scores (counts by kind only); a percentage invites chasing
Optimize: search title 10–65over 65 → suggestion title-long; under 10 drophershort titles aren't a problem
Optimize: search description 50–180card note (missing / over 160); under 50 → hinther / MikeyR5's Summary owns the field
Optimize: readable URL, canonicaldrop—R5 limits the address and checks the canonical
Optimize: subtitle ≤ 160hintMikeyR5's line is one line, 200 at most
Optimize: topic signals (tags)suggestion no-tagsherputs the post with others
Optimize: direct opening, sections, depth 150+, external sourceSearch hints in detailsMikeyanswer-engine heuristics, not her concern
Optimize: descriptive linksR6 vague-linkherone rule, written once
Optimize: accessible social imagecover-descriptionherR5: "R7 lists it"
Optimize: author identitymeta.authorReady, creditssuggestion no-nameher (words)
Accessibility: findings by outcomepreview.accessibilityDetected and Potential → Suggestions; Needs review → Worth a look (closed, never counted)herneeds-review items can't be "fixed"; they must not nag
Accessibility: code, file:line:col, WCAG references, countsdetailsMikey
Accessibility: "doesn't certify WCAG" note, rendered-page checklist (contrast, focus, keyboard, zoom, motion, targets, layouts, embeds)details: Check on the page yourselfMikeytheme matters, not post words
Accessibility: site document-language-missingdetails onlyMikeya site setting, would show on every post
Release kit: chapters, issues, description, Copyclient buildVideoReleaseKitWords for YouTube (title, description, tags, chapters, problems), engine rules ⚑her
Release kit: production workflow ○/✓ listone line "Where it's at: Editing" + Change → About this postherR5 owns productionStatus
Field review: privacy selectlocationPrivacyYour route › How much readers see (also About this post)her
Field review: trim metres (number)choice 200 m · 500 m ⚑ · 1 km · 2 km; any number in detailsher / Mikey
Field review: GPX file + "Analyze GPX locally"analyzeGpxchoose a file; read on this phone at onceher
Field review: issues (area, conditions, exact risk, no distance)fieldJournalReviewYour trip suggestions, + address checkher
Field review: facts, charts, "Published track"numbers, drawings of what readers see, one line saying what readers gether
Exact track staging and discardtrack-upload POST/DELETEsent with any save, held privately until live (G47) ⚑; discarded on change or leaveher (in words)G47
Publication review dialog (publish / schedule)research/reviewResearch checks in the sheet; same gateher (research writer)ADR 0123 kept
Acknowledge / withdrawresearch/review/acknowledgementsMark as checked toggleher
Review: code, validator, fingerprint, counts sentence, place in terminal wordsdetailsMikeyparity with openblog check
Review: links to Sources, Notebook, Atlas, Compare, Evidenceplace in words now; buttons in R11/R12—those screens don't exist yet
Research checks beside What will be public (previewBoundary)R12—
Evidence paneR12—
Recipe problems in See how it looksrecipeProblemsSuggestions; preview keeps one link to the sheetherone place per fact
Job check (R4 banner)job/checkNeeds fixing firstherone place per fact
Build warnings (preview.warnings)Site preview panedetails: Build notesMikey
Keys Alt+3 … Alt+5panesFind entriesMikeyStudio has no panes

Write after R7#

Two changes: Publish runs the checks first (see Flow), and a Before you publish card ends the side column, under R5's About this post. R6's Suggestions list ends with Check everything before you publish.

400 px                                       Desktop (>= 48rem): words 1fr | 22rem side
+------------------------------------------+
| Home > Posts > Pumpkin pie      [More v] |
| Draft · saved just now                   |  status (live)
| Title [Pumpkin pie                    ]  |
| ... words, cards (R6) ...                |
| > 2 suggestions for your words           |  R6 details; ends with link
|   ... [Check everything before you       |
|   publish]                               |
| When it appears ... Tags ... Cover ...   |
| +--------------------------------------+ |
| | About this post                    > | |  R5
| +--------------------------------------+ |
| +--------------------------------------+ |
| | Before you publish                 > | |  action-button secondary, full width:
| | 2 suggestions so far                 | |  name + readyLine()
| +--------------------------------------+ |
|==========================================|
| [See how it looks] [Save draft] [Publish]|  sticky bar
+------------------------------------------+
  • readyLine(state) (accessible name "Before you publish: "): never checked, none local: "Not checked yet"; never checked, R6 suggestions: "2 suggestions so far"; checked, unchanged since: "1 thing needs fixing" / "2 suggestions" / "Nothing to check"; changed since: "Changed since the last check". Published: card name Check this post.
  • See how it looks (parts/preview.js): the recipe problems banner goes; with any suggestions from the last check its notes show one line "2 things to look at before you publish." with Show them (closes the preview, opens the sheet).
  • R6's Suggestions: unchanged, plus the final link.

Before you publish (sheet)#

  • Job: "Is there anything I should look at before people see this?" side-sheet side="right", label "Before you publish" (published: "Check this post"), 28rem; full screen under 30rem; built once per Write in parts/before-publish.js.
  • Loads (in parallel, from the form as it stands, saved or not): R6 checkWords (local, at once); POST preview (G53 only: "checks" when available) for social, accessibility, recipeProblems, warnings, firstBodyLine; POST job/check on jobs; POST research/review when researchReviewApplies; Words for YouTube and trip rules (local). Re-runs 1.5 s after any change made while it's open, and on Check again.
  • Opens from: Publish/Schedule (first time, see When it opens by itself), the side card, More "Before you publish…", Find, R6's link, See how it looks' Show them, ?sheet=ready. Focus to the heading; from Publish, to the status line's heading so the count is read first.
400 px (full screen)                          Desktop: 28rem sheet over the right of Write
+------------------------------------------+
| Before you publish                    [x]|
| 1 thing needs fixing before your post    |  status, aria-live polite
| can go up. Also 2 suggestions.           |
| -- Needs fixing first (1) -------------  |  h3, only when any; tinted danger
| Add the town where you did the job.      |
|                              [Go to it]  |
| -- When it's shared -------------------  |  h3, always
| +--------------------------------------+ |  figure, the real card
| | [   cover picture   ]                | |
| | GRAMMI'S HOUSE                       | |
| | Pumpkin pie                          | |
| | Moist, spiced and easy. My mother'…  | |
| | grammishouse.com/pumpkin-pie/        | |
| +--------------------------------------+ |
| What Facebook, text messages and other   |
| apps show when someone shares it.        |
| No summary, so your first lines are      |  card note
| used. [Write a summary]                  |
| -- Suggestions (2) --------------------  |  h3
| A photo has no description, so people    |
| who can't see it won't know what it      |
| shows.          [Show me] [Describe it]  |
| No tags yet. A tag puts it with your     |
| other posts, like Thanksgiving.          |
|                            [Add a tag]   |
| > Worth a look (1)                       |  details, closed, never counted
| > For the person who set up your site    |  details, closed
|==========================================|
| [Keep writing]          [ Publish ]      |  sticky; Publish aria-disabled here
| Fix the things under Needs fixing first. |  note, only while blocked
| Your words are kept.                     |
+------------------------------------------+

At 320 px: the card's picture sits above its words at full width; buttons under each item wrap to their own line, full width; the footer stacks Publish above Keep writing; no sideways scroll.

Groups appear in this order, each only when it has something: Needs fixing first, When it's shared (always, posts with a signal), Suggestions, Your video (video posts), Your trip (trip posts), Research checks (research posts), Worth a look, details.

States and words#

StateWhenStatus lineFooter
Checkingserver checks out"Checking your post…" (loading-spinner inline); local suggestions already listed; card is a skeleton-blockPublish enabled, except research posts: while the research checks run (and each time they run again) Publish is aria-disabled with the note "Waiting for the research checks.", and pressing it says so and publishes nothing (readyState({ researchPending }) → waiting)
Nothing to checkall ran, none found"Nothing to check." Help: "Checks catch some things, not everything."Publish
Some suggestionssuggestions only"2 suggestions. None of them stop you publishing." / "1 suggestion. It doesn't stop you publishing."Publish
Something blocksany blocker"1 thing needs fixing before your post can go up." / "2 things need fixing…" + " Also 2 suggestions." when anyPublish aria-disabled + note "Fix the things under Needs fixing first. Your words are kept."
Couldn't check: no signalstatus 0"Waiting for a signal to check the rest. What's here was checked on this phone." (deviceNoun)Publish (Write keeps the post and says when it goes, as today)
Couldn't check: server5xx, 8 s limit"Some checks didn't run, so this list may be missing things. You can still publish." Check againPublish
Couldn't check: researchresearch/review failed"The research checks didn't run. A research post waits until they do." Check againPublish aria-disabled
Staleedited while open"Checking again…"unchanged
Published, unchangedheading Check this post; states as aboveClose only
Published, changedsameKeep writing, Update

Scheduling: the footer says Schedule; Make it a draft again isn't offered here. Pressing an aria-disabled Publish focuses the first blocker and says "Fix this first." politely.

When it opens by itself ⚑#

shouldOpenOnPublish({ state, intent, result, research }) (pure):

  • Only when the post goes up for the first time (draft or new → published or scheduled). Update never opens it, except when something blocks (job check, as R4).
  • Opens when the checks found any blocker, any suggestion, the exact route, couldn't check (server), or the post is a research post (always, even with nothing found: ADR 0123).
  • Doesn't open when nothing was found, when only Worth a look items exist, or with no signal (the save path already keeps her work and says "waiting for a signal").
  • Publish from inside the sheet publishes; it never reopens it.

Needs fixing first#

Only what the build refuses: R4 job check problems (jobProblemWords, unchanged, with Go to it), research findings in the blocking group (shown under Research checks, counted here), and a preview 422 (build, G46): "Something in this post stops your blog from building it. Tell the person who set up your site." (server sentence in details). R4's job banner on Write is replaced by this group; Save draft always works.

When it's shared (parts/share-card.js)#

The real card from preview.social, drawn as text in a figure (figcaption, visually hidden: "How your post looks when it's shared"): picture (cardImageSrc(image, meta.siteUrl): the site-relative path when the address is the blog's own, else the https address, referrerpolicy="no-referrer", alt = imageAlt), site name, title, description (or the first lines when empty), address shown as host + path. Help under it: "What Facebook, text messages and other apps show when someone shares it."

Card notes (not counted as suggestions; one place per fact):

NoteWhenButton
"No summary, so your first lines are used."description emptyWrite a summary → About this post › Summary
"Google usually shows about 160 letters; this summary has 212. The rest may be cut off."over 160Change the summary
"No picture. Add a cover photo and shared links show it."no imageAdd a cover photo → focuses Cover photo
"The picture couldn't be shown here. It may still show when shared."image fails to load—

The same part replaces R5's card in About this post: real card when the sheet has a signal (asked 1.5 s after title, summary or cover change), else R5's rough card with "Roughly how it looks. The real card shows when you have a signal."

Suggestions#

One list, in post order, merged by mergeSuggestions(local, server): R6 suggestions first by place; a server finding at the same place and of the same kind is dropped (image-alt-* ↔ picture-description, link-name-empty ↔ empty-link, link-purpose-review ↔ vague-link, heading-level-skip ↔ heading-skip, raw-html-review ↔ html, recipe no-author ↔ no-name, recipe no-image ↔ the card note). Each item: sentence, Show me (closes the sheet, focuses and selects the place, or opens the card's Change, R6), and Fix it where R6 has one. After any fix: toast "Fixed." with Undo, and the list re-runs.

From the engine's accessibility checks (a11yWords(code, finding)):

CodeOutcomeHer layerFix
image-alt-review on coverAltNeeds reviewSuggestion cover-description: "Your cover photo has no description, so people who can't see it won't know what it shows."Describe it (inline "Describe the picture", writes coverAlt)
image-alt-placeholder on coverAltPotential"Your cover photo's description looks like a file name (“IMG_2041.jpg”). Say what it shows instead."Describe it
image-alt-review in the wordsNeeds reviewR6 picture-descriptionR6
image-alt-placeholder in the words / before-and-afterPotential"A photo's description looks like a file name (“IMG_2041.jpg”). Say what it shows instead."Describe it (R6's own rule picture-file-name, the engine's placeholder_alt word for word, so it is listed once, under the words too; a before-and-after card's picture keeps Show me)
link-name-emptyDetectedR6 empty-linkR6
link-purpose-reviewPotentialR6 vague-link (with the server's words in quotes)R6
heading-level-skipPotentialR6 heading-skipR6
table-structure-reviewNeeds reviewWorth a look: "Your table: check that the top row names each column, like Weight and Time."Show me
media-alternatives-reviewNeeds reviewWorth a look: "Your video or sound: if there's talking, captions or a written version help people who can't hear it."Show me
embed-accessibility-reviewNeeds reviewWorth a look: "Something from another website is shown in your post. Check that it works without a mouse."Show me
raw-html-reviewNeeds reviewdetails only (R6 html)—
document-language-missingDetected, sitedetails only—
any otherDetected/PotentialSuggestion: "Something here may be hard for some readers to use." (server sentence in details)Show me
any otherNeeds reviewWorth a look, same sentenceShow me

Search and sharing (searchHints(form, meta), lifted from analyzeReadiness and split):

IdHer wordsFix
title-long (> 65)"Google shows about 65 letters of a title; this one has 82. The rest may be cut off."Show me (title)
no-tags (posts, none)"No tags yet. A tag puts it with your other posts, like Thanksgiving."Add a tag (focuses Tags)
no-name (!meta.authorReady and no credited person)"Your blog doesn't have your name yet, so the post doesn't say who wrote it. Tell the person who set up your site."—

Recipe advice: adviceFor (R0) codes as suggestions with Go to it. One word fix: numbered-step reads "Step 3 starts with its own number. Take it out; your blog numbers the steps." (today it says "Studio").

Mikey's Search hints (details, never counted): "Summary is 38 letters; 50–180 is usual.", "Line under the title is 172 letters; 160 or fewer reads as one line.", "The opening paragraph is 412 letters; 40–350 answers the question early.", "No section headings (## or ###).", "212 words; 150 or more when the topic needs explaining.", "No link to an outside source.". Each has its rule id.

Your video (video posts)#

One row: "Words for YouTube: ready to copy · 5 chapters" or "Words for YouTube: 2 things YouTube won't take" (these count as suggestions: they never stop the post), "Where it's at: Editing" with Change (About this post › This video), and Words for YouTube. A note when the post isn't live: "Keep the video private on YouTube until this post is on your site."

Your trip (trip posts)#

One row saying what readers get (routeLine): "Route: readers see the numbers only." / "…a drawing without the first and last 500 m." / "…a drawing of the whole route." / "…can download your exact route." / "No route added." with Add your route or Change your route. Then suggestions (tripSuggestions(fields), from fieldJournalReview):

IdHer wordsFix
exact-route"Readers can see exactly where you started and finished. Make sure it doesn't show a home, a campsite, or a place where rare plants or animals live." (alert-banner warning, always first while exact)Show less of the route (opens Your route at the choice)
no-area"Add where you went, as an area that's safe to share, like the Dolly Sods."Go to it (About this post › Where)
area-looks-like-address"“12 Laurel Lane” looks like a street address. Use an area name instead, like a park or a mountain range." (R4 looksLikeAddress; shows only for a post written elsewhere, because the field itself refuses it, below)Go to it

The Where field refuses an address (Safety): About this post › Where on a trip post uses R4's town rule (looksLikeAddress: a digit or a comma). Before any save, an autosave too, it stops the save with the field error "Just an area's name, not a street address or a house number." (trip.areaField), shown on the field at once when About this post is open, and the status "Not saved yet: one thing in About this post needs a look." with Go to it; her words stay in the form. | no-conditions | "Add the conditions: weather, trail, water, what you saw." | Go to it | | no-distance | "Add your route, or fill in the distance, so readers know how far you went." | Add your route |

Research checks (research posts, and posts that publish citations)#

From POST research/review, rendered by parts/research-review.js with words from review-rules.js. Intro (always): "These are prompts from your research checks, not verdicts: nothing here says the post is true or complete. Only what your blog refuses stops publishing."

| -- Research checks --------------------  |  h3
| These are prompts from your research...  |
| Found by a check: 2 (1 checked). Might   |  reviewCountsWords, polite
| need a look: 0. Only you can check: 3.   |
| Needs fixing before it can go up (1)     |  h4, danger tint
| The citation [@smith2020] isn't in your  |  server message (bdi)
| sources.                                 |
| Next: add it to your sources, or take    |  server repair (bdi)
| it out.                                  |
| In your words, near “As Smith showed…”   |  place words
| This can't be marked as checked: your    |  gate note
| blog refuses it, so it has to be fixed.  |
|                              [Show me]   |
| Found by a check (2)                     |  h4
| ... message / Next / place ...           |
| [Show me]  [Mark as checked]             |  toggle, aria-pressed
| You marked this as checked. It stays on  |  when pressed
| the list until it changes.               |
Group (name)HeadingHelp
blocking"Needs fixing before it can go up (1)""Your blog won't publish the post with these. They can't be marked as checked."
detected"Found by a check (2)""Fix them, or mark them as checked if nothing needs to change. They don't stop you publishing."
potential"Might need a look (1)""They don't stop you publishing."
needs-review"Only you can check these (3)""Check them against your sources. They don't stop you publishing."
  • Gate notes (non-advisory): withholds "This can't be marked as checked. The comparison stays off your site until you look at the place and approve it again."; refuses-when-published "This can't be marked as checked: once the post is published your blog refuses this citation, so fix it instead. Until then it only warns."; others "This can't be marked as checked: your blog refuses it, so it has to be fixed."
  • Place words (reviewPlaceWords(finding, body)): post line → "In your words, near “<first 30 letters of that line>…”"; post field → "In " ("In Summary"); another post → "In your post “”"; claim/source/passage/note/entry/relationship/dating/comparison → "In your research: claim c-12" (the id is the writer's own); files and libraries → "In your research notes". <strong>Show me</strong> for lines and fields; research objects get their <strong>Open it</strong> buttons in R11/R12 (until then none).</li> <li><strong>Mark as checked</strong> (<code>action-button</code> toggle, constant name, <code>aria-pressed</code>, described by the message): PUT/DELETE acknowledgements with the review's <code>revision</code>. Status "Marked as checked. It stays on the list and in the count." / "No longer marked as checked." Stale mark: "You marked an earlier version of this as checked; it has changed since. Mark it again if it still needs no change." Disabled while a mark is saving or without a <code>revision</code>.</li> <li><strong>Not reviewed:</strong> "Not checked: <server sentence>". <strong>Marks unreadable</strong> (<code>acknowledgements.error</code>): "Marks can't be read right now, so none are shown or saved. Tell the person who set up your site." (file and sentence in details).</li> <li><strong>Nothing found:</strong> "The research checks found nothing for this post. Checks can't see everything."</li> <li><strong><code>applies: false</code></strong> (the post stopped being research while open): the group goes.</li> </ul> <h3 id="for-the-person-who-set-up-your-site-sheet-details">For the person who set up your site (sheet details)<a class="ob-heading-anchor" href="#for-the-person-who-set-up-your-site-sheet-details" aria-label="Link to this section">#</a></h3> <p><code>details</code>, closed; open per visit (sessionStorage <code>studio-ready-details</code>). Rows: <strong>Shared card</strong> (OpenGraph type, X card, image address, page address); <strong>Accessibility</strong> (every finding: code, outcome, <code>file:line:col</code> or field, message, repair, WCAG references, and "These checks find some source problems. They don't certify WCAG conformance."); <strong>Check on the page yourself</strong> (colour contrast, visible focus, keyboard order, zoom and reflow, reduced motion, target size, layouts, things from other sites); <strong>Search hints</strong>; <strong>Recipe codes</strong>; <strong>Build notes</strong> (<code>warnings</code>); <strong>Research</strong> (<code>openblog check</code>'s counts sentence verbatim from <code>publicationReviewCountsText</code>, each finding's code, validator, gate, terminal place); <strong>Raw</strong> server sentences for anything worded generically.</p> <h2 id="words-for-youtube-sheet-video-posts">Words for YouTube (sheet, video posts)<a class="ob-heading-anchor" href="#words-for-youtube-sheet-video-posts" aria-label="Link to this section">#</a></h2> <ul> <li><strong>Job:</strong> "Copy what YouTube needs, right." <code>side-sheet</code> "Words for YouTube", 28rem, full screen under 30rem, <code>parts/youtube-words.js</code>. Opens from Your video, More "Words for YouTube…", Find, About this post › This video ("Get the words for YouTube"), <code>?sheet=youtube</code>.</li> <li><strong>Loads:</strong> G50 <code>POST video/release</code> when available; until then <code>releaseKit()</code> from <code>video-rules.js</code>, which mirrors the engine (<code>chapters</code>, <code>chapter_problems</code>, <code>compose_description</code>, tag count). Re-runs as she types in Write.</li> <li><strong>Lede:</strong> "Paste these into YouTube when you put your video up. Nothing here changes your video."</li> </ul> <pre><code>400 px (full screen) +------------------------------------------+ | ‹ Before you publish | only when opened from it | Words for YouTube [x]| | Paste these into YouTube when you put | | your video up. Nothing here changes ... | | -- Before YouTube will take these (1) - | h3, only when any | The first chapter has to start at 0:00. | | [Show me] | | Title 82 of 100 letters | | [Zhalendor, Episode 1: The Gate of Em… ] | read-only text-field | [Copy title] | | Description | | +--------------------------------------+ | read-only, rows 10, mono off | | Seven travelers reach a sealed ... | | | | Read the article: grammishouse.com/… | | | | Chapters | | | | 0:00 The gate opens ... | | | +--------------------------------------+ | | [Copy description] | primary | Tags Fantasy, Animation [Copy] | only with tags | 5 chapters, from the lines in your words | | that start with a time. | | Where it's at: Editing [Change] | | Keep the video private on YouTube until | note, not live | this post is on your site. | | > For the person who set up your site | |==========================================| | [ Done ] | +------------------------------------------+ </code></pre> <ul> <li><strong>Chapter help</strong> (under the count, and the empty state): "Chapters are lines in your words that start with a time, like “0:00 Getting started”. The first starts at 0:00, and YouTube needs at least three, each 10 seconds or longer." No chapters: "No chapters. That's fine; YouTube shows the video without them."</li> <li><strong>Copy:</strong> "Title copied." / "Description copied. Paste it into YouTube." / "Tags copied." Refused: the box's text is selected and the toast says "Select the words and copy them."</li> <li><strong>Primary:</strong> <strong>Copy description</strong>. Problems never disable Copy (YouTube decides); they're listed above.</li> <li><strong>No address yet</strong> (never saved): the "Read the article" line is left out and a note says "Save your post to add its address."</li> </ul> <table><thead><tr><th>Code</th><th>Her words</th><th>Show me / Go to it</th></tr></thead><tbody> <tr><td><code>title-missing</code></td><td>"Give your post a title first."</td><td>title</td></tr> <tr><td><code>title-too-long</code></td><td>"YouTube takes titles of up to 100 letters; this one has 112. Shorten the title."</td><td>title (Mikey: YouTube title in About this post details)</td></tr> <tr><td><code>title-angle-brackets</code></td><td>"YouTube doesn't allow < or > in a title. Take them out of the title."</td><td>title</td></tr> <tr><td><code>description-too-long</code></td><td>"These words are too long for YouTube, which takes 5,000 at most, counting the chapters. Shorten the summary."</td><td>About this post › Summary</td></tr> <tr><td><code>description-angle-brackets</code></td><td>"YouTube doesn't allow < or > in the description. Take them out of the summary, the chapters or the AI note."</td><td>first place found</td></tr> <tr><td><code>tags-too-long</code></td><td>"YouTube takes up to 500 letters of tags; yours have 530. Use fewer or shorter tags."</td><td>Tags</td></tr> <tr><td><code>chapters-first-not-zero</code></td><td>"The first chapter has to start at 0:00."</td><td>that line</td></tr> <tr><td><code>chapters-too-few</code></td><td>"YouTube shows chapters only when there are at least 3. Add more, or take the times out."</td><td>first chapter line</td></tr> <tr><td><code>chapters-out-of-order</code></td><td>"The chapters' times have to go up, one after the other."</td><td>first line out of order</td></tr> <tr><td><code>chapters-duration-missing</code></td><td>"Add how long the video is, so the last chapter can be checked."</td><td>About this post › How long it is</td></tr> <tr><td><code>chapters-too-short</code></td><td>"Each chapter has to be at least 10 seconds long, the last one too."</td><td>first short one</td></tr> <tr><td><code>article-not-public</code> (note)</td><td>"Keep the video private on YouTube until this post is on your site."</td><td>—</td></tr> <tr><td>other</td><td>"YouTube may not take these words as they are." (sentence in details)</td><td>—</td></tr> </tbody></table> <p><strong>Mikey's details:</strong> codes; the engine's steps for YouTube Studio verbatim; release status (Ready / Manual / Blocked) and <code>digest</code> (G50); file problems (<code>source-*</code>, <code>caption-*</code>, <code>thumbnail-*</code>, <code>accessibility-no-text-alternative</code>, <code>captions-by-hand</code>) with the server's sentences; "Check or write out the full release with <code>openblog video <slug></code>; uploading is in docs/video-production.md §Upload an approved release."</p> <h2 id="your-route-sheet-trip-posts">Your route (sheet, trip posts)<a class="ob-heading-anchor" href="#your-route-sheet-trip-posts" aria-label="Link to this section">#</a></h2> <ul> <li><strong>Job:</strong> "Show my route without showing where I live." <code>side-sheet</code> "Your route", 28rem, full screen under 30rem, <code>parts/route-sheet.js</code>. Opens from Your trip, About this post › This trip outdoors (<strong>Add your route</strong> / <strong>Change your route</strong>, beside How much of the place readers see), More, Find ("Add your route", "How much of the route readers see"), <code>?sheet=route</code>.</li> </ul> <pre><code>400 px (full screen) +------------------------------------------+ | Your route [x]| | Choose the route file from your hiking | | app or watch. It stays on this phone: | | only the numbers and a drawing go to | | your blog. | | +--------------------------------------+ | file-drop, accept ".gpx" | | Choose a route file | | | +--------------------------------------+ | | In AllTrails, Strava or Gaia GPS, use | the one help sentence naming GPX | Export or Share and choose GPX. | | -- after a file is read ------------- | | From “ridge-walk.gpx”: | polite | 8.4 km · 420 m climb · 2 hr 15 min | | This replaces the distance, climb and | only when they differ from the post | time in your post. | | How much of the route readers see | radio-group legend | (o) Don't show it | | Readers see the numbers only. | | ( ) The shape, without where it starts | | and ends | | ( ) The whole shape | | ( ) The exact route | | Show a drawing of the climb [ off ] | toggle-switch | What readers see | h3 | [ no drawing ] "Readers see the | live | numbers only: 8.4 km, 420 m, 2 hr 15." | | > For the person who set up your site | |==========================================| | [Never mind] [Use this route] | +------------------------------------------+ </code></pre> <p><strong>Lede</strong> (<code>routeLede(choice, phone)</code>, true for the choice and redrawn with it): Don't show it: "…It stays on this phone: only the numbers go to your blog, and a drawing of the climb if you switch it on."; the two shapes: "…It stays on this phone: only the numbers and a drawing go to your blog."; the exact route: "…It's read on this phone, then a cleaned copy of the route file goes to your blog too, times and your app's details taken out."</p> <p><strong>Choices</strong> (<code>radio-group</code>; writes <code>locationPrivacy</code>; R5's field uses the same labels ⚑):</p> <table><thead><tr><th>Value</th><th>Label</th><th>Help</th><th>Drawing shown</th></tr></thead><tbody> <tr><td><code>hidden</code> (default, always preselected for a new file)</td><td><strong>Don't show it</strong></td><td>"Readers see the numbers only."</td><td>none; climb drawing only with the switch on (default <strong>off</strong>) ⚑</td></tr> <tr><td><code>trimmed</code></td><td><strong>The shape, without where it starts and ends</strong></td><td>"A drawing with no map and no place names. The first and last part are left off, and so is anywhere it comes close to where it starts or ends." + <strong>Leave off at each end</strong> <code>select-field</code>: About 200 m (650 ft) · About 500 m (1,600 ft) (default) ⚑ · About 1 km (0.6 mi) · About 2 km (1.2 mi)</td><td>trimmed shape; climb drawing (switch default on)</td></tr> <tr><td><code>approximate</code></td><td><strong>The whole shape</strong></td><td>"A drawing with no map and no place names. Someone who knows the area may recognise where it starts."</td><td>whole shape; climb</td></tr> <tr><td><code>exact</code></td><td><strong>The exact route</strong></td><td>"Readers can download your route file and see exactly where you started and finished."</td><td>whole shape; climb; "Readers can download it."</td></tr> </tbody></table> <ul> <li><strong>Choosing exact</strong> asks once (<code>modal-dialog</code>): "Show the exact route?" / "Anyone can download it and see exactly where you started and finished. Times and your app's details are taken out first." <strong>Show it</strong> / <strong>Keep it hidden</strong> (focused). <strong>Keep it hidden</strong> leaves the previous choice.</li> <li><strong>Leaving off the ends</strong> (<code>trimEnds</code>): the chosen distance is walked from the start and back from the finish across the file's parts (a part shorter than what's left to walk goes whole, and the walk goes on into the next), and every point closer than that distance in a straight line to where the route started or finished is left off too, so a later part that starts back at home, or a loop that passes it, draws nothing there. A part is split where points go (no line across the gap). Nothing left to draw is <code>too-short-to-trim</code>. The server never gets the file for this choice (only numbers and the drawing), so it can't re-trim; the rule is held by tests including QA's (50 m part, then 3 km from home).</li> <li><strong>What readers see</strong> is drawn from exactly the values that will be written (<code>routeValues</code>), never from the file's points: <code>svg</code> <code>role="img"</code>, named "Drawing of your route as readers see it, without the first and last 500 m" / "…the whole route" / "Drawing of the climb". Same 1000 × 100 shape the published page draws.</li> <li><strong>Use this route</strong> writes <code>distanceKm</code>, <code>elevationGainM</code> (only if the file has heights), <code>duration</code> (only if it has times; else note "No times in the file, so How long stays as you wrote it."), <code>locationPrivacy</code>, <code>routeShape</code> (empty for hidden), <code>elevationProfile</code> (empty unless the drawing is on), and clears <code>route</code> unless exact. An ordinary edit (drafts save in 3 s; published waits for Update). Toast: "Route added. <routeLine>" with <strong>Undo</strong> (all seven keys back, and a staged file discarded).</li> <li><strong>Exact:</strong> on <strong>Use this route</strong> the file is cleaned on the phone (<code>cleanGpx</code>: only track points with position and height; times, waypoints, names, app and device details removed) and sent to <code>POST track-upload</code>; the token stays in sessionStorage <code>studio-track:<path></code> and is sent with the next save, draft or not ⚑: the server holds the file in <code>.openblog/pending-tracks/held/</code> until the post is live (G47), so Schedule works as for any post. Status under the choice: "Your route file waits, private, until your post is on your site." No signal: "Waiting for a signal to send your route file. The numbers and drawing are in. It sends while this page is open."</li> <li><strong>Changing the choice later</strong> (no file in this visit): to <strong>Don't show it</strong> works at once (clears <code>routeShape</code>, <code>route</code>, and <code>elevationProfile</code> unless the switch is on). Anything else asks for the file: "Choose your route file again to show it this way." The old choice stays until then. On a published exact post, choosing less: "Your route file comes off your site when you press Update." (the server moves it to <code>.openblog/trash/tracks/</code>).</li> <li><strong>Take the route off</strong> (sheet More / About this post): clears the six route keys; toast "Route taken off." <strong>Undo</strong>.</li> <li><strong>Leaving</strong> with a file read but not used asks once: "Use this route?" / "You chose a file but didn't add it." <strong>Use it</strong> / <strong>Leave it out</strong>. A staged file not used is discarded (<code>DELETE track-upload</code>), and on leaving Write.</li> <li><strong>Nothing kept on the phone:</strong> the file's text lives only in this page's memory. It is never put in sessionStorage, localStorage or the kept copy (<code>kept.js</code> keeps only the written values).</li> </ul> <p><strong>File problems</strong> (<code>gpxProblem(error)</code>, under the file-drop, <code>role="alert"</code>):</p> <table><thead><tr><th>Code</th><th>Her words</th></tr></thead><tbody> <tr><td><code>not-gpx</code></td><td>"That isn't a route file. Choose the file that ends in .gpx."</td></tr> <tr><td><code>too-big</code></td><td>"That route file is too big (12 MB). Files up to 10 MB work."</td></tr> <tr><td><code>too-many-points</code></td><td>"That route has too many points to read here. Shorten it in your hiking app, or share a simpler copy."</td></tr> <tr><td><code>no-route</code></td><td>"That file has no route in it. Some apps save only places; choose the one with your track."</td></tr> <tr><td><code>unsafe</code></td><td>"That file has something in it besides a route, so it wasn't read."</td></tr> <tr><td><code>unreadable</code></td><td>"That file couldn't be opened. Choose it again."</td></tr> <tr><td><code>too-short-to-trim</code></td><td>"Your route is too short to leave that much off each end. Choose less, or don't show it."</td></tr> </tbody></table> <p><strong>Mikey's details:</strong> points read and kept, track parts, trim in metres (<code>text-field</code> 0–5000, "Any number of metres."), the keys and values that will be written, for exact: cleaned size, what was removed, staged or not, where it will live (<code>static/tracks/uploads/<year>/<name>.gpx</code>), and "Staged copies are kept privately for up to a day."</p> <h2 id="errors-by-code">Errors by code<a class="ob-heading-anchor" href="#errors-by-code" aria-label="Link to this section">#</a></h2> <table><thead><tr><th>Answer</th><th>Where</th><th>Her words</th></tr></thead><tbody> <tr><td><code>preview</code> 422 <code>build</code> (G46; until then any 422)</td><td>Needs fixing first</td><td>"Something in this post stops your blog from building it. Tell the person who set up your site." (sentence in details)</td></tr> <tr><td><code>preview</code> 413</td><td>status</td><td>"This post is too long to check in one piece. You can still publish."</td></tr> <tr><td><code>preview</code> / <code>research/review</code> / <code>job/check</code> 401</td><td>shell</td><td>"Sign in again"; the sheet and her words stay</td></tr> <tr><td><code>preview</code> 0</td><td>status</td><td>couldn't-check (no signal)</td></tr> <tr><td><code>preview</code> 5xx or 8 s</td><td>status</td><td>couldn't-check (server), <strong>Check again</strong></td></tr> <tr><td><code>research/review</code> 0 / 5xx</td><td>Research checks</td><td>"The research checks didn't run. A research post waits until they do." <strong>Check again</strong></td></tr> <tr><td><code>research/review</code> 422</td><td>Research checks</td><td>"Your blog couldn't read this post to check it. Tell the person who set up your site."</td></tr> <tr><td>acknowledgements 409 <code>changed</code> (G51)</td><td>that finding</td><td>"This list was changed on another computer. Here it is again; mark it again if you still need to." (review reloads)</td></tr> <tr><td>acknowledgements 422 / 413</td><td>that finding</td><td>"That wasn't marked. Nothing changed." (sentence in details)</td></tr> <tr><td>acknowledgements 0</td><td>that finding</td><td>"Waiting for a signal. Nothing was marked."</td></tr> <tr><td><code>track-upload</code> 413 <code>too-large</code> (G49)</td><td>Your route</td><td>"That route file is too big for your blog (8 MB at most). Show less of the route, or ask the person who set up your site."</td></tr> <tr><td><code>track-upload</code> 415 <code>not-gpx</code> / <code>unsafe</code> / <code>not-utf8</code></td><td>Your route</td><td>"Your blog couldn't read that route file. Choose another, or show less of the route."</td></tr> <tr><td><code>track-upload</code> 400 <code>empty</code></td><td>Your route</td><td>"That route file is empty. Choose it again."</td></tr> <tr><td>save 422 <code>track-expired</code></td><td>Write banner</td><td>"Your route file waited too long. Choose it again in Your route, then publish." <strong>Choose it again</strong></td></tr> <tr><td>save 422 <code>track-needs-exact</code> / <code>bad-token</code></td><td>Write banner</td><td>"Your route file didn't go with the post. Choose it again in Your route."</td></tr> <tr><td><code>track-upload</code> DELETE fails</td><td>none</td><td>silent retry once; details: "A private copy waits on your blog and is cleared within a day."</td></tr> <tr><td><code>job/check</code></td><td>Needs fixing first</td><td>R4 table</td></tr> <tr><td>copy refused</td><td>YouTube sheet</td><td>"Select the words and copy them."</td></tr> </tbody></table> <p>Until G46/G49/G51, <code>readyProblem(error)</code> maps today's strings (<code>"staged track expired"</code>, <code>"Tracks can be at most"</code>, <code>"GPX tracks must be UTF-8"</code>, <code>"acknowledgements changed"</code>) to these codes; anything unmatched uses the row's general sentence.</p> <h2 id="no-signal">No signal<a class="ob-heading-anchor" href="#no-signal" aria-label="Link to this section">#</a></h2> <ul> <li>Local checks (R6 suggestions, search hints, recipe advice Studio owns, trip suggestions, Words for YouTube) work without a signal. The card, accessibility, recipe engine advice and research checks say "Waiting for a signal" in the status line.</li> <li>Publish with no signal skips the checks and goes the usual way (kept on this phone; Write says when it goes). The sheet doesn't open.</li> <li>Your route works offline for every choice except exact (the file waits in memory, sent when the signal is back while the page is open).</li> <li>A mark as checked needs a signal; nothing is queued.</li> </ul> <h2 id="undo">Undo<a class="ob-heading-anchor" href="#undo" aria-label="Link to this section">#</a></h2> <table><thead><tr><th>Action</th><th>Undo</th></tr></thead><tbody> <tr><td>Fix it (any)</td><td>toast <strong>Undo</strong>: the box or field back exactly (R6)</td></tr> <tr><td>Describe it (cover)</td><td>toast <strong>Undo</strong>: <code>coverAlt</code> back</td></tr> <tr><td>Use this route</td><td>toast <strong>Undo</strong>: seven keys back; staged file discarded</td></tr> <tr><td>Change of route choice</td><td>toast <strong>Undo</strong>: previous choice and values</td></tr> <tr><td>Take the route off</td><td>toast <strong>Undo</strong></td></tr> <tr><td>Mark as checked / unmark</td><td>press again (toast "Marked as checked." with <strong>Undo</strong> = DELETE)</td></tr> <tr><td>Publish</td><td>as today (Take it off my site)</td></tr> <tr><td>Copy</td><td>nothing to undo</td></tr> </tbody></table> <h2 id="what-each-owner-sees">What each owner sees<a class="ob-heading-anchor" href="#what-each-owner-sees" aria-label="Link to this section">#</a></h2> <table><thead><tr><th></th><th>Grammi</th><th>Dana</th><th>Mikey</th></tr></thead><tbody> <tr><td>Opens by itself</td><td>first Publish of a recipe with suggestions (usually photo descriptions, a course)</td><td>first Publish of a job; any Publish that the job check stops</td><td>same, plus details open per visit</td></tr> <tr><td>Needs fixing first</td><td>(rarely) a build problem</td><td>job check problems</td><td>+ server sentences, codes</td></tr> <tr><td>When it's shared</td><td>the card, summary and picture notes</td><td>same</td><td>OpenGraph type, X card, addresses</td></tr> <tr><td>Suggestions</td><td>photos, links, headings, tags, title, recipe advice</td><td>photos, tags, title</td><td>+ rule ids, lines, WCAG refs, search hints</td></tr> <tr><td>Worth a look</td><td>table, video</td><td>before-and-after, video</td><td>+ raw HTML, site language, page checklist</td></tr> <tr><td>Your video / trip / research</td><td>only on those posts</td><td>—</td><td>+ YouTube steps, digest, file problems; route numbers, metres, file path; terminal review words</td></tr> </tbody></table> <h2 id="rules-each-part-uses-static-imports-dom-free-tested">Rules each part uses (static imports, DOM-free, tested)<a class="ob-heading-anchor" href="#rules-each-part-uses-static-imports-dom-free-tested" aria-label="Link to this section">#</a></h2> <table><thead><tr><th>Part</th><th>File</th><th>Functions</th></tr></thead><tbody> <tr><td>Checklist</td><td>new <code>parts/ready-rules.js</code></td><td><code>readyState({ local, server, job, research, failure, online })</code> → <code>{ state, words, blocks, suggestions, worth }</code>, <code>readyLine</code>, <code>shouldOpenOnPublish</code>, <code>mergeSuggestions</code>, <code>a11yWords(code, finding)</code>, <code>searchHints(form, meta)</code> (from <code>analyzeReadiness</code>, split <code>her</code>/<code>hints</code>), <code>cardNotes(social, fields)</code>, <code>cardImageSrc(image, siteUrl)</code>, <code>bodyPlace(line, firstBodyLine, body)</code>, <code>readyProblem(error)</code></td></tr> <tr><td>Research review</td><td>new <code>parts/review-rules.js</code> (lifted from <code>admin.js</code>)</td><td><code>researchReviewApplies</code>, <code>REVIEW_GROUP_WORDS</code>, <code>gateWords</code>, <code>reviewPlaceWords</code>, <code>reviewTarget</code>, <code>publicationReviewCountsText</code> (verbatim, Mikey), <code>reviewCountsWords</code>, <code>markWords(state)</code>, <code>acknowledgementRequest(entry, revision)</code></td></tr> <tr><td>Video</td><td>new <code>parts/video-rules.js</code></td><td><code>videoChapters(body)</code>, <code>chapterProblems(chapters, duration)</code>, <code>durationSeconds</code>, <code>videoDescription({ summary, url, chapters, ai })</code>, <code>youtubeTagsChars</code>, <code>releaseKit(fields, body, { url, tags, live })</code>, <code>releaseWords(code, detail)</code></td></tr> <tr><td>Route</td><td>new <code>parts/route-rules.js</code></td><td><code>analyzeGpx(source, { privacy, trimMeters = 500 })</code> (lifted; heights <code>null</code> when absent), <code>trimEnds(segments, trim)</code>, <code>cleanGpx(source)</code>, <code>routeValues(analysis, privacy, { climb })</code>, <code>routeLine(fields)</code>, <code>routeChange(from, to, haveFile)</code>, <code>tripSuggestions(fields)</code> (from <code>fieldJournalReview</code>), <code>gpxProblem(error)</code>, <code>durationWords(seconds)</code>, <code>TRIM_CHOICES</code></td></tr> <tr><td>Words</td><td><code>parts/recipe-advice.js</code></td><td><code>numbered-step</code> wording fix</td></tr> <tr><td>Routing</td><td><code>router.js</code></td><td><code>PANE_SHEETS</code> in <code>legacyRoute</code></td></tr> </tbody></table> <ul> <li><strong>Port:</strong> <code>admin-readiness</code> → <code>studio-ready-rules</code> (her/hint split, no score); <code>admin-behavior</code> "accessibility findings are grouped…" → <code>studio-ready-rules</code>; "GPX analysis…", "field review…" → <code>studio-route-rules</code>; "video release kits…" → <code>studio-video-rules</code> (expected description gains the article line; zero chapters gives no problem: both changes asserted); <code>admin-publication-review</code> post cases (applies, groups/codes order, withholds note, only blocking blocks, mark keeps listed and counted, refused mark changes nothing, every finding has a place, not reviewed / unreadable marks / not applicable) → <code>studio-review-rules</code> + <code>studio-research-review.spec.mjs</code>; site cases → R12; <code>admin-readiness-report</code> place and counts cases → <code>studio-review-rules</code>, site cases → R12; browser <code>publication-review.spec</code> → <code>studio-research-review.spec.mjs</code>.</li> <li><strong>New:</strong> <code>releaseKit</code> equals the engine's <code>youtube_preview</code> title/description/tags/problem codes on every video post in <code>examples/</code> and <code>content/</code> (fixture written by a Rust test); <code>cleanGpx</code> output holds no <code><time></code>, <code><wpt></code>, <code><metadata></code>, <code><extensions></code>, <code><name></code>, <code><link></code> and still passes <code>validate_gpx</code>; hidden writes no <code>routeShape</code> and no <code>elevationProfile</code> with the switch off; default trim is 500; a route shorter than twice the trim is <code>too-short-to-trim</code>; a draft autosave never sends <code>trackToken</code>; Schedule is unavailable with an unsent exact route; Publish with nothing found opens no sheet; Update opens it only with a blocker; a research post always opens it; a cover with no description is listed once; Worth a look never counts; no her-layer string in <code>ready-rules</code>, <code>route-rules</code>, <code>video-rules</code>, <code>review-rules</code>, <code>recipe-advice</code> contains "Studio", "Admin" or a banned word (one test reads the word tables).</li> <li><strong>Browser:</strong> <code>studio-before-publish.spec.mjs</code> (first publish opens with suggestions, Fix it + Undo, blocked job, 320 px, axe, keyboard only), <code>studio-route.spec.mjs</code> (file read offline, choices and drawings, exact confirm, exact sent with a draft save and held privately until Publish, Take it off + Undo), <code>studio-youtube.spec.mjs</code> (copy, problems, Show me selects the chapter line), <code>studio-research-review.spec.mjs</code>.</li> </ul> <h2 id="accessibility-and-keyboard">Accessibility and keyboard<a class="ob-heading-anchor" href="#accessibility-and-keyboard" aria-label="Link to this section">#</a></h2> <ul> <li><strong>Sheet order:</strong> heading, status, Needs fixing first, When it's shared, Suggestions, Your video, Your trip, Research checks, Worth a look, details, footer. Each group an <code>h3</code> with its count in the text ("Suggestions (2)"); research groups <code>h4</code>.</li> <li><strong>Live regions:</strong> the status line (<code>role="status"</code>, polite) says each state once; per-item results ("Fixed.", "Marked as checked…") go to the toast region. The check re-running after a fix doesn't re-announce unchanged counts.</li> <li><strong>Names:</strong> item buttons carry their item: "Show me: a photo with no description, “Pie cooling”", "Describe it: cover photo", "Mark as checked: the citation [@smith2020]", "Copy description". Disabled Publish is <code>aria-disabled="true"</code>, <code>aria-describedby</code> the note, stays focusable.</li> <li><strong>Keys:</strong> Ctrl/⌘ Enter in the sheet = its primary (Publish/Schedule/Update; when blocked, focuses the first blocker); Escape = Keep writing / Done (asks if a route file was read and not used); Alt+← back to Before you publish from a step sheet; Enter on <strong>Show me</strong> closes and focuses the place.</li> <li><strong>Find:</strong> "Before you publish" (or "Check this post"), "Check again", "Words for YouTube", "Copy the YouTube description", "Add your route" / "Change your route", "How much of the route readers see", "Research checks".</li> <li><strong>Card:</strong> a <code>figure</code>; the picture's <code>alt</code> is the post's own description (empty when none, and then a card note says so); text is real text, never an image.</li> <li><strong>Route drawings:</strong> <code>role="img"</code> with the names above; the numbers are also text, so nothing is drawing-only.</li> <li><strong>320 px:</strong> full-screen sheets, sticky footers above the keyboard, items' buttons full width, the card stacks, the description box wraps (no sideways scroll), radio cards stack, controls ≥ 44 px. <strong>Reduced motion:</strong> no slide; the "Checking" spinner becomes the static word only.</li> <li><strong>Zubra:</strong> <code>side-sheet</code>, <code>alert-banner</code>, <code>action-button</code>, <code>content-card</code>, <code>status-badge</code>, <code>radio-group</code>, <code>toggle-switch</code>, <code>select-field</code>, <code>text-field</code>, <code>file-drop</code>, <code>modal-dialog</code>, <code>toast-region</code>, <code>skeleton-block</code>, <code>loading-spinner</code>, <code>command-palette</code>, <code>cluster-layout</code>. The toggle for Mark as checked is <code>action-button</code> with <code>aria-pressed</code> (if <code>action-button</code> can't carry it, add <code>pressed</code> in zubra-ui and re-vendor; noted, not a fork). <code>radio-group</code> falls back to the native <code>fieldset</code> as in R2/R5.</li> </ul> <h2 id="safety">Safety<a class="ob-heading-anchor" href="#safety" aria-label="Link to this section">#</a></h2> <ul> <li><strong>Location above all.</strong> Every route starts hidden; the file is read on the phone with the lifted regex reader (no DOM parsing, no network) and its text is never stored. What readers will see is drawn from the values to be written, before anything is written. The exact route needs a confirm, is cleaned of times and app details before it leaves the phone (and again on the server, G48), goes with any save but stays private on the server until the post is live (G47), and is discarded when not used. Switching away from exact retires the public file on the next save (server, unchanged). The area field refuses street addresses as R4's town does. Photos keep losing their location on the phone and on the server (R4).</li> <li><code>trackToken</code> is never part of <code>kept.js</code>; it rides beside the fields of any save (G47), only while the post's choice is exact.</li> <li>Every server value (card title, description, finding messages and repairs, place ids, YouTube words) is <code>textContent</code>; research messages in <code>bdi</code>. The card's picture loads only <code>/images/…</code> or https with <code>referrerpolicy="no-referrer"</code>. No frame: checks use <code>preview</code>'s JSON, never the preview page.</li> <li>Mark as checked sends exactly the finding's validator, code, object, path, id, field and fingerprint with the review's <code>revision</code>; a conflict changes nothing.</li> <li>CSP unchanged.</li> </ul> <h2 id="gaps">Gaps<a class="ob-heading-anchor" href="#gaps" aria-label="Link to this section">#</a></h2> <ul> <li><strong>G46. Codes and lines on <code>POST preview</code>:</strong> 422 <code>{code: "build", error, problems: [{field?, line?, message}]}</code> and <code>{code: "not-found"}</code>; the reply gains <code>firstBodyLine</code> (as <code>research/review</code> has), so accessibility lines map to her words. Strings stay as <code>error</code>.</li> <li><strong>G47. An exact route file is public only with a live post (built in R7):</strong> a save with <code>trackToken</code> on a draft or future-dated post keeps the file private (<code>.openblog/pending-tracks/held/<year>/<name>.gpx</code>, never pruned), the server moves it into <code>static/tracks/uploads/</code> when the post goes live (before each rebuild, so a scheduled post's day counts), and the build copies <code>static/tracks/uploads/*</code> into the site only for files named by a live post's <code>route</code> with <code>locationPrivacy: exact</code>, even with drafts shown. Studio sends the token on any save and allows Schedule. This also closes the old Admin's draft-save leak. <strong>Ownership:</strong> a held file records the post that staged it (<code><name>.gpx.owner</code>, its path in the content folder); held files and their owner records are kept by the hosted write-through store, so they survive a restart; only that post going live moves it into <code>static</code> or puts it in the site, and a save whose <code>route</code> names a file held for another post leaves <code>route</code> out. <strong>Older releases:</strong> before each rebuild, a file in <code>static/tracks/uploads/</code> that only posts not live name (drafts, posts waiting for their day) moves into the held store for the first of them, so it leaves the repository; a file a live exact post shows never moves, and a file no post names stays (the build leaves it out).</li> <li><strong>G48. The server cleans an exact route file:</strong> <code>track-upload</code> rewrites the GPX to track points with <code>lat</code>, <code>lon</code>, <code>ele</code> only (drops <code>time</code>, <code>wpt</code>, <code>rte</code>, <code>metadata</code>, <code>name</code>, <code>desc</code>, <code>link</code>, <code>extensions</code>) and answers <code>{token, points}</code>. Until then Studio sends <code>cleanGpx</code>'s output; files staged by other clients aren't cleaned.</li> <li><strong>G49. Codes on track errors:</strong> <code>track-upload</code> 400 <code>empty</code>, 413 <code>too-large</code> + <code>maxMb</code>, 415 <code>not-utf8</code> / <code>not-gpx</code> / <code>unsafe</code>, 400 <code>bad-token</code>; <code>document</code> save 422 <code>track-expired</code>, <code>track-needs-exact</code>, <code>bad-token</code> (inside G36's <code>problems</code>).</li> <li><strong>G50. <code>POST video/release</code></strong> <code>{kind, path, fields, body}</code> → the engine's <code>VideoPreview</code> JSON for the draft (title, description, tags, chapters, problems/manual/notes with <code>code</code>, status, steps, digest), so Words for YouTube and <code>openblog video</code> can't disagree. Until then <code>video-rules.js</code> mirrors the engine, held to it by the fixture test.</li> <li><strong>G51. Codes on acknowledgement errors:</strong> 409 <code>changed</code> + <code>revision</code>; 422 <code>invalid-acknowledgement</code>, <code>file-invalid</code> + <code>file</code>; 413 <code>too-large</code>; 400 <code>bad-request</code>.</li> <li><strong>G52. A hidden route keeps no shape in the file:</strong> <code>document</code> save drops <code>routeShape</code> when <code>locationPrivacy</code> is <code>hidden</code> (as it drops <code>route</code> unless <code>exact</code>), so a public repository never holds the shape of a route its post hides.</li> <li><strong>G53. A lighter check:</strong> <code>POST preview</code> with <code>"only": "checks"</code> skips the portable copy and the preview page and answers <code>social</code>, <code>accessibility</code>, <code>recipeProblems</code>, <code>warnings</code>, <code>firstBodyLine</code>, so the Publish check fits in its 8 s on a large site.</li> <li><strong>Not gaps:</strong> <code>preview.social</code>, <code>preview.accessibility</code> (with <code>code</code>, <code>outcome</code>, <code>source</code>), <code>recipeProblems</code>, <code>warnings</code>; <code>research/review</code> and acknowledgements (with <code>revision</code>, <code>gate</code>, <code>fingerprint</code>); <code>track-upload</code> POST/DELETE; <code>meta.authorReady</code>, <code>meta.profiles</code>; R4 <code>job/check</code>.</li> </ul> <h2 id="risks-to-test-before-release">Risks to test before release<a class="ob-heading-anchor" href="#risks-to-test-before-release" aria-label="Link to this section">#</a></h2> <ul> <li>iPhone: choosing a <code>.gpx</code> from Files and from AllTrails' Share sheet (the <code>accept</code> filter may grey it out: fall back to no filter and check the contents); a 10 MB file read without freezing the page.</li> <li>An exact route on a draft that autosaves for an hour never appears under <code>static/tracks/uploads/</code> or in the built site (G47).</li> <li>A published exact route switched to Don't show it: Update moves the file to trash and the next send removes it; Undo before Update keeps it.</li> <li>A big site: Publish waits at most 8 s, then publishes or opens the sheet in "couldn't check".</li> <li>Grammi's Thanksgiving recipe from the old Admin: first Publish lists photo descriptions once each, no score, and Publish works from the sheet.</li> <li>Dana's job without a town: the sheet opens, Go to it focuses Town, Publish works after.</li> <li>Two tabs marking the same research finding: the second gets <code>changed</code> and loses nothing.</li> <li>Words for YouTube on the Zhalendor example equal <code>openblog video zhalendor-gate-of-embers</code> byte for byte.</li> <li>Edits while the sheet is open: Show me never points at a moved line (re-check first).</li> </ul> <h2 id="docs-and-release-note">Docs and release note<a class="ob-heading-anchor" href="#docs-and-release-note" aria-label="Link to this section">#</a></h2> <ul> <li>Rewrite <code>docs/admin.md</code> §What you can do (Social preview, Accessibility Studio, Video release kit, Field Review rows), §Workspace layout (Alt+3–5), §Review accessibility while writing, and the profile paragraph, for Before you publish, Words for YouTube and Your route. <code>docs/field-journal.md</code> §Import a GPX track: Studio steps, the 500 m default, Don't show it leaves the climb drawing out unless switched on, the cleaned exact file, held privately until the post is live (G47), the renamed choices. <code>docs/video-production.md</code>: Release kit becomes Words for YouTube, same words as <code>openblog video</code> (article line; no chapters is fine). <code>docs/research-profile.md</code>: the review is in Before you publish; acknowledging is Mark as checked. <code>docs/accessibility.md</code>: where findings show and why needs-review ones don't count.</li> <li><strong>Release note (Mikey):</strong> the editor's Social, Optimize, Accessibility, Release kit and Field review panes are one <strong>Before you publish</strong> sheet that opens on a post's first Publish when it has something to show; the search score is gone (hints in details); Words for YouTube match <code>openblog video</code>; routes default to hidden with 500 m trimmed when shown, the climb drawing is opt-in when hidden, exact route files are cleaned and stay private on the server until the post is live, so they can be scheduled; acknowledging research findings is <strong>Mark as checked</strong>.</li> </ul> <h2 id="changes-to-studio-ux-proposed">Changes to <code>studio-ux</code> (proposed)<a class="ob-heading-anchor" href="#changes-to-studio-ux-proposed" aria-label="Link to this section">#</a></h2> <ul> <li>Banned on her layer, add: OpenGraph, score, readiness, audit, finding, WCAG, track, GPX, coordinates, acknowledge, validator. She hears "suggestion", "needs fixing", "when it's shared", "route", "mark as checked". A file format may be named once, in help, only where another app shows her that name.</li> <li><strong>Checks suggest; only the build blocks.</strong> A check that only advises never disables Publish; a blocker names the fix and Publish says why it waits. No scores or totals: counts by kind.</li> <li><strong>Ask once, at the moment it matters.</strong> A checklist opens by itself only on the first Publish and only with something to show; things that can't be fixed (needs review) never count and never open it.</li> <li><strong>Where someone was stays private by default.</strong> Anything that could show where she lives or was starts hidden, shows what readers will see before it's saved, keeps the source on her phone, and leaves it only by her explicit, confirmed choice, cleaned first.</li> <li>Review checklist: "Every check the old screen ran is on her layer, in details, or dropped with a written reason; a suggestion never stops Publish; nothing she types or chooses reveals a location without a confirm."</li> </ul> </div></ob-code> <p class="ob-meta ob-docs-source"><a href="https://github.com/journey-to-code-org/open.blog/blob/main/docs/specs/studio/r7/ux.md">View this page's source</a></p> <nav class="ob-docs-pager" aria-label="Previous and next"> <a class="ob-docs-previous" href="/open.blog/docs/specs/studio/r6/ux/" rel="prev"><span class="ob-meta">Previous</span> Studio UX, retirement slice R6: Add something (writing help)</a> <a class="ob-docs-next" href="/open.blog/docs/specs/studio/r8/ux/" rel="next"><span class="ob-meta">Next</span> Studio UX, retirement slice R8: Writing helper (Assistant)</a> </nav> </article> </div> </main> <footer class="ob-footer"> <div class="ob-footer-inner"> <p>open.blog is open source. These pages are built with open.blog from the repository's docs/ folder.</p> <nav aria-label="Elsewhere"><ul class="ob-footer-links"> <li><a href="https://github.com/journey-to-code-org/open.blog" rel="me noopener">GitHub</a></li> </ul></nav> <p class="ob-powered">Powered by <a href="https://github.com/journey-to-code-org/open.blog" rel="noopener">open.blog</a></p> </div> </footer> <ob-back-to-top></ob-back-to-top> </body> </html>