Skip to content

Persist DiffsHub display preferences #851

Description

@NathanDrake2406

Problem

DiffsHub display controls currently reset between visits. This makes repeated review sessions more frictionful because users need to reselect their preferred split/unified view, wrapping, line numbers, backgrounds, and indicator style.

Proposed scope

Persist display preferences locally in the browser:

  • split/unified diff style
  • word wrap / horizontal scroll
  • line number visibility
  • background visibility
  • diff indicator style

The persistence should be client-only, versioned, schema-validated, and preserve current defaults for users without stored settings.

Non-goals

  • Account-backed settings
  • Server persistence
  • Changing current default display behavior
  • Persisting per-URL review/comment state

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