Skip to content

Fix empty profile City dropdown for Albania - #3704

Merged
bernardhanna merged 1 commit into
masterfrom
fix/profile-city-dropdown-albania
Nov 17, 2026
Merged

bernardhanna merged 1 commit into
masterfrom
fix/profile-city-dropdown-albania

Conversation

@bernardhanna

Copy link
Copy Markdown
Collaborator

Summary

  • Profile City is a country-filtered dropdown; Albania (and other non-hub countries) had no cities loaded, so Android showed a blank picker.
  • Load cities for the user's country on the profile page, and fetch other countries on demand via /api/cities.
  • Keeps page weight down without excluding countries that need a city selection.

Test plan

  • php artisan test --filter=CitiesApiTest
  • On live profile with Country = Albania, City dropdown lists Tirana / Durrës / etc.
  • Changing country reloads the matching city list

Made with Cursor

City options were limited to the community hub country list, so selecting Albania left the native dropdown blank. Load cities per country via /api/cities instead.

Co-authored-by: Cursor <cursoragent@cursor.com>
@bernardhanna
bernardhanna merged commit 444aa42 into master Nov 17, 2026
1 check failed
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.

1 participant