Metaculus / metaculus

BSD 2-Clause "Simplified" License
45 stars 6 forks source link

Resolution criteria truncated on old question #714

Open hickman-santini opened 2 weeks ago

hickman-santini commented 2 weeks ago

This one: https://beta.metaculus.com/questions/111/total-solar-eclipse-in-2522/

See www for full resolution criteria.

On old questions there was no "background info." If background info is empty, don't show the toggle header at all.

image

Spot-checking a few other old questions... Some are fine but These ones also have truncated resolution criteria or empty resolution criteria (there is text on www):

https://beta.metaculus.com/questions/109/ https://beta.metaculus.com/questions/190/ https://beta.metaculus.com/questions/199/

Reported by Bruno

hickman-santini commented 2 weeks ago

Can't decide if this is blocking. It seems like it only afflicts very old questions and I doubt many people are looking at these. But if you could look into it a bit and see if it's an easy fix that would be great.

hlbmtc commented 2 weeks ago

I made a small investigation, enabled errors logging and seems like it's our MDXEditor fails to compile some basic links references.

image

So seems like our MDXEditor is very sensitive. This is a quick example of github markdown that does not work either -- https://gist.github.com/emedinaa/28ed71b450243aba48accd634679f805

@ncarazon Reassigning this to you

SylvainChevalier commented 2 weeks ago

If the migration is done correctly and it's only a matter of processing in the rewrite, then this is not blocking. @hlbmtc do you confirm that the text is migrated correctly?

SylvainChevalier commented 1 week ago

Iirc the solution is to enable some plugin in our markdown processor.