My career: Edit and Delete as pencil and bin icons, with the entry in their names #1247
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo#1247
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
What happens
On My career, each entry of every section (jobs, education, links, skills and the rest) ends with the words Edit and Delete as small text buttons beside the
↑↓arrows. They are long in some languages (the Greek wrapping of #165 is the reason for thebasis-48workaround), and they differ from the rest of the application, where an edit is a pencil and a removal is a bin (the company page, the reminders,c-remove-button).Where
src/postulo/templates/resume/overview.html, the row actions (resume:item_updateandresume:item_deletelinks with{% translate "Edit" %}and{% translate "Delete" %}).Expected
data-size="icon-xs"ghost buttons with the 24 px target the application uses for icon buttons (WCAG 2.5.8), and the same icons as elsewhere (pencil,trash-2).c-remove-buttondoes. A tooltip shows the same words.resume:item_delete(a confirmation page), unless the row's dialog pattern ofc-remove-buttonis preferred; say which in the decision, but never delete on one click.↑↓) are text characters; draw them as icons (chevron-up,chevron-down) in the same row so the four buttons match, keepingaria-labels and the disabled state on the first and last.Tests
The row has the two icon buttons with entry-specific names (and no visible "Edit" / "Delete" text); the links still point at the same routes; the first row's up and the last row's down stay disabled; axe and target-size walks pass in light and dark.
No new strings except the entry-specific names; those go through Weblate.