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.

Apps: the cheek-kiss app is Surprise Kiss, so Mugshot names one app

Adarsh08979577b63d
diff --git a/src/lib/catalog/apps.ts b/src/lib/catalog/apps.ts
index 73f52639..74009ed1 100644
--- a/src/lib/catalog/apps.ts
+++ b/src/lib/catalog/apps.ts
@@ -1726,9 +1726,9 @@ export const APPS: Preset[] = [
}),
videoApp({
id: "app-yes-kiss",
- name: "Mugshot",
+ name: "Surprise Kiss",
category: "Fun",
- description: "A playful police booking shot",
+ description: "A quick kiss on the cheek, then a big yes",
icon: "HeartHandshake",
hue: 350,
prompt:
diff --git a/tests/app-names.test.ts b/tests/app-names.test.ts
new file mode 100644
index 00000000..960c9394
--- /dev/null
+++ b/tests/app-names.test.ts
@@ -0,0 +1,23 @@
+import { describe, expect, it } from "vitest";
+import { APPS } from "@/lib/catalog/apps";
+
+// Search, the Apps gallery and the menus show apps by name: two apps with one name read as one app with two covers.
+describe("app names", () => {
+ it("are unique", () => {
+ const seen = new Map<string, string>();
+ const twice: string[] = [];
+ for (const a of APPS) {
+ const key = a.name.trim().toLowerCase();
+ const other = seen.get(key);
+ if (other) twice.push(`${a.name}: ${other} and ${a.id}`);
+ else seen.set(key, a.id);
+ }
+ expect(twice).toEqual([]);
+ });
+
+ it("names the cheek-kiss app for what it makes", () => {
+ const a = APPS.find((p) => p.id === "app-yes-kiss")!;
+ expect(a.name).toBe("Surprise Kiss");
+ expect(a.description).toMatch(/kiss/i);
+ });
+});