feat(ui): standardize edit button pattern #12

Merged
addison merged 6 commits from feature/generic-edit-button into main 2026-08-25 09:11:54 -04:00
Collaborator

This PR standardizes the edit button UI and applies the requested directory-card layout.\n\nChanges:\n- Adds a reusable k-edit-button with a pencil icon and consistent focus/hover states.\n- Applies the button to client, contractor, and job edit entry points.\n- Places directory-card avatar, name/address, and Edit action in one top row.\n- Adds unit coverage for the shared edit button.\n- Documents the k- shared-component selector convention.\n\nValidation:\n- npm run lint\n- npx ng test --watch=false --no-progress (9 tests passing)

This PR standardizes the edit button UI and applies the requested directory-card layout.\n\nChanges:\n- Adds a reusable `k-edit-button` with a pencil icon and consistent focus/hover states.\n- Applies the button to client, contractor, and job edit entry points.\n- Places directory-card avatar, name/address, and Edit action in one top row.\n- Adds unit coverage for the shared edit button.\n- Documents the `k-` shared-component selector convention.\n\nValidation:\n- `npm run lint`\n- `npx ng test --watch=false --no-progress` (9 tests passing)
Amp-Thread-ID: https://ampcode.com/threads/T-01a03880-c2f2-714d-9850-d74c8cd16a84
Co-authored-by: Addison Emig <[email protected]>
Amp-Thread-ID: https://ampcode.com/threads/T-01a03880-c2f2-714d-9850-d74c8cd16a84
Co-authored-by: Addison Emig <[email protected]>
Amp-Thread-ID: https://ampcode.com/threads/T-01a03880-c2f2-714d-9850-d74c8cd16a84
Co-authored-by: Addison Emig <[email protected]>
Amp-Thread-ID: https://ampcode.com/threads/T-01a03880-c2f2-714d-9850-d74c8cd16a84
Co-authored-by: Addison Emig <[email protected]>
fix(ui): align directory card identity row
Some checks failed
Pull Request CI / Frontend checks (pull_request) Successful in 1m22s
Pull Request CI / Backend checks (pull_request) Successful in 2m16s
Pull Request CI / End-to-end tests (pull_request) Failing after 1m40s
fc4b94b7b0
Amp-Thread-ID: https://ampcode.com/threads/T-01a03880-c2f2-714d-9850-d74c8cd16a84
Co-authored-by: Addison Emig <[email protected]>
test(e2e): use generic edit button label
All checks were successful
Pull Request CI / Frontend checks (pull_request) Successful in 1m20s
Pull Request CI / Backend checks (pull_request) Successful in 2m17s
Pull Request CI / End-to-end tests (pull_request) Successful in 1m25s
6a95613365
Amp-Thread-ID: https://ampcode.com/threads/T-01a03880-c2f2-714d-9850-d74c8cd16a84
Co-authored-by: Addison Emig <[email protected]>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kwila/kalzar!12
No description provided.