Open alvinvoo opened 6 years ago
This is not a bug but something not implemented. Hence you can't see any error in console.
Hence you see the updated information. But this thing has to be implemented whenever any change happens on the workarea. Eg
In short, whenever there is a change on workarea or any new image is loaded then label panel should be refreshed.
If you notice a label shape is drawn on image in 2 ways
Whenever a shape is created on image using any above method, we need to attach necessary events like resize, drag, select etc. Currently there is duplicate code presents in workarea.tag.html for manual and automatic way.
We first need to refactor this to make it simple. we also need to emit events when a change happen on workarea. So that on each change label-panel can be updated.
As we don't have any unit test to test the UI, it is difficult to identify any breaking change.
Hence these issues are not addressed yet.
Implementing unit test is good but can be postponed. But refactoring workarea.tag.html is necessary to go ahead to update label-panel on correct moment.
Describe the bug I notice there's a bug with the refreshing of the right panel. Ideally it should refresh with the updated feature points every time when I add a new point or when I click a different image in the image-slider, but now, the panel only refreshes when I move the 'feature rectangle' with the move tool.
To Reproduce Steps to reproduce the behavior:
Screenshots This screencast is taken from 'http://imglab.ml/', not my local setup
Console Errors There's no console error
Device detail (please complete the following information):
Additional context I suspect this is just due to right panel not being remounted when necessary, I will look into when I have the time.. or @amitguptagwl has any idea?