diff --git a/loop-library/scripts/check.mjs b/loop-library/scripts/check.mjs index e2d7127..c5b0719 100644 --- a/loop-library/scripts/check.mjs +++ b/loop-library/scripts/check.mjs @@ -145,7 +145,7 @@ assert(html.includes("Search the library")); assert(html.includes("Search by title, task, or contributor")); assert(html.includes('class="search-field"')); assert(html.includes("styles.css?v=20260623-row-background-v2")); -assert(html.includes("script.js?v=20260625-form-protection")); +assert(html.includes("script.js?v=20260702-popular-sort")); assert(css.includes(".search-control-label")); assert(css.includes(".search-control:hover .search-field")); assert(css.includes(".search-control:focus-within .search-field")); @@ -154,7 +154,7 @@ assert.match(css, /\.loop-table td\s*\{[^}]*background:\s*transparent;[^}]*\}/); assert.equal((html.match(/data-here-now-credit/g) || []).length, 2); for (const page of [learnHtml, agentHtml]) { assert(page.includes("styles.css?v=20260623-row-background-v2")); - assert(page.includes("script.js?v=20260625-form-protection")); + assert(page.includes("script.js?v=20260702-popular-sort")); } for (const page of [html, learnHtml, agentHtml]) { const brandPosition = page.indexOf('class="brand-lockup"'); @@ -186,6 +186,8 @@ assert(browserScript.includes('params.set("sort", activeSort)')); assert(browserScript.includes("function comparePopular")); assert(browserScript.includes("Number(b.dataset.upvotes || 0)")); assert(html.includes('')); +assert(html.includes('')); +assert(browserScript.includes('activeSort === "popular"')); assert(browserScript.includes("library-pagination")); assert(!browserScript.includes("innerHTML")); diff --git a/loop-library/site/agents/index.html b/loop-library/site/agents/index.html index dde8810..c40988c 100644 --- a/loop-library/site/agents/index.html +++ b/loop-library/site/agents/index.html @@ -77,7 +77,7 @@ /> - + - + Loop Library: Repeatable AI Agent Workflows | Forward Future @@ -430,6 +430,7 @@

Sort