Docs list: search is not held by the busy rule
The busy rule held every submit 650ms for its spinner; a search shows something rather than changing anything, so its form opts out (data-busy=false) and results arrive as fast as the server answers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+4
−1
internal/docs/views/list.html+4 −1
CI passed — run details
diff --git a/internal/docs/views/list.html b/internal/docs/views/list.html| index d2c10f6..68306a9 100644 |
| --- a/internal/docs/views/list.html |
| +++ b/internal/docs/views/list.html |
| @@ -477,7 +477,10 @@ |
| own clear control and its own keyboard on a phone. The value |
| is echoed back so a result page can be edited and |
| re-submitted rather than retyped. */}} |
| - <form docs-search-form method="get" action="/" role="search"> |
| + {{/* data-busy="false": a search shows something rather than |
| + changing anything, so the busy rule's spinner and its 650ms hold |
| + on the submit (estilo busy.js) would only delay the results. */}} |
| + <form docs-search-form method="get" action="/" role="search" data-busy="false"> |
| <input rst-input docs-search-input type="search" name="q" value="{{.Query}}" |
| placeholder="{{.SearchPlace}}" aria-label="{{.SearchLabel}}" autocomplete="off"> |
| <button docs-search-submit type="submit" title="{{.SearchLabel}}" aria-label="{{.SearchLabel}}"><svg viewBox="0 0 20 20" aria-hidden="true" focusable="false"><circle cx="8.5" cy="8.5" r="5.5"/><path d="m13 13 4 4"/></svg></button> |