Sewn
Ticket guide

How to write a good ticket

A ticket is a short note that says one thing the app should do differently. Write it so someone who has never seen your screen could picture exactly what you mean, and know when it's done.

The recipe

The recipe

Every ticket follows the same shape. Same order, every time, so they're quick to read and easy to sort.

type: Page, thing on the page (optional), what should change. What happens next. What else happens.
type

feat, fix or bug. See the three cards below.

Page

Where in the app you are. Start with "On the Books page". If there's a tab, name it too: "On the Books page, Books tab".

Thing on the page

Optional. Which part of the page: a button, a row, a menu. Use the words from the vocabulary section. Quote button words exactly as they appear: the "+ New Book" button.

What should change

One sentence, the main ask. Start with a doing word: add, replace, remove, move, rename, hide.

What happens

One short sentence per result. What does the person see or get after they do the thing? If something should not happen, say that too.

feat

Something new. An ability the app doesn't have yet.

"Let me rename a book." Today there's no way to do it.

fix

Works, but should be different. Nothing's broken; it just isn't how you want it.

"Show a trash can instead of the word Delete."

bug

Something's wrong. It behaves in a way nobody would want: stuck, missing, crashes, wrong info.

"The menu stays open after the thing it belongs to is deleted."

Not sure if it's a fix or a feat? Pick one and move on. Jake would much rather get the ticket than a perfect label.

Examples

Five real tickets, taken apart

These are all about the Books page. The colors match the recipe above.

typepagethingchangeresults
Ticket 1 · feat
feat: On the Books page, Books tab, add a pencil icon next to each series name, book title and chapter title that lets someone edit the name.

Why it works: it's a new ability, it names all three places the pencil goes, and "edit the name" says what the pencil is for. Could add: a result sentence, like "Pressing Enter saves the new name. Pressing Escape cancels."

Ticket 2 · fix
fix: On the Books page, each chapter row, replace the word "Delete" with a trash can icon, and add the same icon to book rows and series rows. On click, the person must type the name to confirm the delete. Deleting a series also deletes its books and chapters. Deleting a book also deletes its chapters.

Why it works: three clear results, and it spells out what gets deleted along with it. That's exactly the kind of thing a developer would otherwise have to guess. Could split: this is really two asks (the icon, and the type-to-confirm). One ticket is fine when they belong together; split when either could ship on its own.

Ticket 3 · bug
bug: On the Books page, series settings menu: if the menu is open and that series or book gets deleted, the menu stays open. The menu should close by itself after the delete.

Why it works: a good bug says what happens now and what should happen instead. Could add: the steps to make it happen, in order: "1. Open the series menu. 2. Delete the series. 3. Menu is still showing."

Ticket 4 · fix
fix: On the Books page, "+ New Book" and "New Series" buttons: when someone clicks either one, show a popup asking for the name before the book or series is created.

Why it works: button names are quoted exactly, and "before it's created" is the key detail. Could add: what "Cancel" does: "Cancel closes the popup and nothing is created." The developer word for this popup is a modal.

Ticket 5 · fix
fix: On the Books page, "New Series" button: creating a new series should not also create an "Untitled" book. The new series starts empty.

Why it works: it names the unwanted side effect. Saying what should not happen is just as useful as saying what should.

Try it

Try the Books page, before and after

A pretend version of the Books page. Flip between Before (how it works today) and After (all five tickets done). Click the pencils, the trash cans, the ⋯ menu and the new buttons, and check each one against its ticket.

added by the tickets
sewn.ink / Books

With all five tickets done. Everything in blue is new.

Books
    Nothing done yet.

    New series

    You can change this later with the pencil.

    Delete ?

    Build

    Build a ticket

    Fill in the blanks and the ticket writes itself. The checklist underneath tells you if something's missing.

    Where you are in the app.
    A button, row, menu, popup… Quote button words exactly.
    Start with a doing word: add, show, replace, remove, move.
      Review

      Reviewing a ticket

      When you read a ticket (yours or Jake's), you're checking one thing: could someone build this without asking a question? Run through these.

      Can I picture it?

      • Does it say which page?
      • Could I point at the thing on screen?
      • Are button words quoted exactly as they appear?

      Do I know when it's done?

      • Is there at least one "what happens" sentence?
      • For a bug: does it say what happens now and what should happen?
      • Could I test it myself and say "yes, that works"?

      What about the edges?

      • What if I cancel halfway?
      • What if it's empty, or really long?
      • What else goes away when this goes away? (Ticket 2 does this well.)
      • What about on a phone?

      Is it one thing?

      • If there's an "also" in the middle, could that be its own ticket?
      • Small tickets get done faster and are easier to check.

      Swap vague words for clear ones

      "it doesn't work"→"clicking Save does nothing"
      "the thing at the top"→"the "New Series" button"
      "make it better"→"make the title bigger than the chapter names"
      "the popup"→"the delete confirm modal"
      "it should be obvious"→"show help text under the field that says…"
      Vocabulary

      Words for things on screen

      You don't need all the developer words. These are the ones that save the most back-and-forth. Everything below works, so poke at it.

      Panel

      An area that slides in from the side (or sits there) next to the page. You can still see and use the page.

      Try it
      Chapter 3
      Settings
      Font size
      Line spacing

      Say: open the notes panel on the right

      Modal

      A popup box that sits on top of the page and dims everything behind it. You have to finish or cancel it before you can do anything else.

      Try it

      Say: show a modal asking for the book name. Panel = beside. Modal = on top.

      Label, input field & help text

      These three come together. The label names the box. The input field is the box you type in. Help text is the small grey hint underneath.

      Shown on the cover. You can change it later. ← HELP TEXT

      The grey words inside an empty box are a placeholder. They vanish when you type.

      Tooltip

      A tiny dark label that appears when you rest the mouse on something, usually an icon, to say what it does. Phones don't really have tooltips, since there's no mouse to rest.

      Hover the pencil Rename

      Say: add a tooltip that says "Rename" on the pencil

      Section vs container

      A section is a chunk of the page about one topic, usually with a heading. A container is a visible box that holds things together. A section can have several containers in it.

      Section: Your books
      The Salt Road · 12 chapters
      Wintering · 4 chapters

      You'll also hear card for a container that's one item, like each book box here.

      Dropdown & multi-select

      A dropdown opens a list and you pick one. A multi-select lets you pick several, often shown as little pills.

      Multi-select: tags

      Button, toggle & switch

      A button does something once, right now. A toggle is a button that stays pushed in or popped out, like Bold in a word processor. A switch looks like a light switch and turns a setting on or off. People mix up toggle and switch; either word is fine as long as you say what it turns on.

      Button
      Toggle
      Once upon a time
      Switch

      Icon button

      A button that shows a small picture instead of words, like the pencil and trash can. It should have a tooltip so people know what it does.

      The ⋯ one is often called a "more" menu or kebab menu.

      Nav bar

      Short for navigation bar. The strip, usually along the top (or bottom on phones), with links to the main pages. It stays the same on every page.

      The highlighted link shows which page you're on. That's the active page.

      Action bar

      A strip of buttons for things you can do right here, on this page or this item. Often it only appears after you select something.

      2 chapters selected

      Nav bar = go somewhere. Action bar = do something.

      Show / hide

      Something is hidden when it isn't on screen at all, and shown when it appears. Hidden things take up no space.

      Chapter 4 · 2,310 words

      Say: hide the word count until I hover the chapter

      Enabled / disabled

      A disabled control is still on screen but faded, and nothing happens when you click it. It becomes enabled once it's allowed. The delete box on the Books page works this way.

      Hidden = gone. Disabled = there, but greyed out.

      Expand / collapse

      A section you can open to see more, then close to tuck away. Usually has a little arrow that turns. Also called an accordion when there are several stacked.

      The Salt Road
      Book One: Low Tide
      Book Two: High Water
      Wintering
      Wintering

      Say: series should start collapsed; click the arrow to expand

      List, rows & columns

      A list is a stack of similar items. Each item going across is a row. When the info lines up in vertical stripes, each stripe is a column, and the top row naming them is the header.

      Chapter ← columnWordsLast edited
      The Lighthouse ← row2,310Tuesday
      Driftwood1,845Monday
      A Letter Arrives3,002Sep 20

      Say: add a "Last edited" column to the chapter list or on each chapter row, add…

      This is a modal

      See how the page behind is dimmed? You can't click it until you close this.

      Big ideas

      Big ideas, in plain words

      Responsive

      The page rearranges itself to fit the screen. On a wide computer, things sit side by side. On a narrow phone, they stack and menus tuck away. Drag the slider to squeeze the pretend screen.

      Computer
      SewnBooksNotesSettings☰ Menu
      The Salt Road
      Wintering
      Short stories

      In a ticket: "On a phone, the buttons should stack instead of sitting side by side."

      Reactive

      The page updates the moment something changes, without you reloading or pressing Save. Type below and watch.

      Chapter 4: The Lighthouse · 14 characters

      In a ticket: "The word count should update as I type, not only after I save." Responsive = fits the screen. Reactive = keeps up with changes.

      Mobile web vs mobile native

      Both run on a phone. The difference is where they live.

      Mobile web
      • The website, opened in the phone's browser (Safari, Chrome).
      • Nothing to install. Just a link.
      • Changes show up for everyone right away.
      Mobile native (an "app")
      • Installed from the App Store or Play Store, with its own icon.
      • Can do more phone things: stay awake with the screen off, notifications.
      • Sewn for Android is this kind.

      In a ticket, say which one you were using: "On the Android app…" or "On my phone in Chrome…". They can behave differently.

      Things people do with their hands

      Try each one on the pad below (use a phone for swipe and press & hold).

      Try meclick, tap, hold, swipe or hover
      WordWhat it meansWhere
      ClickPress and let go with the mouse.Computer
      TapA click, but with a finger.Phone
      Press & holdKeep your finger (or mouse) down for about a second. Often opens extra options.Mostly phone
      SwipeSlide your finger across. E.g. swipe a row left to show a trash can.Phone
      HoverRest the mouse on something without clicking. Shows tooltips. Phones can't hover.Computer only

      Tickets often start with "On click, …" or "On tap, …". That just means "when someone clicks (or taps) this".

      Left, center, right align

      Which edge things line up against. Most reading text is left aligned. Titles are sometimes centered. Buttons like Save often sit on the right.

      Chapter One

      The tide came in slowly that morning, the way it always did in late autumn.

      In a ticket: "Right align the Save and Cancel buttons at the bottom of the modal."