Company page: names in other languages in a popover from a languages icon, edited under Edit #1015
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!1015
Loading…
Reference in a new issue
No description provided.
Delete branch "917-company-names-popover"
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 #917
What changed
data-company-namessection. When the company has names in other languages, a Lucidelanguagesicon button follows the H1 and opens a read-only Basecoat popover (popovertarget, so it works with scripts off). Each row has the language in the interface's words and the name in<bdi lang>. No names, no icon.nextset to the edit URL.CompanyNamesViewandCompanyWikidataViewreturn throughsafe_next. The Wikidata review keeps thenextin the session, so Keep and Cancel return to Edit too. An unsafenextfalls back to the company page.languagesadded toassets/icons.txt, and the SVG synced.app.js: a button that opens a[data-popover]puts its own tooltip away as the panel opens. Without this, the first Escape dismissed the focused button's tooltip (WCAG 1.4.13) and a second was needed to close the panel.aria-labelledby, as the footer and map buttons are) rather thanaria-label; the accessible name is "Names in other languages".Tests
tests/test_company_names.py: icon only when names exist, edit page carries the forms,nexthonoured and an unsafenextignored, fetch and review return to Edit, read-only viewer has no write forms.tests/e2e/test_company_names_popover.py: opens from the keyboard, Escape closes and refocuses, opens with scripts off, no icon without names.Library check
None needed.
Model use
Written with Claude Code, reviewed by the person who opens the PR.
🤖 Generated with Claude Code
fecc39d60e44a0ef30e0