mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-06 17:49:07 -05:00
[GH-ISSUE #689] Feature Request: SocratiQ quiz scrollbar location close to the start of the latest quiz, not at the bottom. #4167
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hpssjellis on GitHub (Feb 7, 2025).
Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/689
Originally assigned to: @kai4avaya on GitHub.
@kai4avaya
Present situation is when a quiz is generated the scroll bar goes to the bottom of the quiz. It doesn't matter if there are 3 questions or 300 questions. It would be more intuitive if the scrollbar location was at the start of the latest quiz. That is tricky unless there are predictors for the location for the scroll bar to be set. If no location predictors and estimation would be: Since the scrollbar location will change for quiz length and number of quizzes. I suggest choosing an approximation to the start of the present quiz based on how many quizzes have been taken.
If it is the first quiz then the scrollbar at the top of the quiz section, if it is the second quiz then the scroll bar location should be at 50% of the window, if 4 quizzes then 75% of the window etc.
@profvjreddi commented on GitHub (Oct 19, 2025):
Duplicate of #688