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 7f9dc0b
Browse filesBrowse the repository at this point in the historyBrowse files
site: request links on an empty search; an OpenSearch description
When a search finds nothing, the empty state now links the "Request an
asset" form with the failed search (and category) in the title, and the
"New source" form. The homepage links a built opensearch.xml so a browser
can add the catalog as a search engine; a search opens /?q=<terms>.
Checked in a browser.
Closes#226Closes#241
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpkeXQPaUhxjgqdqnk6BrJ
eq("gap link: query in the title, encoded",gapIssueUrl(r,"pixel cars & trucks",""),`${r}/issues/new?template=request-asset.yml&title=${encodeURIComponent("[gap] pixel cars & trucks")}`);
1915
+
has("gap link: category named",decodeURIComponent(gapIssueUrl(r,"cars","2D")),"title=[gap] cars (in 2D)");
1916
+
has("gap link: no query, category only",decodeURIComponent(gapIssueUrl(r," ","Audio")),"title=[gap] (in Audio)");
1917
+
has("gap link: whitespace collapsed and capped",decodeURIComponent(gapIssueUrl(r,`a\n\nb ${"x".repeat(300)}`,"")),`title=[gap] a b ${"x".repeat(96)}`);
1918
+
lacks("gap link: no raw spaces or ampersands in the query string",gapIssueUrl(r,"a & b c","").split("title=")[1]," ");
Can't find it? <aid="empty-request" href="https://github.com/TMHSDigital/Free-Game-Dev-Assets/issues/new?template=request-asset.yml" rel="noopener noreferrer">Request this asset</a>,
206
+
or if you know a free source, <aid="empty-new-source" href="https://github.com/TMHSDigital/Free-Game-Dev-Assets/issues/new?template=new-source.yml" rel="noopener noreferrer">suggest it</a>.
0 commit comments