numberscope / frontscope

Numberscope's front end and user interface: responsible for specifying sequences and defining and displaying visualizers
MIT License
7 stars 14 forks source link

Final fixes #360

Open maxd0328 opened 1 week ago

maxd0328 commented 1 week ago

By submitting this PR, I am indicating to the Numberscope maintainers that I have read and understood the contributing guidelines and that this PR follows those guidelines to the best of my knowledge. I have also read the pull request checklist and followed the instructions therein.


This is merge number 7 in the PR merge chain.

Final fixes

OEIS support

NOTE: There is a bug that has not been fixed to a shortage of time, which has to do with the synchronicity of OEIS sequences. Populating OEIS sequences from Backscope is of course done asynchronously, but the rest of the application appears not to be aware of this, as even in old Numberscope there were no callbacks or awaits (so this bug existed previously as well). This would require a considerable refactor to make specimen loading asynchronous. Currently, when importing an OEIS sequence, there is a chance that the OEIS sequence may not be populated by the time the visualizer attempts to render. This causes the visualizer to hang, and requires the user to press the reset button in the specimen bar to get it to properly render.