Commit graph

6 commits

Author SHA1 Message Date
codex-bot
49173cdf69 fix(machines): guard Convex getById calls with 'skip' when missing id to avoid ArgumentValidationError; add unit test for getById metadata; fix build by loosening Prisma types in company service 2025-10-22 08:47:55 -03:00
codex-bot
5ff37195f5 admin(machines): fix machine detail not loading by switching to server-side fetch by ID
- Add Convex query machines.getById with full payload (metrics/inventory)
- Update AdminMachineDetailsClient to use getById instead of listByTenant+find
- Update MachineBreadcrumbs to fetch hostname by ID

This prevents the empty state when the list query hasn’t loaded or filtered out the machine.
2025-10-22 08:25:12 -03:00
Esdras Renan
2e3b46a7b5 feat: expand admin companies and users modules 2025-10-22 01:27:43 -03:00
Esdras Renan
4f812a2e4c Fix GPU inventory typing and user role mapping 2025-10-13 13:59:48 -03:00
Esdras Renan
42611df0f5 fix: improve admin machine details and role gating 2025-10-13 13:32:50 -03:00
Esdras Renan
124bb2a26f feat(admin/machines): redesign overview as cards grid with status dot and metrics; add machine detail page (/admin/machines/[id]) reusing existing detail panel 2025-10-10 10:17:59 -03:00