"History" tab suggestion

Announcements, comments, ideas, feedback, and "How do I... ?" questions
Post Reply
User avatar
SaxTenor
Posts: 18
Joined: Mon Sep 28, 2020 11:05 am
Location: Quebec City, QC, Canada

"History" tab suggestion

Post by SaxTenor »

Would it be possible to add the name of the problems solved into the Progress/History tab?
Image
User avatar
euler
Administrator
Posts: 5095
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: "History" tab suggestion

Post 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.
Image
impudens simia et macrologus profundus fabulae
User avatar
euler
Administrator
Posts: 5095
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: "History" tab suggestion

Post by euler »

Okay, I've made the changes. Let me know what you think.
Image
impudens simia et macrologus profundus fabulae
User avatar
SaxTenor
Posts: 18
Joined: Mon Sep 28, 2020 11:05 am
Location: Quebec City, QC, Canada

Re: "History" tab suggestion

Post by SaxTenor »

Only one word: WOW! (And Thank you of course :D)
Image
ironman353
Posts: 295
Joined: Thu Jan 16, 2014 2:29 pm

Re: "History" tab suggestion

Post 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$.
User avatar
euler
Administrator
Posts: 5095
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: "History" tab suggestion

Post 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.
Image
impudens simia et macrologus profundus fabulae
ironman353
Posts: 295
Joined: Thu Jan 16, 2014 2:29 pm

Re: "History" tab suggestion

Post by ironman353 »

@euler, it looks perfectly fine now. Thanks.
pjt33
Posts: 140
Joined: Mon Oct 06, 2008 6:14 pm

Re: "History" tab suggestion

Post 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.
User avatar
euler
Administrator
Posts: 5095
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: "History" tab suggestion

Post 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.
Image
impudens simia et macrologus profundus fabulae
echip
Posts: 39
Joined: Sat Feb 15, 2014 6:51 pm

Re: "History" tab suggestion

Post by echip »

Nice feature
Post Reply