diff --git a/public/app.js b/public/app.js index a1917d2..ce41f11 100644 --- a/public/app.js +++ b/public/app.js @@ -278,7 +278,7 @@ function statusBadge(status) { function renderStoreCard(repo) { const owner = escape(repo.owner?.login || ""); const isOfficial = (repo.owner?.login || "").toLowerCase() === "corvidlabs"; - const topics = (repo.topics || []).slice(0, 5); + const topics = (repo.topics || []).filter((t) => t !== "fledge-plugin" && t !== "fledge-template" && t !== "fledge").slice(0, 5); const installed = isInstalled(repo.full_name); const fullEsc = escape(repo.full_name || ""); const installedPlugin = installedBySource.get((repo.full_name || "").toLowerCase()); @@ -290,6 +290,19 @@ function renderStoreCard(repo) { : ` `; + const lang = repo.language || ""; + const topicTagsHtml = topics.map((t) => { + const active = storeFilters.topics.has(t.toLowerCase()); + return ``; + }).join(""); + + const langStat = lang + ? `` + : ""; + const ownerLink = repo.owner?.login + ? `` + : owner; + return `
Discover plugins and templates from the fledge ecosystem.
+Discover plugins and templates from the fledge ecosystem. Filter by topic, language, or author.