cms icon indicating copy to clipboard operation
cms copied to clipboard

Add help tooltips to evaluation outcomes

Open prandla opened this issue 6 months ago • 1 comments

In the Estonian fork, we rephrased the "killed by signal" message, to move more explanation to the help text, but we removed the "(could be triggered by violating memory limits)" from the outcome name. This confused people, so instead I implemented help tooltips for most failing outcomes, e.g.:

Image

These help texts already exist in the "documentation" tab, but apparently nobody knows to look there.

These are currently implemented as just <span title="...">, but I think it would actually be better to do a custom implementation, so that e.g. tapping on them on mobile causes them to pop up.

prandla avatar Jun 05 '25 13:06 prandla

I like this feature, could you open a PR?

I think the span implementation is entirely fine, since I expect the number of CMS mobile users to be low ;-)

We can perhaps think of improving it later.

veluca93 avatar Jun 05 '25 13:06 veluca93