Repository navigation
Reload old-asset tabs that load QTI assessment items - #6481
Open
rtibblesbot wants to merge 3 commits into
Open
rtibblesbot wants to merge 3 commits into
rtibblesbot wants to merge 3 commits into
Conversation
- QTI items can't be opened, show no type label or answers, and pass validation - The editor reports when a question opens or closes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Reloads once changes are saved, uploads finish, the tab is online and no question is open - At most once a minute per tab; can be cancelled - The file store counts uploads in progress, from file drop to storage upload Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- loadAssessmentItems requests it for QTI rows, cached or from the background fetch - Closing the exercise cancels it; an open question holds it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rtibblesbot
marked this pull request as ready for review
November 27, 2026 01:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
References
Fixes #6338. Parent: #6337. Removed by: #6339.
Reviewer guidance
Suggested review: Full code review, then manual QA once the reviewer sets Needs QA.
Engineer review
Engineer evidence
Tabs opened from Related resources, the resource panel, or a recommended resource can inherit the opener’s cooldown.
If session storage cannot read or write the cooldown, assessmentItem/qtiReload.js:47 skips reload.
Closing a question can release the hold during its image upload.
Reload can discard an unsubmitted Quick Edit draft.
Reload can discard an unsaved thumbnail crop after the upload settles.
The hold at assessmentItem/qtiReload.js:65 can end before queued IndexedDB writes settle.
Switching exercises closes the open legacy question and enables its validation at AssessmentEditor.vue:233.
Hovering over a Perseus card no longer shows a pointer cursor.
Clicking a Perseus card no longer records an Open analytics event.
Confirm that the temporary refresh observer belongs in the shared Resource API at shared/data/resources.js:909.
Confirm that every exercise in the bulk edit list can request reload until removed at EditModal.vue:349.
Confirm file/actions.js:171 is the shared tracking boundary for uploads started outside Uploader.vue.
Open questions:
Resource.where(shared/data/resources.js) rather than only inloadAssessmentItems?file/actions.jsthe right place to count uploads that start outsideUploader.vue?QA review
Manual QA steps
QA team: opening an exercise with a QTI question reloads the page once, else locks that question. Look hardest at unsaved edits and uploads.
Requires: an exercise whose question 2 is QTI, added by a developer. Wait 60 seconds between items.
Look out for:
Captures (11)
Reload on open
s1-first-open-reloads.webm
Locked QTI question
s3-reorder-add-delete.webm
Unsaved edit
Close before the reload
s7-open-then-close-panel-no-reload.webm
Offline
Another tab adds a QTI question
s9-remote-add-appears-locked.webm
AI usage
Used Claude Code to implement the reload, the lock and their Jest tests from the issue's plan. Verified with the Jest suite, ESLint and a browser harness with axe.
Written by rtibblesbot, an LLM-based coding agent.
🟡 Waiting for feedback
WAITING · for reviewLast updated: 2026-11-27 01:05 UTC