RunestoneInteractive / RunestoneInteractive/rs

Timed exercises/exams in PreText : problems in style and results

Open
#702 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
69
Forks
117
Avg merge
6d 4h
Merged PRs (30d)
24

Description

In PreText timed exercises (<exercises label="short-posttest" time-limit="1000" timer="no" >) for exams, the css needs some adjustments:

  • The answer choices are showing as blocks under the letters (need display: inline-block instead of block?).
  • The width of the exercise is narrow compared to rst. See comparison below.
  • I see that right-click is disabled in this context, which is great. Could we also not allow copy of text in this context to block highlight and ctrl-c (in css: user-select: none; ).
  • (Unrelated) Dark mode comes on whenever I go to pages with timed exercises in pretext (https://runestone.academy/ns/books/published/csawesome2ptxbeta/short-pd-posttest.html?mode=browsing).

And in the Runestone html/js:

  • Would it be possible to have a next button at the bottom of the question so students don't have to keep scrolling down and up after each question to go to the next one (and they don't get confused with the next page button at the bottom which I hit by mistake)?
  • I thought the results of how many you got correct used to show after the exam (I thought the results attribute in exercises being yes by default would do that), but they no longer show. It only says "Thank you for taking the exam. Your answers have been recorded."

PreTeXt (https://runestone.academy/ns/books/published/csawesome2ptxbeta/short-pd-posttest.html?mode=browsing):
Image
RST:
Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked PreText timed-exercise page and the Runestone HTML/JS flow, comparing the PreText and RST screenshots. Trace the styling, navigation, copy prevention, dark-mode behavior, and result rendering for timed exercises. Done means the requested presentation, controls, restrictions, and post-exam results work without confusing the page navigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.