Skip to content
open.blog documentation
open.blog

Trades

Status: built across epics TRADE4 and TRADE5 (#474, #475) on top of TRADE1 to TRADE3, 2026-11-11. The usability pass with real owners (#531) is still to run.

Problem#

A tradesperson's website has one job: turn a visit into a call. Most trade sites fail at the end of the visit: there is no way to ask for a quote, no proof the work went well for someone else, and nothing new since the day the site was made. Trades are found on maps and neighbourhood feeds, not in feed readers, and the owner has no time to write. General blog engines offer none of this, and field-service products bury it under invoicing and dispatch the owner already has elsewhere.

Solution#

Trade features are open.blog's own building blocks, never a parallel system:

  1. A job is a post with profile: job, so feeds, archives, tags, search, export and the Assistant keep working.
  2. Facts and collections: business facts once in openblog.json, services in content/services/, service areas as a list of towns, reviews in content/proof/. Each is versioned, optional, and absent means the site builds exactly as before.
  3. Customer data stays server-side: quote requests go to the owner's Supabase project through an opt-in function; nothing personal reaches the static site, logs or exports unless the owner exports it.
  4. Every external action is previewed and consented: sharing a job prepares the same projection for each place and posts only where the place allows it, falling back to a by-hand kit.
  5. A starter and a checklist take a new owner from openblog init --starter trade to a first published job in about ten minutes, without the site ever showing something invented.

open.blog is not a field-service tool: no invoicing, estimating, dispatch, job scheduling or payment data.

User stories#

  1. As an owner, I want to record a finished job from my phone on site, so that the work is written up while I remember it. (TRADE1)
  2. As an owner, I want my name, phone, hours, license and insurance stated once and shown everywhere, so that customers and search engines get the same facts. (TRADE2)
  3. As an owner, I want each service described once with what it includes and a price band, and pages per town I serve, so that a customer finds the work near them. (TRADE3)
  4. As a visitor, I want to ask for a quote from any page with photos, without calling during work hours. (#485)
  5. As an owner, I want to read, mark, export and erase quote requests without a CRM. (#486)
  6. As an owner, I want real reviews kept with where they came from and shown beside the job they describe. (#487)
  7. As an owner, I want one finished job sent to Google Business Profile, Facebook and Nextdoor with a preview and my consent. (#488)
  8. As an owner, I want to be told what to write between jobs, without anything being published for me. (#489)
  9. As a new owner, I want a credible site I only have to fill in, with a list of what to do next. (#490)

Implementation decisions#

Across all of them:

  • Opt-in and absent-means-unchanged. Every new key, folder and section is optional; tests compare a site that never uses a feature byte for byte with one built before it existed.
  • Never invented. Structured data (LocalBusiness, Service, FAQPage, Review, AggregateRating) is stated only from fields the owner wrote; the starter writes no phone, hours or review, and keeps its example services as drafts.
  • Towns, never addresses. Places are a town and a region; digits and commas are refused, and a photo that may hold where it was taken is not shared.
  • Phone first. Every Admin screen is designed at 400px with 44px controls; the home page puts the phone number directly under the banner as a large button.
  • Derived, not queued. Archives, service-area pages, seasonal reminders and the checklist are worked out from the files each time, so nothing can fire, tick or publish while the owner is not looking.

Testing decisions#

  • Core integration tests build sites in memory and check pages, structured data and absence (job_archives, services_collection, service_pages, service_area_pages, business_render, proof_collection, quote_form, landing_trade_sections).
  • CLI tests scaffold real projects (scaffold::tests: the trade starter builds with no warnings and one <h1>, shows nothing invented, and its example services publish with one edit).
  • Admin route tests cover session, CSRF, stale writes and read-only routes (seasonal_routes, quote_routes, service_routes, trade_checklist_routes: every step ticks and unticks with the files).
  • Node tests cover Admin modules with a DOM shim (admin-landing, admin-look, admin-trade-checklist), and browser specs run the quote form and Admin screens at 400px with axe-core.
  • Look tests hold every palette to AA and the three trade looks to AAA, in light and dark.
  • Provider adapters (Google Business Profile, Facebook) are tested against scripted replies only; no live post has been made.

Delivery slices#

  1. TRADE1: jobs as posts, archives, capture from a phone.
  2. TRADE2 and TRADE3: business facts, services, service areas.
  3. TRADE4: quote requests (#485, #486) and reviews as proof (#487).
  4. TRADE5: sharing a job (#488), seasonal reminders (#489), starter sites (#490).
  5. The scripted usability pass at 400px with timings (#531).

Out of scope#

  • Invoicing, estimates, dispatch, scheduling of jobs, payment data, customer records beyond a quote request.
  • A third-party captcha; posting to Nextdoor through its partner API; posting a photo to a Facebook Page.
  • Generated or AI-written reviews, ratings or business facts.

View this page's source