This PR extends the redirect feature from #418 to also support the batch addition method from #417.
This PR also includes some refactoring to make document removal work the same way as document addition, hopefully making it easier to add a batch remove button in the near future.
What this PR does
This PR extends the redirect feature from #418 to also support the batch addition method from #417.
This PR also includes some refactoring to make document removal work the same way as document addition, hopefully making it easier to add a batch remove button in the near future.