Repository navigation
Show a skeleton while the editor loads, and an error when it can't - #263
Merged
Merged
Conversation
…in when it can't The editor page now loads the questions itself and passes the state to the question list. The empty-form text shows only for a loaded form without questions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PhilReinking
commented
Oct 12, 2026
PhilReinking
left a comment
Contributor
Author
There was a problem hiding this comment.
OK at 48802a1, CI green.
3 of the 4 new tests fail on main for the right reason. Beyond that: a ?block= link still opens that question on the first load and after Try again. A failed retry shows the error again. The alert stays the same element when the rest of the editor updates, so it is announced once. Lint, types and both builds pass locally.
ferbinu
pushed a commit
to ferbinu/input
that referenced
this pull request
Oct 15, 2026
Brings in the duplicate endpoint (deck9#262) and the editor loading states (deck9#263). The page keeps deck9#263's loading; the document shows its skeleton and error box instead of loading on its own. The old list (Storyboard.vue) stays removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
While the questions load, the editor now shows skeleton rows instead of "Welcome to the Editor … It might be empty now". When loading fails, it says "Couldn't load the questions." with Try again, instead of a spinner that turns forever.
Fixes BITS-281
Tested: Vitest, lint, vue-tsc, build; 3 of 4 new tests fail on main. By hand at 1440 and 390: slow load, failed load with Try again, empty form.
Not tested: screen reader output (roles and text checked only).
Known gap: after Try again, keyboard focus goes back to the page start, as the button leaves with the error box.
🤖 Generated with Claude Code