bit-bots / imagetagger

An open source online platform for collaborative image labeling
MIT License
267 stars 54 forks source link

Deletion of annotation types #144

Open ghost opened 4 years ago

ghost commented 4 years ago

Is your feature request related to a problem? Please describe.

Can't delete annotation types.

Describe the solution you'd like

Allow deletion of annotation types in the web-ui.

Workaround

$ sudo -iu postgres psql
postgres=# \c imagetagger
imagetagger=# DELETE FROM annotations_annotationtype WHERE id=<whatever>
timonegk commented 4 years ago

Maybe a better workarond is to go to /admin > Annotation Types, select the type and delete it. However it would probably make sense to include it in the /administrator view.

ghost commented 4 years ago

I had no idea there was an /admin page, looks useful.

NFiedler commented 4 years ago

There is a Link to the administration page in the footer which is shown to all admin users. (Not team admins)

timonegk commented 4 years ago

There is a Link to the administration page in the footer which is shown to all admin users. (Not team admins)

This is the /administration page @billop knew about. It doesn't let you delete annotation types, as mentioned in the issue. The django builtin /admin page does, though.

shubh2002 commented 4 years ago

how to add annotation types?