Adds an about section to the Circuit Maintenance Dashboard. - #365
Adds an about section to the Circuit Maintenance Dashboard.#365jvanderaa wants to merge 7 commits into
Conversation
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||
| </div> | ||
| <div class="card"> | ||
| <div class="container"> | ||
| <h3 class="text-start">About</h3> |
There was a problem hiding this comment.
Might be more aesthetic to do a div class="card-header" in place of the h3?
There was a problem hiding this comment.
If we do the card-header then we should probably do it in the rest of the sections too. Thoughts @glennmatthews ?
There was a problem hiding this comment.
I'd be in favor of that, yes. The current styling is very inconsistent with the rest of Nautobot, IMHO.
There was a problem hiding this comment.
I'm good by that. I'll be diving in later today looking for a styling guide or how I can make the dashboard page look more appropriate.
There was a problem hiding this comment.
Done — I reworked all four dashboard sections (Circuits, Devices, Metrics, and the new About card) to use <div class="card-header"> for consistency with the rest of Nautobot, rather than the old h3 styling. Should be good for another look @glennmatthews.
Refactor the About card to use Nautobot card-body construct and the placeholder filter, and add the app version alongside the Circuit Maintenance Parser version (both derived from package metadata).
# Conflicts: # nautobot_circuit_maintenance/templates/nautobot_circuit_maintenance/circuit_maintenance_overview.html
Update the About card docs to note it now shows the app version in addition to the parser version, and add light/dark screenshots.
Closes: #233
What's Changed
Adds an About card to the Circuit Maintenance dashboard, built with Nautobot UI
constructs (
card/card-header/card-body, theplaceholderfilter, and<code>formatting for version values). The card surfaces two derived values, both read from
package metadata (nothing hardcoded):
nautobot-circuit-maintenanceversion.circuit-maintenance-parserversion.This is useful for verifying which version of the app is deployed and which version of
the parser logic is processing notifications.
develophas been merged in to keep the branch current (Nautobot 3.x / Django 5.2).Screenshots
To Do