mirror of
https://github.com/Kong/insomnia.git
synced 2026-11-04 03:55:19 -05:00
## Background Examples are nested in their request's YAML file, so the Git visual diff treated an example change as a raw `examples` field on the request and could not stage it independently. ## Changes - Collect examples as nested entities matched by their `meta.id`. - Add an Example diff card with request, response and docs tabs. - Stage, unstage and discard a single example without touching its siblings. - Keep examples out of request staging and preserve the export key order. ## Testing - `vitest run` on the diff engine, entity splice and card tabs tests: 69 passed. - `eslint` and `tsc --noEmit` on the changed files.