inception-project / inception

INCEpTION provides a semantic annotation platform offering intelligent annotation assistance and knowledge management.
https://inception-project.github.io
Apache License 2.0
595 stars 152 forks source link

Feedback for unsupported export formats #1114

Open UWinch opened 5 years ago

UWinch commented 5 years ago

Is your feature request related to a problem? Please describe. When the user exports annotations from the annotation page, the dropdown for available export formats also includes those which might not support the existing annotations. In case of an unsupported format, the user is re-directed to a document opening dialog. The user might conclude that this is a bug.

Describe the solution you'd like Show a feedback message to the user explaining that the chosen format is not supported.

Describe alternatives you've considered Do not list unsupported formats in the dropdown. However, this is hard to know at this point.

reckart commented 5 years ago

I could imagine a two-step approach:

I believe this two-step approach would be preferable e.g. to implementing the complete validation logic in the format support because it provides a decent separation of concerns and allows to re-use the existing validation code.