Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Reorder fixtures for better first impression (litmus-e9d6)

StatusDone · archived
TypeTask
Prioritynormal

Reorder the fixture list so the most visually informative fixtures appear first. Current order is arbitrary (roughly insertion order). New order prioritizes showing theme character at a glance.

New Order

Tier 1 — At a glance (show all colors, reveal theme character):

  1. color-showcase — exercises all 16 ANSI colors
  2. editor-ui — rich syntax highlighting, line numbers, status bars

Tier 2 — Real-world developer workflows: 3. bat-syntax — syntax highlighting 4. git-diff — add/remove coloring 5. cargo-build — error/warning colors 6. ripgrep-search — match highlighting

Tier 3 — Shell & TUI: 7. git-log — graph + decorations 8. shell-prompt — minimal but everyday 9. python-repl — prompt + output 10. ls-color — file type colors 11. htop — TUI with bars and gauges 12. log-viewer — structured log levels

Requirements

  • Reorder FIXTURE_DATA in fixtures.rs
  • Verify default_fixture() returns color-showcase (used for browse page preview cards)
  • Run tests

Summary of Changes

Reordered FIXTURE_DATA in fixtures.rs from arbitrary insertion order to a tiered layout. color-showcase is now first (best preview thumbnail for browse page cards).

Files changed:

  • crates/litmus-web/src/fixtures.rs