numbas / numbas/editor

Editor shows 'saved' even if the server has an error in saving edits

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

Description

The editor shows 'saved' when it receives any response to its 'POST' request, for example server error 500.

We should show an 'error' if we receive 4xx or 5xx responses, and potentially 1xx or 3xx.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the editor code that handles the POST response for saving edits. Check how response status codes currently determine the displayed save state. Done means 4xx and 5xx responses show an error instead of “saved”; the issue also suggests deciding how 1xx and 3xx responses should behave.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.