One behaviour for phones, addresses and social profiles on a company, a contact and Your details #1018
No reviewers
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo!1018
Loading…
Reference in a new issue
No description provided.
Delete branch "934-contact-details-parity"
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?
Closes #934
What changed
PhoneNumbersMixinandPostalAddressesMixin, as a company and a contact do; its ownget_numbersandget_addressesare gone.jobs:company_remove_rowandjobs:contact_remove_row(POST, write access to the holder, a row of another holder is a 404).tel),offon a company's or a contact's, as it already did for addresses. The widget template hadtelhard-coded; it now follows the field._not_keptonly names a second website, the title and messaging handles. The profile's card still prints the primary only (a CV choice), now documented.phone_numbers,postal_addressesandweb_links;phone,phone_countryandlinkedin_urlare kept as aliases, marked deprecated in the schema, with a CHANGELOG line under Deprecated.PhoneNumber,PostalAddressandWebLinkand in the wiki, and each is pinned by a test intests/test_contact_details_parity.py.Already done on main (left alone)
#932 (the LinkedIn company prefix), the extension advice and the postal autofill.
Tests
tests/test_contact_details_parity.py(new). Three older tests pinned the old shapes and were updated:test_a_contacts_form_keeps_its_help_in_sight,test_the_contact_form_keeps_its_boxesand the Gets me back in page check (now about the rows, the help drawer being the topic's one text). The page-coverage and isolation sweeps list the two new routes. Full unit suite green; the browser tests for the company and contact forms, row removal, phone groups and accessibility pass.Library check
None needed.
Model use
Written with Claude Code, reviewed by the person who opens the PR.
🤖 Generated with Claude Code