Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
address review (claude): silence duplicate search toast + guard in-flight search submit
[._.]/ Adam Eivy2fc98ded4d44
diff --git a/client/src/pages/Loras.jsx b/client/src/pages/Loras.jsxindex 1b203b61b2..40b7406121 100644--- a/client/src/pages/Loras.jsx+++ b/client/src/pages/Loras.jsx@@ -342,6 +342,7 @@ function SuggestionsSection({ label, hint, cards, alwaysShow = false, runner = nconst handleSearch = (e) => {e?.preventDefault?.();+ if (loading) return; // Enter while a fetch is in flight → no overlapping requestsconst q = query.trim();if (!q) { resetToCached(); return; } // empty box → cached top-NfetchPage(q, { append: false, useCursor: null });diff --git a/client/src/services/apiImageVideo.js b/client/src/services/apiImageVideo.jsindex 31973816dc..23e5d546bb 100644--- a/client/src/services/apiImageVideo.js+++ b/client/src/services/apiImageVideo.js@@ -177,13 +177,15 @@ export const getCivitaiSuggestions = ({ force = false } = {}) =>// per-category search box and "Load more" button on /media/loras. `query`// blank pages the plain top-ranking; pass the previous response's `nextCursor`// to load the next page. Returns `{ runnerFamily, query, items, nextCursor }`.-export const searchCivitaiLoras = ({ runner, query = '', cursor = null, limit } = {}) => {+// `silent` defaults true because the caller (SuggestionsSection.fetchPage) owns+// its own error toast — leaving it false would double-toast on a failed search.+export const searchCivitaiLoras = ({ runner, query = '', cursor = null, limit, silent = true } = {}) => {const params = new URLSearchParams();params.set('runner', runner);if (query) params.set('query', query);if (cursor) params.set('cursor', cursor);if (limit) params.set('limit', String(limit));- return request(`/loras/search?${params.toString()}`);+ return request(`/loras/search?${params.toString()}`, { silent });};// Civitai auth — read/save/clear the API key. The key never round-trips back