infinite-industries / infinite

MIT License
5 stars 3 forks source link

Duplicate Detection For Event Editing -- issue #491, issue #489 #493

Closed chriswininger closed 5 months ago

chriswininger commented 5 months ago

So that duplicates can be discovered when approving an event we would like to enable it durring issue editing. Three bugs were getting in the way.

  1. The duplicate detection was not being triggered on initial form load
  2. The state used to determine if the user was an admin was not available on the initial form load
  3. The duplicate detection api did not have a way to exclude issues, such as the one you are currently viewing

This pr corrects the two bugs and adds the ability to exclude the issue being edited from detection

MatthewGidcomb commented 5 months ago

Let's add a Cypress E2E test for this at some point.