Skip to content
English
The AI feels clunky70 / 71

Inline diff

What it's calledInline difftracked changessuggested editsGlossary

What goes wrong

The old and the new text sit in two boxes, so the reader has to compare them word by word to find what changed.

The fix

Show one text with every change in place: removed words struck through, added words highlighted, and accept or reject at hand.

Tell your AI

Render a suggested edit as one text with the changes inline: removed words on var(--ds-danger-soft) with a var(--ds-danger) strike-through and var(--ds-text-2) letters, added words on var(--ds-success-soft) with a 1.5px var(--ds-success) underline, both with var(--ds-radius-xs) (6px) corners; beside it, the number of changes, Reject and a primary Accept, and once decided, show the chosen version as plain text with a brief var(--ds-accent-soft) glow.

  • --ds-danger-soft
  • --ds-danger
  • --ds-text-2
  • --ds-success-soft
  • --ds-success
  • --ds-radius-xs6px
  • --ds-accent-soft
Why AI-generated UIs all look the same: 12 rules that fix it

AssistantProduct page
Original

Our Harbour mug holds 350 ml and is made of ceramic. It is dishwasher safe and microwave safe. Available in three colours.

Suggested

Our Harbour mug holds 350 ml and is made of stoneware. It is dishwasher and microwave safe. Available in sand, moss and ink.

Spot the 3 changes yourself