Commit 7d5e94d
committed
feat: reconstructed-resume view with inline editing + rewrite (#57–59)
Replace the flat per-bullet feedback wall with a faithful reconstructed-
resume view as the primary post-parse surface, then add inline editing
of contact fields and role headers, and re-attach the per-bullet rewrite
affordance — completing the three-part pivot (A/B/C).
A — read-only view (#57):
- Add ReconstructedResume.tsx: rollup strip → contact → roles+bullets
(flagged inline, passing plain) → education → skills
- Add ReconstructedRole.tsx: RoleEntry (header + bullet list) and
ResumeBulletRow, decomposed to keep the container under ~200 LOC
- Remove PerBulletFeedback.tsx and RoleGroup.tsx (replaced)
- Move needsAttention() from PerBulletFeedback into group-bullets.ts
(library predicate, not UI)
- Wire ReconstructedResume into Result.tsx ParsedCard, replacing the
ContactCard + PerBulletFeedback composition
B — inline editing (#58):
- Add EditableField.tsx (ui/ primitive): pencil-icon affordance, read/
edit mode, Enter/Escape/blur commit, semantic tokens only
- Add useEditableParse.ts hook: in-memory ContactOverrides +
ExperienceFieldOverrides, setters, no raw useState in feature code
- Extend ContactCard with optional overrides + onFieldChange props;
read-only rendering unchanged when props absent
C — per-bullet rewrite (#59):
- Re-home the existing WebGPU/Qwen2-1.5B rewrite affordance onto
flagged bullets in ReconstructedRole, preserving WebGPU gating,
lazy-load discipline, and CTA-hidden-on-unsupported behavior
Resolves #57
Resolves #58
Resolves #591 parent 92c1a93 commit 7d5e94d
9 files changed
Lines changed: 918 additions & 246 deletions
File tree
- src
- components
- features
- ui
- hooks
- lib/score
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | | - | |
| 13 | + | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
98 | 97 | | |
99 | 98 | | |
100 | 99 | | |
101 | | - | |
102 | | - | |
| 100 | + | |
103 | 101 | | |
104 | 102 | | |
105 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
10 | 15 | | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
| 21 | + | |
| 22 | + | |
16 | 23 | | |
17 | 24 | | |
18 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
19 | 31 | | |
20 | 32 | | |
21 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
22 | 56 | | |
23 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
24 | 75 | | |
25 | 76 | | |
26 | 77 | | |
27 | 78 | | |
28 | 79 | | |
29 | 80 | | |
30 | 81 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
43 | 126 | | |
44 | 127 | | |
45 | 128 | | |
| |||
This file was deleted.
0 commit comments