MuckRock / squarelet

MuckRock User Service
GNU Affero General Public License v3.0
11 stars 10 forks source link

Can we search for similar names when someone creates a new organization? #165

Closed amandabee closed 4 months ago

amandabee commented 4 months ago

Someone just created an account for KUOW (https://accounts.muckrock.com/organizations/kuow-public-radio/) which surprised me because I would have expected them to be longtime users. So I looked, and ... they are:

https://accounts.muckrock.com/organizations/kuowpublicradio/

We have a low key problem with duplicate organizations being created by new users who didn't think to search first. (See: SCPR, ProPublica) it would be really nice if we could find a way to say "Hey, you probably already have an account" when someone tries to create an organization that has a lot of semantic overlap with any existing organization.

amandabee commented 4 months ago

I think we probably want to give them a few choices like:

allanlasser commented 4 months ago
Screenshot 2024-07-11 at 11 30 15 AM

The create organization form is very simple now, I think there's plenty of space to improve it by running a search before enabling the "Create" button.

amandabee commented 4 months ago

What is on staging now is fine. Though one way it could work is to mimic the search box and populate with likely matches: image

Demo text on staging now reads:

We found some organizations with a similar name. If your organization already exists, please join the existing one instead of creating a new one.

My organizations is not one of the ones listed above:

Instead, it should read:

It looks like one or more organizations with similar names are already up and running on MuckRock:

If the organization you're trying to create is already set up on MuckRock, please look for the "Request to Join" option on the organization's profile page. Please contact support if you the admins listed have left the organization. My organization is not shown.

Editable name box

Create Organization (so the button stays constant).