Enhancement/Remove demo components #276
As discussed in #274, we currently have some code duplication between the demo labeling canvas and the production labeling canvas. This means that new frontend features may have to be implemented twice which slows down the process and may confuse developers.
This pull request refactors the demo pages to use the production labeling canvas. This is achieved by using axios-mock-adapter to intercept the HTTP requests of the production labeling canvas and replacing them with an in-memory implementation. In the future, this same approach can also be leveraged for faking HTTP requests for unit testing the frontend.
Jul 7, 2019
@c-w is there any chance this bug
I have this issue now (using latest version of master branch / 50c7078 ), and debugging the different commits lead me to this one:
@guillim Given the
There's probably a better way to solve this (e.g. check last modified time of