-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Add unit to power port overview on device view #13587
Comments
Does it make sense to replicate the unit for each value in the column? It's always going to be the same; maybe annotating it in the column header would be more efficient. Typically we want to avoid attaching units to numeric data, especially when being exported e.g. as CSV. |
Another option would be to render the unit in the UI, but omit it for CSV export. This would keep the exported data "cleaner" by retaining the native integer format. |
NetBox version
v3.5.8
Feature type
New functionality
Proposed functionality
On the power ports view within a device, add the unit to the Maximum draw and Allocated draw.
![Screenshot 2023-08-28 at 21 14 29](https://private-user-images.githubusercontent.com/56864/263810233-d2a60eab-0466-4b30-b915-29af3e2596f7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk3Mzk4NjYsIm5iZiI6MTczOTczOTU2NiwicGF0aCI6Ii81Njg2NC8yNjM4MTAyMzMtZDJhNjBlYWItMDQ2Ni00YjMwLWI5MTUtMjlhZjNlMjU5NmY3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE2VDIwNTkyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRmYTY2Y2FiYjQ4NjQ2ODhhODhlY2Q0Y2I1Y2ZkZDljYzIxZjNhMjY5ZmIzMjJlMWVjZjc5NTViZTFhNDA4NzgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.FkfxFKCkV5TWuGxxySBJ1G0-VN7rFvNC63Zmgm1Spq0)
From this:
To this
![Screenshot 2023-08-28 at 21 14 29](https://private-user-images.githubusercontent.com/56864/263810592-fb5f081f-a406-4a7a-85cd-18241ba77fd0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk3Mzk4NjYsIm5iZiI6MTczOTczOTU2NiwicGF0aCI6Ii81Njg2NC8yNjM4MTA1OTItZmI1ZjA4MWYtYTQwNi00YTdhLTg1Y2QtMTgyNDFiYTc3ZmQwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE2VDIwNTkyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWExYWI2OWQ0NDkxMWI4YjdiNGY2MjA1MTM4ZmY4NjExNTQ1MWY2ODc1NTNkNmI4NzA1NGZjNWI4ZDNkZjdmNmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.pu58Bxz101FVqUDYaoQZxGSR10wP6SKCjOX0mccWCMU)
Use case
Just makes it more apparent for users that the unit of power is W.
Database changes
No response
External dependencies
No response
The text was updated successfully, but these errors were encountered: