Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Communities Breadcrumbs - add dropdown for more specific communities #5545

Open
nabramow opened this issue Jan 27, 2025 · 1 comment
Open

Comments

@nabramow
Copy link
Member

nabramow commented Jan 27, 2025

If you're in a community page, and there's a more specific community page, we want to add a dropdown allowing the user to select it. Right now they can use breadcrumbs to go less specific, but not more.

For example, for the Europe, Africa and the Middle East we want to show the dropdown with the countries.

For "Germany" community page, the dropdown should show the cities.

This is where it should go:

Image

You should be able to use the same query the browse communities dialog is using.

Acceptance Criteria

  • On community page load, a dropdown should show to the right of the breadcrumbs if there are more specific communities
  • The dropdown should display the cities in alphabetical order
  • If there are no more specific communities (i.e. already in a city community), the dropdown should not show
  • The dropdown should only show the next more specific level. So Global would show "Europe, Africa, and Middle East", "Americas", "Asia-Pacific", Germany would show "Berlin", "Hamburg", "Munich", etc.
@nabramow nabramow converted this from a draft issue Jan 27, 2025
@nabramow nabramow moved this to Needs details in Engineering Backlog ✏️ Jan 27, 2025
@jesseallhands
Copy link
Contributor

This sounds great! Thanks for creating this ticket!

A few suggestions:

  1. In the dropdown, we should display the cities in alphabetical order (Ideally we would do something like top 5 based on user count followed in alphabetical order, but that would probably be too technically complex - can be done in a later iteration)
  2. At the bottom of the community list at the "city" level, it should always show "Create New Community" which, when clicked, takes the user to the "create a community" google form. If they fill it out and submit it, support will be prompted to create it.
  3. We should always show a dropdown, even if the country doesn't have any cities, but then display the "create new community" link in the dropdown mentioned above. Similarly, for a region (eg. Europe, Africa, and Middle East) there should be a "create new community" link at the bottom of the country list in case there are countries not yet created.

Note: We plan on going even a level down from the city level (eg. Bronx for NYC, Bucktown for Chicago, Friedrichshein for Berlin, Kadikoy for Istanbul, etc) but for now we should keep it at the city level until the communties have grown in size so we don't bifurcate the communities too much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs a decision
Development

No branches or pull requests

2 participants