26 lines
1.3 KiB
Markdown
26 lines
1.3 KiB
Markdown
# Data Model: Combatant Row UI Polish
|
|
|
|
**Feature**: 027-ui-polish | **Date**: 2026-03-10
|
|
|
|
## Data Model Changes
|
|
|
|
**None.** This feature is purely presentational. No domain entities, application state, or persistence formats change.
|
|
|
|
All six improvements modify only the rendering and interaction behavior of existing data:
|
|
- Conditions (already on combatant) — rendered inline instead of below
|
|
- Stat block toggle (already exists) — triggered by row click instead of icon click
|
|
- Remove action (already exists) — visibility changed to hover-only
|
|
- AC value (already on combatant) — rendered inside shield shape instead of beside icon
|
|
- Concentration (already on combatant) — click target area expanded
|
|
- D20 icon (already exists) — size increased
|
|
|
|
## Affected Components
|
|
|
|
| Component | File | Change Type |
|
|
|-----------|------|-------------|
|
|
| CombatantRow | `apps/web/src/components/combatant-row.tsx` | Layout restructure, event handling |
|
|
| ConditionTags | `apps/web/src/components/condition-tags.tsx` | No changes (reused as-is) |
|
|
| ConditionPicker | `apps/web/src/components/condition-picker.tsx` | Minor positioning adjustment |
|
|
| D20Icon | `apps/web/src/components/d20-icon.tsx` | No changes (sized via className) |
|
|
| AcShield (new) | `apps/web/src/components/ac-shield.tsx` | New presentational component |
|