Add MAC address vital to host details page#42773
Conversation
Display the host's primary MAC address (primary_mac) as a new vital on the individual host details page, alongside existing vitals like IP address, OS, and hardware model. The MAC address is shown for the same host types that display IP addresses (excludes iOS/iPadOS and Android hosts).
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #42773 +/- ##
========================================
Coverage 66.82% 66.82%
========================================
Files 2544 2544
Lines 204231 204232 +1
Branches 9274 9159 -115
========================================
+ Hits 136474 136475 +1
Misses 55405 55405
Partials 12352 12352
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: Rachael Shaw <r@rachael.wtf>
Co-authored-by: Rachael Shaw <r@rachael.wtf>
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
Add primary_mac to HOST_VITALS_DATA constant and display MAC address in the Vitals card on the host details page. Subset of changes from #42773.
Cherry-pick Vitals.tsx and constants.tsx changes from PR #42773.
Summary
primary_macfrom the host API responseDataSet+TooltipTruncatedTextChanges
frontend/pages/hosts/details/cards/Vitals/Vitals.tsx— Added MAC address vital entry within the existing!isIosOrIpadosHost && !isAndroidHostconditional blockBuilt for mikermcneil by Kilo for Slack