Refine object change diff styling for improved readability #90

Closed
opened 2026-04-05 16:21:34 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @eazelis on 3/24/2026

NetBox version

v4.5.5

Feature type

Change to existing functionality

Proposed functionality

NetBox currently renders object change diffs using strong flat green/red fills for both full diff blocks and line-level added/removed data. While functional, this can make larger change records feel visually heavy and harder to scan.

I would like to propose a styling refinement for the object change detail view affecting:

  • pre.change-data > span.added
  • pre.change-data > span.removed
  • pre.change-diff.change-added
  • pre.change-diff.change-removed

Proposed change:

  • keep the existing added/removed semantics
  • replace the current heavy solid fills with softer tinted backgrounds
  • add clearer structure to the main diff blocks using a subtle border
  • keep text color neutral for readability

This would be a styling-only change. No model, API, template, or workflow changes are proposed.

Image

Use case

Object change records are often reviewed during auditing, troubleshooting, and validation of automation-driven changes. In these cases, users need to quickly identify what changed without the diff styling overwhelming the content itself.

A softer, more structured visual treatment would improve readability for dense change records while preserving the same added/removed meaning.

Database changes

None.

External dependencies

None.

*Originally created by @eazelis on 3/24/2026* ### NetBox version v4.5.5 ### Feature type Change to existing functionality ### Proposed functionality NetBox currently renders object change diffs using strong flat green/red fills for both full diff blocks and line-level added/removed data. While functional, this can make larger change records feel visually heavy and harder to scan. I would like to propose a styling refinement for the object change detail view affecting: - `pre.change-data > span.added` - `pre.change-data > span.removed` - `pre.change-diff.change-added` - `pre.change-diff.change-removed` Proposed change: - keep the existing added/removed semantics - replace the current heavy solid fills with softer tinted backgrounds - add clearer structure to the main diff blocks using a subtle border - keep text color neutral for readability This would be a styling-only change. No model, API, template, or workflow changes are proposed. <img width="2560" height="968" alt="Image" src="https://github.com/user-attachments/assets/0b2e43d1-c2cb-48f3-8b6d-916612ac43a0" /> ### Use case Object change records are often reviewed during auditing, troubleshooting, and validation of automation-driven changes. In these cases, users need to quickly identify what changed without the diff styling overwhelming the content itself. A softer, more structured visual treatment would improve readability for dense change records while preserving the same added/removed meaning. ### Database changes None. ### External dependencies None.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#90