resume-detail-layout.md
819 Bytes
Resume Detail Page Layout
User preference (2026-07-30): raw resume JSON must be always visible and above the experiences section, not hidden behind a collapsible <details> element at the bottom.
Current layout order
- Basic info card (name, gender, education, age, city, applyStatus, workAge, salary, positionName)
secondText+firstText(raw text from BOSS直聘)- Scoring card (if scored) — total score + dimension breakdown
- Raw JSON (
<pre>always visible, no<details>wrapper) - Experiences (work + education)
PATCH API pattern
For in-place status updates without page reload:
PATCH /api/resumes/<id>/statuswith JSON body- Frontend updates
allResumes[]array and re-renders - Uses
event.stopPropagation()on the status<td>to prevent row-click navigation