fix(client): give every edit button the pencil icon (#353) #358
No reviewers
Labels
No labels
area:auth
area:ci
area:db
area:infra
area:native
area:pwa
area:service
epic
feature
foundation
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
james/carol!358
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "353-standardize-edit-buttons"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Some edit buttons showed a Lucide pencil and others didn't. Standardize: every "edit" affordance now leads with
<Pencil size={14}>before its label, matching the pattern already used inprofile.tsx/projects.tsx.Fixed
notes.tsx(note-row edit),projects.tsx(ProjectRow edit),experience.tsx(8 edit buttons — skills section, contracts, contract position/contribution, education, jobs, job position/contribution), and the network person/org detail screens.SecondaryButton; an optionaliconprop was added so only the edit call sites get the pencil — every other SecondaryButton (cancel/save/delete/add) is unchanged.<Pencil size={14} color={theme.tokens.text} strokeWidth={1.75} />+flexDirection: "row"/gap: 6on the button style.Icon-only and decorative next to the existing label; colors via
theme.tokens.*; no i18n, label, handler, or accessibility changes. Onlyapps/clienttouched.Verification (local, re-run in the worktree)
typecheck✓ ·lint✓ ·test✓ 154 · semgrep ✓ 0 findings on the 5 changed files⚠️ Needs maintainer verification
Client tests are
node-env — the visual alignment/spacing of the icon across screens needs an eyeball in a running build.Closes #353
🤖 Generated with Claude Code
Some edit buttons showed a Lucide pencil and others didn't. Standardize: every "edit" affordance now leads with `<Pencil size={14}>` before its label, matching the pattern already used in profile.tsx / projects.tsx. Fixed the edit buttons in notes, projects (row), experience (8 buttons — skills/contracts/positions/contributions/education/jobs), and the network person/org detail screens (via an optional `icon` prop on their shared SecondaryButton, leaving the other buttons untouched). Icon-only, decorative next to the existing label; colors via theme.tokens; no i18n or behavior changes. Closes #353 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>📊 Test coverage
Patch coverage: no testable lines changed.
Overall (
app/,lib/,db/, excluding UI per ADR-0019):Soft thresholds per ADR-0019. Coverage is informational and does not block merge.