UUDigitalHumanitieslab / I-analyzer

The great textmining tool that obviates all others
https://ianalyzer.hum.uu.nl
MIT License
6 stars 2 forks source link

Error when clearing query comparison #1564

Open lukavdplas opened 2 months ago

lukavdplas commented 2 months ago

What went wrong?

In the "number of results" visualisation, if you searched without a search term, use the "compare with another query" option to add additional queries, and then clear them, the visualisation displays an error message.

There are some additional problems with this error message:

Alternatively, you could try clearing the additional queries by using the "reset" button. This one does not show an error, but it also doesn't reset the visualisation: you'll still see the old data.

What did you expect to happen?

Obviously you should be able to mess around in the menu without encountering error messages. If they do occur, error messages should show a clear message, etc.

In the UI, it should be possible to clear / reset the query comparison menu if you searched without a query.

Solution 1:

Solution 2:

Solution 3:

Screenshot

screenshot of i-analyzer

Where did you find the bug?

Version

5.6.1

Steps to reproduce

This will display an error message.

Also problematic:

No error message, but the visualisation data isn't updated.