qiita icon indicating copy to clipboard operation
qiita copied to clipboard

Improve error message when uploading sample info file

Open ackermag opened this issue 8 years ago • 4 comments

Would it be possible to have a count of all the samples that are wrong/ duplicated/ missing etc in the error message?

ackermag avatar Nov 24 '15 19:11 ackermag

@ackermag I think I don't fully follow the issue - can you elaborate a bit more about which error message are you referring and in which situations it is shown? Thanks!

josenavas avatar Nov 24 '15 19:11 josenavas

e.g. when re-uploading a sample_template the error says that the template being uploaded differs from what is in the database by the following samples: with a list of sample_ids. It is sometimes helpful to know how many or if it is all, especially when the list is long.

ackermag avatar Nov 24 '15 20:11 ackermag

Oh! Ok, that makes sense! Yeah, I've a couple of ideas on how to improve all these together. We will talk about them later once all the plugin and other extremely pressing functionality is done.

josenavas avatar Nov 24 '15 20:11 josenavas

Currently, it shows all the samples and errors per sample, if more than 10 samples just show the first 5 and the count of samples with that error.

From @ackermag, it will be nice if the samples were shown in the order they appear in the document.

antgonza avatar Oct 11 '17 17:10 antgonza