triplestrange/StrangeScout

Multiple people can't scout same team

PenguinSnail opened this issue · 1 comments

Describe the bug
Multiple people can't scout the same team, and there's no checks for if they do.
If multiple people scout the same team, a conflict appears between the docs and on occasion can prevent the data view page from even loading.

Expected behavior
When multiple people scout the same team, their data should be smoothly merged behind the scenes.

Solution

  • Add scouter to doc ID's
  • Merge docs in strangeparse when team and match number match

Currently the first doc in a set of matching matches will be used, while the following will be dropped entirely.
Functionality is planned to merge docs of the same team/match, but for now this will do