How to Use Annotations to Explain UI Bugs Clearly
Good bug reports are specific. Great bug reports are visual.
Annotations let you mark exactly what is wrong on the page.
Quick Terms
Section titled “Quick Terms”- UI (User Interface): What users see and click.
- Selector: A way to point to a specific page element.
Step 1: Open draw mode
Section titled “Step 1: Open draw mode”Start annotation mode from your Gasoline controls.
Step 2: Mark each issue
Section titled “Step 2: Mark each issue”For each problem:
- Draw a box around the element
- Write one short, concrete note
- Repeat for every issue
Example note style:
- “Button label is cut off on mobile”
- “Error text overlaps input field”
Step 3: Capture annotations as data
Section titled “Step 3: Capture annotations as data”analyze({what: "annotations"})Step 4: Send annotated context into your workflow
Section titled “Step 4: Send annotated context into your workflow”Use the annotation output to drive fixes, tests, or handoff notes.
Step 5: Re-check after changes
Section titled “Step 5: Re-check after changes”Re-open the page and verify each annotation is resolved.
Tips that make annotations much better
Section titled “Tips that make annotations much better”- One issue per annotation
- Write what is wrong, where, and expected behavior
- Avoid vague notes like “looks weird”
Image and Diagram Callouts
Section titled “Image and Diagram Callouts”[Image Idea] Annotated page with 2-3 example callouts.
[Diagram Idea] Annotation lifecycle: mark -> export -> fix -> verify.