Page 1 of 1
"History" tab suggestion
Posted: Sun Oct 02, 2022 2:21 pm
by SaxTenor
Would it be possible to add the name of the problems solved into the Progress/History tab?
Re: "History" tab suggestion
Posted: Sun Oct 02, 2022 11:22 pm
by euler
Great idea. I'm a bit busy at the moment, but I'll work on it and let you know when I've been able to do it.
Re: "History" tab suggestion
Posted: Mon Oct 03, 2022 7:32 pm
by euler
Okay, I've made the changes. Let me know what you think.
Re: "History" tab suggestion
Posted: Tue Oct 04, 2022 12:53 am
by SaxTenor
Only one word: WOW! (And Thank you of course

)
Re: "History" tab suggestion
Posted: Tue Oct 04, 2022 3:31 am
by ironman353
It is a great feature Euler. There is a minor issue. Tex rendering is not properly done. For example, problem 801 is displayed as $\text{\$x^y \equiv y^x\$}$ instead of $x^y \equiv y^x$.
Re: "History" tab suggestion
Posted: Tue Oct 04, 2022 6:17 pm
by euler
@ironman353: Thanks for that. I've fixed it.
However, the problem may still occur with other titles because I am truncating problem titles/descriptions that exceed 30 characters. So if it contains an open tag for MathJax before the truncation and the close tag happens after the truncation, then it will not render properly. I toyed with the idea of making it similar to the Archive table and wrapping long lines, but it didn't feel/look right. The page looks neat at the moment with the fixed space for the titles.
I suspect there is no easy fix and we may have to resign to this happening with occasional titles. Having said that, this is only a theoretical problem, as I'm not aware of any for which it happens at the moment. But if you or anyone has any suggestions, I am happy to hear them.
Re: "History" tab suggestion
Posted: Wed Oct 05, 2022 3:13 am
by ironman353
@euler, it looks perfectly fine now. Thanks.
Re: "History" tab suggestion
Posted: Wed Oct 05, 2022 8:37 am
by pjt33
The obvious solution to the MathJax problem is to not truncate the titles in the source HTML but instead place them in a div with a fixed width and CSS overflow:hidden . I don't guarantee it will work in practice, but in theory it seems correct.
Re: "History" tab suggestion
Posted: Wed Oct 05, 2022 6:15 pm
by euler
Genius! Turning off text wrapping and hiding the overflow works a treat, and it turns out that there is a CSS method that automatically allows ellipsis to be added to text overflow.
Re: "History" tab suggestion
Posted: Tue Apr 11, 2023 1:07 pm
by echip
Nice feature