Description
Describe the bug
when I build DM2 and try to implement in labelStudio, at first I find out the instructions on "Using custom DM build in Label Studio" not working, my tiny change in DM2 code do not appear at label studio page, after I fix this problem by reading issue #640
and then I get error "Can't find key tabID
in data [/views/:tabID/tasks]" when I open data manage page in label studio.
To Reproduce
Steps to reproduce the behavior:
what I did is:
- Go to root folder of project DM2
- create .env file, set API_GATEWAY and LS_ACCESS_TOKEN
- run 'npm ci'
- run 'npm run build:module'
- run 'cp -r ./build/**/* ${labelStudio root folder}/label_studio/frontend/dist/dm'
- open data manage page of my project in label studio page
Expected behavior
I hope after I repalce 'dm' in ${labelStudio root folder}/label_studio/frontend/dist, label studio can work as usual, and then I can try to make some Customization by myself.
Environment (please complete the following information):
- OS: ubuntu 18.04
- Label Studio Version : 25ba33d
- DM2 Version : 8f94eee9b4742377d9937cc6c5bc21bcf058c352
Additional context
and I also get another problem when I run local version of the DataManager. I can not get tasks list when I open the DataManager page. it solved after I change dm2/src/sdk/api-config.js : 44 from [ tasks: "/tasks", ] to [ tasks: "/views/:view/tasks", ].
maybe problems I got is becaue the version of my labelStudio and DM2 not correspond? can I avoid those problems by get earlier version of labelStudion and DM2?