Description
The employee detail panel's Details section renders the manager as ID: <manager_id> (e.g. ID: fixture-emp-priya) instead of the manager's resolved full name, even when the manager exists in the loaded employee list. Observed 2026-07-14 during People Map T10 verification with dev fixtures.
Current State
EmployeeDetail.tsx passes managerName={manager?.full_name} to DetailsSection; the fallback renders the raw ID. The manager lookup evidently misses even when the manager row exists (fixture-emp-priya was present and active). Likely the lookup searches a filtered/paginated list rather than fetching by ID.
Suggested Fix
Verification
Automation Hints
scope: src/components/employees/
do-not-touch: src-tauri/
approach: refactor-types
risk: low
max-files-changed: 4
blocked-by: none
bail-if: manager resolution requires a new Tauri command signature change
Priority
Low
Description
The employee detail panel's Details section renders the manager as
ID: <manager_id>(e.g.ID: fixture-emp-priya) instead of the manager's resolved full name, even when the manager exists in the loaded employee list. Observed 2026-07-14 during People Map T10 verification with dev fixtures.Current State
EmployeeDetail.tsxpassesmanagerName={manager?.full_name}toDetailsSection; the fallback renders the raw ID. The manager lookup evidently misses even when the manager row exists (fixture-emp-priya was present and active). Likely the lookup searches a filtered/paginated list rather than fetching by ID.Suggested Fix
manageris resolved inEmployeeDetail.tsx(list lookup vsget_employeefetch)people_map/context.rs)Verification
npm testpasses (add a case: manager resolved when not in the visible list)npx tsc --noEmitcleanAutomation Hints
scope: src/components/employees/
do-not-touch: src-tauri/
approach: refactor-types
risk: low
max-files-changed: 4
blocked-by: none
bail-if: manager resolution requires a new Tauri command signature change
Priority
Low