Skip to content

"Mark planned" doesn't immediately change row highlight colour #13712

@pv2b

Description

@pv2b

NetBox version

v3.6.1

Python version

3.11

Steps to Reproduce

Prerequisites: You need a device with a cable attached to one of its interfaces. The interface should not be disabled.

Since it's a client-side issue it's not impossible that the problem is browser specific. In case it turns out to be browser-specific, I've observed this behaviour on Firefox 117.0.

  1. Open the "interfaces" view of the device in question.
  2. Locate an interface with a cable connected to it. Note that the background colour of the row in the table is green to indicate it has a connected cable.
  3. Click on the "marked planned" button (the third button from the right)
  4. Notice that the colour of the button changed from yellow to blue to indicate that the cable is now planned, and no longer installed. However notice that the background colour of the row is still green.
  5. Refresh the page, and notice that the background colour of the row is now correctly blue.

Expected Behavior

The background colour of the row should have changed from blue to green as soon as the "Mark Planned" button was clicked.

Observed Behavior

The background colour of the row did not change, and a page refresh was required to correctly display the current state.

(P.S. I'm willing to troubleshoot this issue and produce a PR, but as per project rules, I cannot do this before the issue has been accepted and assigned to me.)

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtopic: UI/UXUser interface or user experience related worktype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions