Skip to content

[FEAT] Highlight changed cells in branch diff #19

Description

@divideby0

Summary

When viewing a diff between branches, highlight the cells that changed with a high-contrast visual indicator (outline, background color, or badge) so users can immediately spot what's different.

Motivation

The current diff view (PR #16) shows both branches side by side, but users have to visually scan the entire matrix to find what changed. A visual highlight — similar to Chromatic's visual diff highlighting or Google Drive's revision coloring — would make changes immediately obvious, especially in large matrices.

Suggested Approach

  • Add a high-contrast outline or background tint to cells whose values differ between the two branches
  • Consider color-coding: green for improved ratings, red for decreased, yellow/orange for changed-but-neutral
  • For added/removed rows or columns (new options or criteria in one branch), use a distinct style (e.g., dashed border or striped background)
  • Keep it subtle enough to not overwhelm the matrix but obvious enough to guide the eye

References

  • Google Drive revision history highlighting
  • Chromatic visual diff overlay
  • Eli noted the AI suggested Chromatic-style highlighting during development

Priority

Low — enhancement on top of the existing diff UI.

Context

From Slack discussion — Cedric suggested: "it could be cool to highlight the cells that changed when you diff. maybe just add a high-contrast outline around them"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions