Sectors and industries: one- or two-word labels instead of the full classification names #1248
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#1248
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
Sector and industry labels are shown as the classification writes them. The NACE section for information technology reads "Telecommunication, computer programming, consulting, computing infrastructure and other information service activities", and many divisions are nearly as long ("Computer programming, consultancy and related activities"). In a table cell, a badge, a filter or a phone-width card, one label takes the space of a sentence and the interface is bloated by it. The labels are correct; the problem is that the full name is the only one there is.
Related: #1203 already asks for short labels, but for the 22 sections only, inside the 0.7.0 redesign, and without a rule for how short. This issue sets the rule, covers the industries (divisions) too, and is meant for 0.6.0; #1203 can then be closed as covered or kept for the redesigned badges only.
Wanted
Decisions to take in the issue
data/nace-2.1.json,jobs/industries.py). The short labels are Postulo's own wording, so they are gettext strings (109 of them) and go through Weblate, in every selected language, with the release gate as for any string; where a language has none, the English short label stands, never a machine guess. The alternative, a second block in the data file, would make Postulo author a classification in languages nobody here reviews.Tests
Every section and division has a label inside the length rule; no two inside one list are equal; the list, card and filter show the short label with the full name in the tooltip and
aria-description; search finds a company by either; a person's custom industry is unchanged; 320 px shows no wrapped badge for the longest short label in German, Finnish and Greek.Strings go through Weblate only.