Load question/exam JSON in a separate fetch request after loading the page
- Dominant language
- JavaScript
- Stars
- 60
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
At the moment, the JSON definition of the exam or question being edited is included in the HTML of the editor page. This means that when a browser reopens the editor from its cache, it uses the version of the definition included in the page instead of the latest version from the database.
We should make it load the JSON in a separate fetch request once the page has loaded, to ensure that it always fetches the latest version.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the editor page code that embeds the exam or question JSON in the HTML and tracing its page-load initialization. Check how the current definition is read, then identify the existing fetch path or server entry point for retrieving the latest definition. Done means the editor fetches the JSON after loading and no longer relies on cached HTML data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100