Skip to content

Conversation

@pv2b
Copy link
Contributor

@pv2b pv2b commented Sep 18, 2023

Fixes: #13712 and #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.

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.
@pv2b pv2b marked this pull request as ready for review September 18, 2023 20:21
@pv2b
Copy link
Contributor Author

pv2b commented Sep 23, 2023

Let's hold off on this one for now, since this doesn't properly respect FIELD_CHOICES. I'm going to see if I can't come up with a better solution.

@github-actions
Copy link
Contributor

This PR has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further action is taken.

@github-actions github-actions bot added the pending closure Requires immediate attention to avoid being closed for inactivity label Dec 23, 2023
@github-actions
Copy link
Contributor

This PR has been automatically closed due to lack of activity.

@github-actions github-actions bot closed this Jan 22, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

pending closure Requires immediate attention to avoid being closed for inactivity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant