Render marker-only parsed lines in "Other bullets" read-only instead of offering refused actions
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 88/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
Research direction
Start in src/components/features/ReconstructedRole.tsx, where RoleEntry supplies callbacks to ResumeBulletRow, and read the existing refusal checks for unresolvable bullet keys. Run the ExperienceSection.other-bullets.test.tsx tests, then add coverage for parsed marker-only, user-added marker-only, and ordinary unmatched bullets. Done means only the parsed marker-only row lacks editing and removal affordances.
Written by the indexing model from the issue text.
Description
Problem
On /, a line from the parse that is nothing but a bullet or number marker (for example 4.) lands in the "Other bullets" group as a normal-looking row. It offers both click-to-edit and Remove, but both actions are refused:
- Edit.
setBulletFieldrefuses an id whose text half is empty (isUnresolvableBulletKey, added by #1048 for #679). You can click the row, type, and press Save, and the text snaps back with no message. - Remove.
removeBulletrefuses the same id (#660).
The UI offers two actions it will always throw away. The row can't be fixed or removed, and nothing tells the user why.
Proposal
Don't offer the actions on these rows. Render the row read-only: no click-to-edit, and no Remove button.
ResumeBulletRow already hides each affordance when its callback is absent (editable = onBulletChange !== undefined, and RemoveButton renders only when onRemove is set). The change can therefore sit in RoleEntry (src/components/features/ReconstructedRole.tsx): pass undefined for both callbacks on a row whose edits would be refused.
The condition must be "no write can land", not just "the id is unresolvable". A marker-only line the user added also has an empty text half, but #1048 made it editable through resolveBucketRef. So the rule is:
isUnresolvableBulletKey(b.id) && resolveBucketRef?.(b.text) === undefined
Out of scope
- A message explaining the refusal. Removing the action makes it unnecessary.
- Dropping these lines from the parse or pool. That is a parser change with scoring effects.
Acceptance criteria
- A marker-only line from the parse in "Other bullets" renders with no click-to-edit affordance and no Remove button.
- A marker-only line the user added stays editable and removable (the #1048 behaviour).
- An ordinary unmatched parsed bullet in "Other bullets" is unchanged: still editable and removable.
- Tests in
ExperienceSection.other-bullets.test.tsxpin 1–3, and reverting the production change turns the first one red.
Depends on #1048.
- Dominant language
- TypeScript
- Stars
- 11
- Forks
- 4
- Avg merge
- 18h 56m
- Merged PRs (30d)
- 92
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from offlinecv/OfflineCV
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Maintainers usually reply within 1 day
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Maintainers usually reply within 1 day
-
bug gaal ready-for-agent
Difficulty 4/5 3-5 days Newbie friendliness 58/100
Maintainers usually reply within 1 day
-
bug gaal refactor
Difficulty 4/5 3-5 days Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
[epic] Fix It guidance: advice that is right for the résumé in front of the userPossibly taken @Samhit21 claimed this 1 day ago. Openimprovement ready-for-agent ux:score-clarity
offlinecv/OfflineCV#1086 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
All issues in offlinecv/OfflineCV
Similar issues
-
needs:triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
ai-discovered
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
jessepollak/home#1627 ·
Maintainers usually reply within 1 day
-
agent-canvas bug llm priority:low ready-for-dev
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
OpenHands/OpenHands#17806 · 3 comments ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
radius-project/ai-extensions#923 ·
Maintainers usually reply within 1 day