netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Try NetBox Cloud free: https://netboxlabs.com/free-netbox-cloud/
http://netboxlabs.com/oss/netbox/
Apache License 2.0
15.76k stars 2.54k forks source link

Rich Text Copy-Paste Issue for Status Field #16961

Open opericgithub opened 1 month ago

opericgithub commented 1 month ago

NetBox version

v4.0.7

Feature type

Change to existing functionality

Proposed functionality

Our employees need to export data from NetBox to Outlook emails using copy-paste in html or rich text format. In NetBox version 3.x, when data is pasted into Outlook, the background of the status field is displayed correctly (e.g., the background is green, and the text is white). However, in version 4.x, the background is white along with the text, making the status field's value indistinguishable.

Attached are screenshots from NetBox versions 3.x and 4.x illustrating the difference in the display of the status field background when copying and pasting into Outlook:

Screenshot from NetBox version 3.x:

image

Screenshot from NetBox version 4.x:

image

In the fourth row, I intentionally changed the background color in Outlook to illustrate the issue I am reporting.

Use case

This functionality is crucial for our operations as it allows for efficient and clear data sharing among employees.

Database changes

No response

External dependencies

No response

jeffgdotorg commented 1 month ago

Thanks for catching this need.

I've moved this issue to needs owner status. If you're interested in working it through to a PR, please leave a comment to that effect and a maintainer will assign it to you for implementation. Otherwise, another developer with the necessary skills and capacity can pick it up.

I'm setting your issue's milestone to v4.1 because a significant rework of the UI is coming in that release, whose first beta is due in early August. If somebody picks up this issue before then, and it turns out to be easy to cherry-pick the work to a v4.0 patch release, we should also do that.

opericgithub commented 1 week ago

Thank you for the attention given to this issue and for moving it under review. I really appreciate the efforts so far. As it's been a little while since the last update, I wanted to kindly check in and see if there has been any progress or if there are any additional details you might need from me to help move this forward.