# PRD — Teams V2 Improvements: Org Chart Redesign, Team Avatars, Picker Enhancements - Slug: `teams-v2-improvements` - Date: `2026-02-26` - Status: Draft - Parent: `teams-v2` (all 50 original features implemented) ## Summary Three improvements to the shipped teams-v2 feature: 1. **Org Chart Redesign** — Replace the basic nested-list org chart with a visual ReactFlow-based chart. Merge the stacked ViewSwitchers into one toolbar. Rename "Org Chart" to "Structure". Make nodes clickable to open the UserDetails drawer for editing. 2. **Team Avatar Infrastructure** — Add image/avatar upload capability to teams using the existing `EntityImageService` + `document_associations` pattern. Create `TeamAvatar` component, server actions, SWR hook, and upload UI in team settings. 3. **Team Avatars in Pickers** — Replace the generic gray circle + Users icon in `UserAndTeamPicker` with the new `TeamAvatar` component. Extract team logic from `MultiUserPicker` into a new `MultiUserAndTeamPicker` component (matching the `UserPicker` → `UserAndTeamPicker` pattern). Call sites swap via `teams-v2` feature flag. All changes remain behind the `teams-v2` PostHog feature flag. All migrations are Citus-compliant. ## Problem 1. **Org chart is ugly and non-functional** — The current implementation is a plain nested `