numbas / numbas/editor

Testing part marking: manage the link to the runtime with a display object

Open
#706 0 comments 0 reactions 0 assignees View on GitHub
wishlist
Dominant language
JavaScript
Stars
60
Forks
62
PR merge metrics
No merged PRs in 30d

Description

It's just occurred to me that the part editor does a lot of fiddling about with extracting stuff from the runtime, when it could just implement a PartDisplay object, where the API is fairly well-defined.

I think this would help to separate the runtime interface bits from the rest of the editor. At the moment it's a bit of a mess.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the part editor and tracing where it extracts information from the runtime. Review the proposed PartDisplay boundary and the existing runtime-facing interactions before deciding the API. Done means the editor's runtime interface is separated behind a clearly defined display object, with the relevant behavior still working.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.