Skip to content

[dev] [carhartlewis] lewis/comp-people-perf-fixes-2#2587

Merged
Marfuen merged 1 commit intomainfrom
lewis/comp-people-perf-fixes-2
Apr 17, 2026
Merged

[dev] [carhartlewis] lewis/comp-people-perf-fixes-2#2587
Marfuen merged 1 commit intomainfrom
lewis/comp-people-perf-fixes-2

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Apr 17, 2026

This is an automated pull request to merge lewis/comp-people-perf-fixes-2 into dev.
It was created by the [Auto Pull Request] action.


Summary by cubic

Improves device status UX and stability across People pages by adding loading/error states and fixing a fleet hosts API crash. Also standardizes the Export Evidence trigger to use the base Button.

  • Bug Fixes

    • Prevent crash by guarding host.mdm?.connected_to_fleet in /api/people/fleet-hosts.
    • Devices tab now shows a loading skeleton and an error message instead of flashing an empty chart.
    • Member row device column shows a skeleton while device data loads instead of a placeholder.
  • Refactors

    • Replace custom-styled trigger with PopoverTrigger render using a Button variant="outline" in Export Evidence.
    • Pass loading flags from useAgentDevices and useFleetHosts through TeamMembersClient to MemberRow for accurate loading states.

Written for commit def8177. Summary will update on new commits.

- Guard host.mdm access in fleet-hosts route to avoid runtime TypeError
- Show loading/error states in DevicesTabContent so the compliance chart no longer flashes an empty-state while fetching
- Render a skeleton in the MemberRow device column while device data loads instead of defaulting to 'Not Installed'
- Replace hand-rolled button styles on PopoverTrigger with base-ui render pattern using Button

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
app Ready Ready Preview, Comment Apr 17, 2026 6:18pm
comp-framework-editor Ready Ready Preview, Comment Apr 17, 2026 6:18pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
portal Skipped Skipped Apr 17, 2026 6:18pm

Request Review

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Lewis Carhart seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 5 files

Auto-approved: Standardizes UI components, adds loading/error states for better UX, and fixes a potential API crash with safe property access.

@Marfuen Marfuen merged commit ca71fa8 into main Apr 17, 2026
10 of 11 checks passed
@Marfuen Marfuen deleted the lewis/comp-people-perf-fixes-2 branch April 17, 2026 18:19
claudfuen pushed a commit that referenced this pull request Apr 17, 2026
## [3.23.4](v3.23.3...v3.23.4) (2026-04-17)

### Bug Fixes

* **people:** address review feedback on devices and export button ([#2587](#2587)) ([ca71fa8](ca71fa8))
@claudfuen
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.23.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants