Skip to content

fix(account-details): sort countries by display name#1840

Open
voyagi wants to merge 2 commits into
runbox:masterfrom
voyagi:fix/country-list-sort
Open

fix(account-details): sort countries by display name#1840
voyagi wants to merge 2 commits into
runbox:masterfrom
voyagi:fix/country-list-sort

Conversation

@voyagi
Copy link
Copy Markdown

@voyagi voyagi commented May 14, 2026

Summary

Verification

  • npx ng test --include=src/app/account-details/personal-details.component.spec.ts --watch=false --browsers=FirefoxHeadless
  • The same focused test command fails on the test-only commit ffa747d0, before the fix commit is applied.
  • npx tsc -p src/tsconfig.spec.json --noEmit
  • npm run build passed when run under Git Bash on Windows so the package script's POSIX shell syntax is interpreted correctly.

AI disclosure

Codex assisted with issue triage, implementation, and tests for src/app/account-details/personal-details.component.ts and src/app/account-details/personal-details.component.spec.ts.

Fixes #1443

voyagi added 2 commits May 14, 2026 13:30
Add tests for runbox#1443 that require country options to be sorted by display name and rebuilt without duplicates.
Populate the country list from countries-and-timezones entries, sort by localized country name, and replace the list on reload instead of appending duplicates. Fixes runbox#1443.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Countries in Account Details are not listed alphabetically

1 participant