WoTTsecurity / api

API and Dashboard
https://dash.wott.io
MIT License
0 stars 2 forks source link

Refactor device-metadata to use key_value_editor.html template #334

Open eugenosm opened 5 years ago

eugenosm commented 5 years ago

The code and functionality of device metadata and credentials key-value editor are similar in 90%. So when apply it to credentials i moved it to separate template. Now we need to apply this to device-metadata instead of similar it's own one

eugenosm commented 5 years ago

Artem Martynovich 3:52 PM There's a bug in key/value UI in master branch, I wonder if you know about it If you add multiple empty key/values (i.e. click Add several times) and then delete one, the confirmation dialog pops up, you confirm, and then several empty key/values get deleted, but the dialog never closes

I think it would be right to switch to the common editor first. And if the problem remains, then within this task to eliminate it.