New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Mark Installed" tooltip doesn't properly update to "Mark Planned" #13806
Comments
Fixes netbox-community#13712 and netbox-community#13806. Not super happy with the fix here, because it doesn't address the underlying problem, which is that the toggleConnection() typescript function hardcodes which CSS classes should be added/removed. Probably a more permanent fix would be to stop applying CSS classes on the table view, and instead apply attributes for cable/interface state, and then use CSS to apply colours based on interface state, but this is a quite involved process. But it does at least fix things in the here and now.
I found this bug when working on a fix for #13712, going to send in a fix for this in the same PR |
Since the previous issue was closed due to a lack of activity, I am putting this back to needs owner for now. If someone would like to take this on, just reply here. |
Hello, The lack of activity is due to a lack of feedback from the Netbox developer side to my pull requests. There's a pull request #13874 that's been avaiting maintainer feedback for the last 6 months that addresses this issue. I also have other pull requests in for the Netbox projects that you have accepted me as an assignee on and then subsequently have seen no review from your side. It's disappointing since I've put effort into the project only for it to get ignored, which means I've not really been interested in contributing more to the project. I'm happy to work with you on any concerns you have with any of my open issues or PR's, but I won't be contributing anything more until those existing PR's are addressed in some way other than a Github stalebot. |
@pv2b I will re-assign you. In the future, perhaps make sure you make "request review" from at least Jeremy (unless you feel it is better suited for someone else). To be clear, I am not saying this is your fault at all, but it serves as a reminder for the people you request a review of to review it (it also shows in our notifications as a pending review request) |
Closed by #13874 |
NetBox version
v3.6.1
Python version
3.8
Steps to Reproduce
Expected Behavior
The tooltip should read "mark planned" since the cable is now marked as installed and the change would be to mark it as planned.
Observed Behavior
The tooltip actually reads "mark installed".
The text was updated successfully, but these errors were encountered: