Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Prevent multiple people from publishing the same raid #1

Open
pbijdens opened this issue Dec 21, 2017 · 2 comments
Open

Prevent multiple people from publishing the same raid #1

pbijdens opened this issue Dec 21, 2017 · 2 comments

Comments

@pbijdens
Copy link
Owner

It would be nice if it would be possible to prevent multiple people from publishing the same raid.

Implementation suggestions:
Since people have to manually enter the name of the Pokémon and Gym, using those to detect the situation is probably not the most reliable solution. We could use the location of the Gym and then warn a user that the raid is already published before they 'Save' it. Also we can render a warning triangle on the publish button if another raid was already published nearby.

@FractionalRadix
Copy link

If two raids are in gyms with very similar names, we could warn the user ("A very similar raid is already published. Are you sure this is a different raid?")
We could use Levenshtein distance for this purpose; possibly removing things like "The"/"De" from a gym name before doing the comparison.

We could also have a file of known gyms, and compare the input to these.

@pbijdens
Copy link
Owner Author

pbijdens commented Feb 10, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants