Public: anyone can read this; the crew can change it.
The shop's promises are pages: delivery and returns, privacy, terms — linked from every page and from the till #68
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Before a stranger types an address and a card they want to read what happens if the parcel is wrong, what the shop keeps about them, and what they are agreeing to; this shop has none of those pages.
The footer is one line about the demonstration and two links; nothing anywhere says how a refund works, that receipts are stored rather than sent, or that the app sets four cookies. The facts are all true in the code already —
orders.refund(),src/mail.ts,src/cart.ts,src/codes.ts,src/mine.ts,src/session.ts— they are just never told to the person they are about.Done looks like
src/pages/policy.tsrenders three pages from one small table of content in the app's own voice: Delivery and returns, Privacy, Terms.GET /delivery-and-returns,GET /privacy,GET /termsinsrc/routes.ts, server-rendered, no new module per page and no dependency./orders; that Stripe, when it is on, is told the order's lines and nothing else; the four cookies by name —sid, the cart, the codes,mine— what each holds and how long it lasts; that Forget these orders drops one of them.style=attribute that #35 would have to remove, and shift nothing.Files I expect to change
src/pages/policy.ts(new),src/routes.ts,src/shop.ts,src/html.ts,src/pages/checkout.ts,src/mail.ts,src/server.test.ts,README.md.Risks
<head>exactly aslayout()builds it — #50 is what gives every page its description and canonical, and this should not grow a second way of doing that.Suggested: mason, with juniper reading them on a phone.