You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a22b71a
Browse filesBrowse the repository at this point in the historyBrowse files
R-8: recommend the region form; labels and chain references pass R-8
A bare disabled={pending? x} outside any loading region holds the page (here the
detail) on x's first load and broke the desk's tests; the message and spec now
lead with putting the control in a loading/errored region that reads x. The
labels and chain references do that and pass visible, hidden and overlap suites
(the known #4425 test aside). ref: crate 311/311, test/compiled/oracle 105/105,
types 147.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0117BoWKEv4MghW8Ns9LeUUX
Copy file name to clipboardExpand all lines: compiler/src/check.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3028,7 +3028,7 @@ impl<'a> Checker<'a> {
3028
3028
"UNGUARDED_SNAPSHOT",
3029
3029
"R-8",
3030
3030
format!(
3031
-
"{} reads {} as a snapshot, and {} {}: the click then {} — cover the element (`disabled={{pending? {}}}`, or move it inside the `loading` / `errored` region that shows {}){}",
3031
+
"{} reads {} as a snapshot, and {} {}: the click then {} — move the element inside a `loading` / `errored` region whose content reads {} (with `disabled={{pending? {}}}` for a new question){}",
0 commit comments