"History" tab suggestion
- SaxTenor
- Posts: 18
- Joined: Mon Sep 28, 2020 11:05 am
- Location: Quebec City, QC, Canada
"History" tab suggestion
Would it be possible to add the name of the problems solved into the Progress/History tab?

- euler
- Administrator
- Posts: 5095
- Joined: Sun Mar 05, 2006 4:49 pm
- Location: Cheshire, England
- Contact:
Re: "History" tab suggestion
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.

impudens simia et macrologus profundus fabulae
- euler
- Administrator
- Posts: 5095
- Joined: Sun Mar 05, 2006 4:49 pm
- Location: Cheshire, England
- Contact:
Re: "History" tab suggestion
Okay, I've made the changes. Let me know what you think.

impudens simia et macrologus profundus fabulae
- SaxTenor
- Posts: 18
- Joined: Mon Sep 28, 2020 11:05 am
- Location: Quebec City, QC, Canada
-
ironman353
- Posts: 295
- Joined: Thu Jan 16, 2014 2:29 pm
Re: "History" tab suggestion
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$.
- euler
- Administrator
- Posts: 5095
- Joined: Sun Mar 05, 2006 4:49 pm
- Location: Cheshire, England
- Contact:
Re: "History" tab suggestion
@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.
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.

impudens simia et macrologus profundus fabulae
-
ironman353
- Posts: 295
- Joined: Thu Jan 16, 2014 2:29 pm
-
pjt33
- Posts: 140
- Joined: Mon Oct 06, 2008 6:14 pm
Re: "History" tab suggestion
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.
- euler
- Administrator
- Posts: 5095
- Joined: Sun Mar 05, 2006 4:49 pm
- Location: Cheshire, England
- Contact:
Re: "History" tab suggestion
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.

impudens simia et macrologus profundus fabulae