Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Home: plain language on the Assist card and clean up dead code

Adarsh09ce2cd2ffaa
diff --git a/src/components/fashion/character-sheet.tsx b/src/components/fashion/character-sheet.tsx
index b5a4ebc9..8ac7be2c 100644
--- a/src/components/fashion/character-sheet.tsx
+++ b/src/components/fashion/character-sheet.tsx
@@ -282,7 +282,7 @@ export function CharacterSheetView({ fields, defaults }: { fields: CastFieldData
{mode === "describe" && (
<div className="space-y-2">
<Textarea value={brief} onChange={(e) => setBrief(e.target.value)} rows={5} placeholder="Who are they? e.g. “a 26-year-old surfer and photographer from Lisbon, freckles, sun-bleached curls”" aria-label="Describe your character" />
- </div>
+ </div>
)}
{mode !== "reference" && (
diff --git a/src/components/home/home-islands.tsx b/src/components/home/home-islands.tsx
index b4305c45..d1a104e0 100644
--- a/src/components/home/home-islands.tsx
+++ b/src/components/home/home-islands.tsx
@@ -138,7 +138,7 @@ export function StudioName({ label, line }: { label: string; line: string }) {
/** Over Assist's heading, for everyone but the studio's owner: here, Assist is the owner's (AssistSection). */
export function AssistTag() {
if (useIsOwner()) return null;
- return <p className="mb-2 inline-flex h-6 items-center rounded-full bg-brand-faint px-2.5 text-[12px] font-medium text-brand-text">In self-hosted Fuobe</p>;
+ return <p className="mb-2 inline-flex h-6 items-center rounded-full bg-brand-faint px-2.5 text-[12px] font-medium text-brand-text">On your own Fuobe</p>;
}
const ASSIST_ACTION =
@@ -153,7 +153,7 @@ export function AssistAction() {
</IntentLink>
) : (
<a href="#home-start" className={ASSIST_ACTION}>
- Host your own Fuobe {arrow}
+ Run your own Fuobe {arrow}
</a>
);
}
diff --git a/src/components/nav-items.ts b/src/components/nav-items.ts
index 6fb2a903..515b46d4 100644
--- a/src/components/nav-items.ts
+++ b/src/components/nav-items.ts
@@ -41,6 +41,7 @@ import {
Video,
Wand2,
WandSparkles,
+ Zap,
ZoomIn,
type LucideIcon,
} from "lucide-react";
diff --git a/src/lib/home-showcase.ts b/src/lib/home-showcase.ts
index a348fa92..39a58431 100644
--- a/src/lib/home-showcase.ts
+++ b/src/lib/home-showcase.ts
@@ -10,7 +10,6 @@ import type { BeforeAfterStill } from "@/components/home/before-after";
import { NAV } from "@/components/nav-items";
import { APPS, EFFECTS, MODELS, MOTIONS, getPreset, isListed, modelCounts } from "@/lib/catalog";
import { CAMERA_MOVES } from "@/lib/catalog/cinema";
-import { LLM_PROVIDERS } from "@/lib/catalog/llm-providers";
import { TEMPLATES } from "@/lib/catalog/marketing";
import type { ModelDef } from "@/lib/catalog/types";
import type { Manifest } from "@/lib/comfy";
@@ -230,12 +229,6 @@ export function audioTools() {
return { named, more: HUB_MODES.audio.length - named.length };
}
-/** What Assist plans with: the hosted providers (6 by name, then how many more) and the local servers. */
-export function assistRunsOn() {
- const hosted = LLM_PROVIDERS.filter((p) => p.group !== "local").map((p) => p.short);
- return { named: hosted.slice(0, 6), more: Math.max(0, hosted.length - 6), local: LLM_PROVIDERS.filter((p) => p.group === "local" && p.id !== "custom").map((p) => p.label) };
-}
-
/** A JSON file's contents, or null when it's missing or unreadable (as the About page reads it). */
async function readJson<T>(text: Promise<string>): Promise<T | null> {
try {
@@ -317,7 +310,6 @@ export async function homeShowcase() {
audioTools: audioTools(),
pills: homePills(),
newModels: newOpenModels(),
- runsOn: assistRunsOn(),
skills: skills.starters,
};
}
diff --git a/tests/home-showcase.test.ts b/tests/home-showcase.test.ts
index 45ece742..66b80de6 100644
--- a/tests/home-showcase.test.ts
+++ b/tests/home-showcase.test.ts
@@ -4,7 +4,6 @@ import { describe, expect, it, vi } from "vitest";
import { NAV } from "@/components/nav-items";
import { APPS, EFFECTS, MODELS, MOTIONS, getPreset, modelCounts } from "@/lib/catalog";
import { CAMERA_MOVES } from "@/lib/catalog/cinema";
-import { LLM_PROVIDERS } from "@/lib/catalog/llm-providers";
import { TEMPLATES } from "@/lib/catalog/marketing";
import { ASSIST_PROMPT_MAX, ASSIST_SUGGESTIONS, assistDraft } from "@/lib/assist";
import { HUB_MODES } from "@/lib/hubs";
@@ -223,12 +222,8 @@ describe("Home's showcase", () => {
for (const m of fewer) expect(HOME_NEW_OPEN.slice(0, 10)).not.toContain(m.id);
});
- it("says what Assist plans with, from the provider registry", async () => {
- const { runsOn, skills } = await homeShowcase();
- const hosted = LLM_PROVIDERS.filter((p) => p.group !== "local");
- expect(runsOn.named).toEqual(hosted.slice(0, 6).map((p) => p.short));
- expect(runsOn.named.length + runsOn.more).toBe(hosted.length);
- expect(runsOn.local).toEqual(LLM_PROVIDERS.filter((p) => p.group === "local" && p.id !== "custom").map((p) => p.label));
+ it("reads the starter skills from the skills folder", async () => {
+ const { skills } = await homeShowcase();
// The starter skills exist, each with its SKILL.md title.
expect(skills.map((s) => s.name)).toEqual(HOME_SKILLS);
for (const s of skills) expect(fs.readFileSync(path.join(root, "skills", s.name, "SKILL.md"), "utf8")).toContain(`title: ${s.title}`);