From fdc6c204ed7ee10d5ccf21712fed7fae2e83ca33 Mon Sep 17 00:00:00 2001 From: Jacob Owens Date: Fri, 10 Apr 2026 17:35:26 -0700 Subject: [PATCH 1/8] feaT: modified platform UI and wording slightly to align better with Brand --- apps/web/src/assets/fonts/LoraVF.woff2 | Bin 0 -> 37792 bytes apps/web/src/components/chat/header.tsx | 4 +- apps/web/src/components/chat/message-list.tsx | 36 ++--- .../sidebar/channel-panel/channel-list.tsx | 6 +- .../channel-panel/create-channel-dialog.tsx | 28 +++- apps/web/src/styles/fonts.css | 9 ++ packages/ui/src/components/button.tsx | 2 +- .../ui/src/components/custom-select-item.tsx | 144 ++++++++++++++++++ packages/ui/src/styles/globals.css | 111 +++++++------- 9 files changed, 255 insertions(+), 85 deletions(-) create mode 100644 apps/web/src/assets/fonts/LoraVF.woff2 create mode 100644 packages/ui/src/components/custom-select-item.tsx diff --git a/apps/web/src/assets/fonts/LoraVF.woff2 b/apps/web/src/assets/fonts/LoraVF.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..536efc5c3c45b553abdfcb66aed0437ea3e0ae4c GIT binary patch literal 37792 zcmY&-Q**yY5j2uNaRy^{`v8g5{t9mFS#-Y;pyB>8Zt0v-EI3wo;-OjzEWvgj>g&do^;W&?|M+YLUEuPqmnD%%QUvHfIxf0=jZcNfJaDGaudi0XvlBK_( z;SvGAP^Ggzlx0Hnp^M?=ukTT)n13$g;7A~mWg?5O`^)2`3%)@QBE*R3xdGQ$0IrBD zd*^}Fk|-jS5FMl_19V9k3Xv3Qkks<0vL|9qpTH^ysQmn{dS8P?yxv?&}=@2v9b$T=*drri~p)Yqs4h3p{6j<|4TKb0#2+j}< z4gh)>cVcxS)6(aXo({@900ieagn~0K+1`<65N22|NELC6V?jvD4@O;I>t3 zqiNI{Wr7wA+<%wXro?(%$h4Gp}$_fZ)brQ^Wy0v`Gd__=A5x5YuM7d7?Rwj3wJ zFO2Y2eLcx9em19s-GV}iDT3tgw*!kIjM=n`8+Y3N>T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i6DiO6zHkQ! zvFHKH-|q()I>!&N!aZ_;6X|BdSKbAe^Jivv2LdSMFhJ@Wgv!$$U=S$w01J`QaE5zN z_RZuW12mg3rq8%4K7B?FaVarjlv@jrF+(BLf!oX$rajX`yaxGJ@=-o%Mh<;E!)3a0 zlYD_XGvi0;Oqk}S*TAk;D(vo~)yz}5S)(_c)@G;W4>Vz%N;Vw>1MAU4QN27H=PK3F z>~=@3T&}i1Ac0Z(?VYq3+K47s$zqTxlS=C$dOX>C8%>8XTyU36FBTL5IdP_OYC$qy zLtXEz{ug%@J)`H!$330lOK~!&w{4c%F-PmN(=-|?^Ezq~_)M|*TxDz(d&$sFpzw)6PhfE`!EdFL=>Q za>nj>rU6-A_6o1p+~84<$@T-I(6O8Lx;G4ZlTD6XdA^gc3~^+S!^Vx-qI?{s6~0wz za!$=D8DZC5>n%QW<|`7j>MBYe*%R4hL9<0`U0}&p7kXTaAGKPo%@x|Mv248!)(I)Q z;qUF%?Vv;Mv8kf5O01b8b!_`6(S;L?_n%xw9u!>NoaoFZxZK;2ViX3~?~Wu|qPX9A{p# z>0riT9{4$Y9Mxh}Gj)CeS|iXoXbP-2VMK_vDTqlR2@#dR$W?~s*aFZYf#E=Lt*9vi zU$MJ>$*E#k(WW`8tB%=jqk}gIXKElRpeR|Fn;LIY<183jph;s(46*F{8a5%u )} {context.type === "channel" && ( - + )} {context.type === "dm" && ( diff --git a/apps/web/src/components/chat/message-list.tsx b/apps/web/src/components/chat/message-list.tsx index 6e3d0a8..8025c1f 100644 --- a/apps/web/src/components/chat/message-list.tsx +++ b/apps/web/src/components/chat/message-list.tsx @@ -1,7 +1,7 @@ import { Skeleton } from "@repo/ui/components/skeleton" import { cn } from "@repo/ui/lib/utils" import { differenceInMinutes, isSameDay } from "@repo/utils/date" -import { Hash, Loader2, User, Users } from "lucide-react" +import { Loader2, ScrollText } from "lucide-react" import { useCallback, useEffect, useRef, useState } from "react" import type { Message } from "@/lib/api-types" import type { MentionCandidate } from "./composer/mention-types" @@ -29,28 +29,20 @@ interface MessageListProps { function EmptyState({ context }: { context: ChatContext }) { return ( -
-
- {context.type === "channel" && ( - - )} - {context.type === "dm" && ( - - )} - {context.type === "group_dm" && ( - - )} +
+
+ +
+

+ {context.type === "channel" ? context.name : context.name} +

+

+ {context.type === "channel" + ? "The scroll is blank. Write the first entry." + : "Send a raven to begin."} +

+
-

- {context.type === "channel" - ? `Welcome to #${context.name}!` - : `This is the beginning of your conversation with ${context.name}`} -

-

- {context.type === "channel" - ? "This is the start of the channel." - : "Send a message to get started."} -

) } diff --git a/apps/web/src/components/sidebar/channel-panel/channel-list.tsx b/apps/web/src/components/sidebar/channel-panel/channel-list.tsx index caa919f..a845050 100644 --- a/apps/web/src/components/sidebar/channel-panel/channel-list.tsx +++ b/apps/web/src/components/sidebar/channel-panel/channel-list.tsx @@ -32,11 +32,11 @@ import { useNavigate, useParams } from "@tanstack/react-router" import { ChevronDown, FolderPlus, - Hash, Megaphone, MessageSquare, MoreHorizontal, Plus, + Scroll, Volume2, } from "lucide-react" import { AnimatePresence, motion } from "motion/react" @@ -55,7 +55,7 @@ import { DeleteChannelDialog } from "./delete-channel-dialog" import { EditChannelDialog } from "./edit-channel-dialog" const channelIcons = { - text: Hash, + text: Scroll, voice: Volume2, announcement: Megaphone, forum: MessageSquare, @@ -64,7 +64,7 @@ const channelIcons = { type ChannelData = ListChannelsResponse function ChannelIcon({ type }: { type: string }) { - const Icon = channelIcons[type as keyof typeof channelIcons] ?? Hash + const Icon = channelIcons[type as keyof typeof channelIcons] ?? Scroll return } diff --git a/apps/web/src/components/sidebar/channel-panel/create-channel-dialog.tsx b/apps/web/src/components/sidebar/channel-panel/create-channel-dialog.tsx index 08b9e52..3111a3e 100644 --- a/apps/web/src/components/sidebar/channel-panel/create-channel-dialog.tsx +++ b/apps/web/src/components/sidebar/channel-panel/create-channel-dialog.tsx @@ -1,4 +1,5 @@ import { Button } from "@repo/ui/components/button" +import { CustomSelectItem } from "@repo/ui/components/custom-select-item" import { Dialog, DialogContent, @@ -11,19 +12,29 @@ import { Label } from "@repo/ui/components/label" import { Select, SelectContent, - SelectItem, SelectTrigger, SelectValue, } from "@repo/ui/components/select" import { useQueryClient } from "@tanstack/react-query" import { useNavigate, useParams } from "@tanstack/react-router" -import { Hash, Loader2, Megaphone } from "lucide-react" +import { Loader2, Megaphone, Scroll } from "lucide-react" import { useState } from "react" import { apiClient } from "@/lib/api-client" const channelTypes = [ - { value: "text", label: "Text Channel", icon: Hash }, - { value: "announcement", label: "Decree", icon: Megaphone }, + { + value: "text", + label: "Scroll", + icon: Scroll, + description: "A text channel for general conversation and discussion", + }, + { + value: "announcement", + label: "Decree", + icon: Megaphone, + description: + "A read-only channel for important announcements. Only admins and wardens can post", + }, ] as const export function CreateChannelDialog({ @@ -139,12 +150,17 @@ export function CreateChannelDialog({ {channelTypes.map((ct) => ( - +
{ct.label}
-
+ ))}
diff --git a/apps/web/src/styles/fonts.css b/apps/web/src/styles/fonts.css index ea4db11..73e4734 100644 --- a/apps/web/src/styles/fonts.css +++ b/apps/web/src/styles/fonts.css @@ -12,9 +12,18 @@ font-display: swap; } +@font-face { + font-family: "Lora"; + src: url("../assets/fonts/LoraVF.woff2") format("woff2"); + font-weight: 400 700; + font-display: swap; +} + :root { --font-geist-sans: "Geist Sans", ui-sans-serif, system-ui, sans-serif; --font-geist-mono: "Geist Mono", ui-monospace, monospace; + --font-serif: + "Lora", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; } body { diff --git a/packages/ui/src/components/button.tsx b/packages/ui/src/components/button.tsx index aed62bb..f9e7111 100644 --- a/packages/ui/src/components/button.tsx +++ b/packages/ui/src/components/button.tsx @@ -4,7 +4,7 @@ import { Slot } from "radix-ui" import type * as React from "react" const buttonVariants = cva( - "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", + "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all active:scale-[0.97] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", { variants: { variant: { diff --git a/packages/ui/src/components/custom-select-item.tsx b/packages/ui/src/components/custom-select-item.tsx new file mode 100644 index 0000000..d89ef6e --- /dev/null +++ b/packages/ui/src/components/custom-select-item.tsx @@ -0,0 +1,144 @@ +"use client" + +import { SelectItem } from "@repo/ui/components/select" +import { cn } from "@repo/ui/lib/utils" +import type { Select as SelectPrimitive } from "radix-ui" +import React, { useEffect, useRef, useState } from "react" +import { createPortal } from "react-dom" + +interface CustomSelectItemProps + extends React.ComponentProps { + tooltip?: React.ReactNode + side?: + | "top" + | "top-right" + | "right" + | "bottom-right" + | "bottom" + | "bottom-left" + | "left" + | "top-left" +} + +export const CustomSelectItem = React.forwardRef< + HTMLDivElement, + CustomSelectItemProps +>(({ children, tooltip, side = "right", className, ...props }, ref) => { + const [isOpen, setIsOpen] = useState(false) + const [position, setPosition] = useState({ top: 0, left: 0 }) + const itemRef = useRef(null) + + useEffect(() => { + if (isOpen && itemRef.current && tooltip) { + const rect = itemRef.current.getBoundingClientRect() + const offset = 8 + let top = 0 + let left = 0 + + switch (side) { + case "top": + top = rect.top + window.scrollY - offset + left = rect.left + window.scrollX + rect.width / 2 + break + case "top-right": + top = rect.top + window.scrollY - offset + left = rect.right + window.scrollX + offset + break + case "right": + top = rect.top + window.scrollY + rect.height / 2 + left = rect.right + window.scrollX + offset + break + case "bottom-right": + top = rect.bottom + window.scrollY + offset + left = rect.right + window.scrollX + offset + break + case "bottom": + top = rect.bottom + window.scrollY + offset + left = rect.left + window.scrollX + rect.width / 2 + break + case "bottom-left": + top = rect.bottom + window.scrollY + offset + left = rect.left + window.scrollX - offset + break + case "left": + top = rect.top + window.scrollY + rect.height / 2 + left = rect.left + window.scrollX - offset + break + case "top-left": + top = rect.top + window.scrollY - offset + left = rect.left + window.scrollX - offset + break + } + + setPosition({ top, left }) + } + }, [isOpen, tooltip, side]) + + if (!tooltip) { + return ( + + {children} + + ) + } + + return ( + <> +
{ + setIsOpen(true) + }} + onMouseLeave={() => { + setIsOpen(false) + }} + > + + {children} + +
+ {isOpen && + createPortal( +
{ + switch (side) { + case "top": + return "translate(-50%, -100%)" + case "top-right": + return "translate(0, -75%)" + case "right": + return "translate(0, -50%)" + case "bottom-right": + return "translate(0, 0)" + case "bottom": + return "translate(-50%, 0)" + case "bottom-left": + return "translate(-100%, 0)" + case "left": + return "translate(-100%, -50%)" + case "top-left": + return "translate(-100%, -75%)" + default: + return "translate(0, -50%)" + } + })(), + }} + > + {tooltip} +
, + document.body + )} + + ) +}) + +CustomSelectItem.displayName = "CustomSelectItem" diff --git a/packages/ui/src/styles/globals.css b/packages/ui/src/styles/globals.css index e3286ea..5223515 100644 --- a/packages/ui/src/styles/globals.css +++ b/packages/ui/src/styles/globals.css @@ -50,32 +50,32 @@ :root { --radius: 0.625rem; - --background: oklch(0.985 0.012 48); - --foreground: oklch(0.22 0.016 40); + --background: oklch(0.98 0.014 45); + --foreground: oklch(0.22 0.018 38); - --card: oklch(0.965 0.018 48); - --card-foreground: oklch(0.22 0.016 40); + --card: oklch(0.96 0.02 45); + --card-foreground: oklch(0.22 0.018 38); - --popover: oklch(0.965 0.018 48); - --popover-foreground: oklch(0.22 0.016 40); + --popover: oklch(0.96 0.02 45); + --popover-foreground: oklch(0.22 0.018 38); - --primary: oklch(0.5 0.12 45); - --primary-foreground: oklch(0.97 0.008 48); + --primary: oklch(0.5 0.14 50); + --primary-foreground: oklch(0.97 0.01 45); - --secondary: oklch(0.94 0.022 48); - --secondary-foreground: oklch(0.22 0.016 40); + --secondary: oklch(0.935 0.025 45); + --secondary-foreground: oklch(0.22 0.018 38); - --muted: oklch(0.945 0.025 48); - --muted-foreground: oklch(0.5 0.032 45); + --muted: oklch(0.94 0.028 45); + --muted-foreground: oklch(0.5 0.035 42); - --accent: oklch(0.925 0.025 48); - --accent-foreground: oklch(0.22 0.016 40); + --accent: oklch(0.92 0.028 45); + --accent-foreground: oklch(0.22 0.018 38); --destructive: oklch(0.637 0.208 25.32); - --border: oklch(0.88 0.028 48); - --input: oklch(0.88 0.028 48); - --ring: oklch(0.5 0.12 45); + --border: oklch(0.875 0.032 45); + --input: oklch(0.875 0.032 45); + --ring: oklch(0.5 0.14 50); --chart-1: oklch(0.4 0.09 42); --chart-2: oklch(0.65 0.12 50); @@ -83,58 +83,58 @@ --chart-4: oklch(0.723 0.192 149.6); --chart-5: oklch(0.623 0.188 259.82); - --sidebar: oklch(0.965 0.018 48); - --sidebar-foreground: oklch(0.22 0.016 40); - --sidebar-primary: oklch(0.5 0.12 45); - --sidebar-primary-foreground: oklch(0.97 0.008 48); - --sidebar-accent: oklch(0.925 0.025 48); - --sidebar-accent-foreground: oklch(0.22 0.016 40); - --sidebar-border: oklch(0.88 0.028 48); - --sidebar-ring: oklch(0.5 0.12 45); + --sidebar: oklch(0.96 0.02 45); + --sidebar-foreground: oklch(0.22 0.018 38); + --sidebar-primary: oklch(0.5 0.14 50); + --sidebar-primary-foreground: oklch(0.97 0.01 45); + --sidebar-accent: oklch(0.92 0.028 45); + --sidebar-accent-foreground: oklch(0.22 0.018 38); + --sidebar-border: oklch(0.875 0.032 45); + --sidebar-ring: oklch(0.5 0.14 50); } .dark { - --background: oklch(0.155 0.012 42); - --foreground: oklch(0.93 0.014 48); + --background: oklch(0.15 0.015 38); + --foreground: oklch(0.93 0.016 45); - --card: oklch(0.2 0.016 42); - --card-foreground: oklch(0.93 0.014 48); + --card: oklch(0.19 0.018 38); + --card-foreground: oklch(0.93 0.016 45); - --popover: oklch(0.2 0.016 42); - --popover-foreground: oklch(0.93 0.014 48); + --popover: oklch(0.19 0.018 38); + --popover-foreground: oklch(0.93 0.016 45); - --primary: oklch(0.74 0.12 55); - --primary-foreground: oklch(0.155 0.012 42); + --primary: oklch(0.74 0.14 60); + --primary-foreground: oklch(0.15 0.015 38); - --secondary: oklch(0.25 0.018 42); - --secondary-foreground: oklch(0.93 0.014 48); + --secondary: oklch(0.24 0.02 40); + --secondary-foreground: oklch(0.93 0.016 45); - --muted: oklch(0.27 0.02 42); - --muted-foreground: oklch(0.65 0.03 48); + --muted: oklch(0.26 0.022 40); + --muted-foreground: oklch(0.65 0.035 50); - --accent: oklch(0.26 0.018 45); - --accent-foreground: oklch(0.93 0.014 48); + --accent: oklch(0.26 0.022 42); + --accent-foreground: oklch(0.93 0.016 45); --destructive: oklch(0.637 0.208 25.32); - --border: oklch(0.33 0.024 42); - --input: oklch(0.27 0.02 42); - --ring: oklch(0.74 0.12 55); + --border: oklch(0.32 0.028 40); + --input: oklch(0.26 0.022 40); + --ring: oklch(0.74 0.14 60); - --chart-1: oklch(0.74 0.12 55); + --chart-1: oklch(0.74 0.14 60); --chart-2: oklch(0.8 0.1 52); --chart-3: oklch(0.55 0.1 45); --chart-4: oklch(0.723 0.192 149.6); --chart-5: oklch(0.623 0.188 259.82); - --sidebar: oklch(0.2 0.016 42); - --sidebar-foreground: oklch(0.93 0.014 48); - --sidebar-primary: oklch(0.74 0.12 55); - --sidebar-primary-foreground: oklch(0.155 0.012 42); - --sidebar-accent: oklch(0.26 0.018 45); - --sidebar-accent-foreground: oklch(0.93 0.014 48); - --sidebar-border: oklch(0.33 0.024 42); - --sidebar-ring: oklch(0.74 0.12 55); + --sidebar: oklch(0.19 0.018 38); + --sidebar-foreground: oklch(0.93 0.016 45); + --sidebar-primary: oklch(0.74 0.14 60); + --sidebar-primary-foreground: oklch(0.15 0.015 38); + --sidebar-accent: oklch(0.26 0.022 42); + --sidebar-accent-foreground: oklch(0.93 0.016 45); + --sidebar-border: oklch(0.32 0.028 40); + --sidebar-ring: oklch(0.74 0.14 60); } @layer base { @@ -145,4 +145,13 @@ body { @apply bg-background text-foreground; } + + h1, + h2, + h3, + h4, + h5, + h6 { + font-family: var(--font-serif, ui-serif, Georgia, serif); + } } From 6554834750ed0978c22bc11728f7f558d8f9b4cd Mon Sep 17 00:00:00 2001 From: Jacob Owens Date: Sun, 12 Apr 2026 10:36:20 -0700 Subject: [PATCH 2/8] feat: made Codeblock compoent have inline Codelanuage selector in header --- apps/web/package.json | 2 + .../chat/composer/code-block-view.tsx | 75 +++++++++++++++ .../chat/composer/message-input.tsx | 94 +++++-------------- pnpm-lock.yaml | 23 +++++ 4 files changed, 125 insertions(+), 69 deletions(-) create mode 100644 apps/web/src/components/chat/composer/code-block-view.tsx diff --git a/apps/web/package.json b/apps/web/package.json index 481c8e8..2c16d07 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -25,6 +25,7 @@ "@tauri-apps/plugin-notification": "^2.3.3", "@tauri-apps/plugin-process": "^2.3.1", "@tauri-apps/plugin-updater": "^2.10.1", + "@tiptap/extension-code-block-lowlight": "^3.22.3", "@tiptap/extension-link": "^3.20.0", "@tiptap/extension-mention": "^3.20.0", "@tiptap/markdown": "^3.20.0", @@ -36,6 +37,7 @@ "clsx": "^2.1.1", "emoji-picker-react": "^4.18.0", "highlight.js": "^11.11.1", + "lowlight": "^3.3.0", "lucide-react": "^0.563.0", "motion": "^12.34.0", "next-themes": "^0.4.6", diff --git a/apps/web/src/components/chat/composer/code-block-view.tsx b/apps/web/src/components/chat/composer/code-block-view.tsx new file mode 100644 index 0000000..af49e13 --- /dev/null +++ b/apps/web/src/components/chat/composer/code-block-view.tsx @@ -0,0 +1,75 @@ +import { + Select, + SelectContent, + SelectItem, + SelectTrigger, + SelectValue, +} from "@repo/ui/components/select" +import type { NodeViewProps } from "@tiptap/react" +import { NodeViewContent, NodeViewWrapper } from "@tiptap/react" + +export const CODE_BLOCK_LANGUAGES = [ + { value: "plaintext", label: "Plain Text" }, + { value: "typescript", label: "TypeScript" }, + { value: "javascript", label: "JavaScript" }, + { value: "python", label: "Python" }, + { value: "json", label: "JSON" }, + { value: "bash", label: "Bash" }, + { value: "css", label: "CSS" }, + { value: "html", label: "HTML" }, + { value: "sql", label: "SQL" }, + { value: "rust", label: "Rust" }, + { value: "go", label: "Go" }, + { value: "java", label: "Java" }, +] as const + +export const SUPPORTED_LANGUAGE_VALUES: Set = new Set( + CODE_BLOCK_LANGUAGES.map((l) => l.value) +) + +export const LANGUAGE_ALIAS_MAP: Record = { + ts: "typescript", + tsx: "typescript", + js: "javascript", + jsx: "javascript", + py: "python", + sh: "bash", + zsh: "bash", + shell: "bash", + xml: "html", + yml: "yaml", + rs: "rust", + golang: "go", +} + +export function CodeBlockView({ node, updateAttributes }: NodeViewProps) { + const language = (node.attrs.language as string) || "plaintext" + + return ( + +
+ +
+
+        
+      
+
+ ) +} diff --git a/apps/web/src/components/chat/composer/message-input.tsx b/apps/web/src/components/chat/composer/message-input.tsx index 551573b..ffebd1c 100644 --- a/apps/web/src/components/chat/composer/message-input.tsx +++ b/apps/web/src/components/chat/composer/message-input.tsx @@ -5,6 +5,7 @@ import { PopoverTrigger, } from "@repo/ui/components/popover" import { cn } from "@repo/ui/lib/utils" +import { CodeBlockLowlight } from "@tiptap/extension-code-block-lowlight" import Link from "@tiptap/extension-link" import Mention, { type MentionOptions } from "@tiptap/extension-mention" import { Markdown } from "@tiptap/markdown" @@ -12,6 +13,7 @@ import { PluginKey } from "@tiptap/pm/state" import { EditorContent, Extension, + ReactNodeViewRenderer, ReactRenderer, useEditor, useEditorState, @@ -23,6 +25,7 @@ import Suggestion, { type SuggestionOptions, type SuggestionProps, } from "@tiptap/suggestion" +import { common, createLowlight } from "lowlight" import { Bold, Code, @@ -46,6 +49,7 @@ import type { Message } from "@/lib/api-types" import { extractMentionIds, toStoredMarkdown } from "@/lib/editor-utils" import type { ChatContext } from "../header" import { AttachmentPreview } from "./attachment-preview" +import { CodeBlockView } from "./code-block-view" import { MentionSuggestionList, type MentionSuggestionListProps, @@ -68,6 +72,7 @@ const POPUP_GAP = 6 export const SUGGESTION_MENU_SELECTOR = "[data-suggestion-open='true'], [data-mention-suggestion-open='true'], [data-slash-suggestion-open='true'], [data-slash-command-open='true']" const SLASH_COMMAND_PLUGIN_KEY = new PluginKey("slash-command") +const lowlight = createLowlight(common) const DEFAULT_CODE_BLOCK_LANGUAGE = "plaintext" const CODE_BLOCK_LANGUAGE_OPTIONS = [ { value: "plaintext", label: "Plain Text" }, @@ -254,7 +259,7 @@ export function createMentionSuggestion( } } -function _createSlashCommandSuggestion(): Omit< +function createSlashCommandSuggestion(): Omit< SuggestionOptions, "editor" > { @@ -307,7 +312,7 @@ function _createSlashCommandSuggestion(): Omit< } } -function _createSlashCommandExtension( +function createSlashCommandExtension( suggestion: Omit< SuggestionOptions, "editor" @@ -461,15 +466,14 @@ export function MessageInput({ () => createMentionSuggestion(() => mentionCandidatesRef.current), [] ) - // Slash commands temporarily disabled. - // const slashCommandSuggestion = useMemo( - // () => createSlashCommandSuggestion(), - // [] - // ) - // const slashCommandExtension = useMemo( - // () => createSlashCommandExtension(slashCommandSuggestion), - // [slashCommandSuggestion] - // ) + const slashCommandSuggestion = useMemo( + () => createSlashCommandSuggestion(), + [] + ) + const slashCommandExtension = useMemo( + () => createSlashCommandExtension(slashCommandSuggestion), + [slashCommandSuggestion] + ) const editor = useEditor( { @@ -478,6 +482,15 @@ export function MessageInput({ heading: false, blockquote: false, horizontalRule: false, + codeBlock: false, + }), + CodeBlockLowlight.extend({ + addNodeView() { + return ReactNodeViewRenderer(CodeBlockView) + }, + }).configure({ + lowlight, + defaultLanguage: "plaintext", }), Markdown, Link.configure({ @@ -499,7 +512,7 @@ export function MessageInput({ `${options.suggestion.char}${node.attrs.label ?? node.attrs.id}`, suggestion: mentionSuggestion, }), - // slashCommandExtension, + slashCommandExtension, ], editorProps: { attributes: { @@ -812,63 +825,6 @@ export function MessageInput({ {placeholder} )} - {editor && ( - document.body} - shouldShow={({ editor: tiptapEditor, element }) => { - const activeElement = - typeof document !== "undefined" - ? document.activeElement - : null - - return ( - tiptapEditor.isEditable && - (tiptapEditor.isActive("codeBlock") || - (activeElement ? element.contains(activeElement) : false)) - ) - }} - getReferencedVirtualElement={() => { - const rect = getActiveCodeBlockRect(editor) - if (!rect) return null - - return { - getBoundingClientRect: () => rect, - } - }} - options={{ - strategy: "fixed", - placement: "bottom-start", - offset: 0, - flip: true, - shift: true, - }} - className="z-50 rounded-md border border-border/70 bg-background/95 p-1 shadow-sm backdrop-blur" - > -
- - Lang - - -
-
- )} {editor && ( Date: Thu, 14 May 2026 08:20:35 -1000 Subject: [PATCH 3/8] Create PIVOT.md --- PIVOT.md | 233 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 233 insertions(+) create mode 100644 PIVOT.md diff --git a/PIVOT.md b/PIVOT.md new file mode 100644 index 0000000..5fa7b21 --- /dev/null +++ b/PIVOT.md @@ -0,0 +1,233 @@ +# Pivot: Townhall → Ravn + +> **Status (2026-05-13):** Brand direction locked. Codebase rename / delete pass **not yet executed**. The repo still uses the old Townhall lexicon (Voice Chamber, Decree, Council, Sigil, etc.). Do not start renames in code until the open decisions below are resolved. + +## TL;DR + +Townhall — an open-source Discord-alternative for community chat — is pivoting to **Ravn**: a chat-first **company brain** that connects across the tools a company already uses (GitHub, Datadog / Better-Stack, Notion, CRM, etc.) and turns chat threads into queryable institutional memory. + +Chat stays the primary surface. The brain is woven in — not bolted on. + +## Why the pivot + +The community-chat space is crowded and the "Discord but open source" wedge is thin. Meanwhile there's a real, growing slot for an **open-source / self-hostable, MCP-native company brain** that competitors (Glean, Slack AI, Notion AI, ChatGPT-with-connectors) structurally can't fill — because they're not where the conversations happen. + +The thesis: + +1. Chat is already where company comms live, all day, every day. +2. If the chat itself is part of the corpus, the product compounds with use — month six is dramatically more valuable than month one. +3. That collective memory is the moat. Solo AI assistants can't replicate it. + +## What the product is + +A team chat app (workspaces, channels, threads, presence, realtime) with an AI agent (`@`) that can answer questions across: + +- Internal chat history +- Connected external sources via MCP (GitHub, Datadog, Notion, CRM, etc.) +- Source-ACL-aware retrieval (intersected with chat-level visibility) + +**Multi-user, not solo assistant.** Threads, decisions, and answers all become part of the indexed corpus. + +## Target customer + +Small / self-serve tech startups first. Expand to non-tech and larger orgs once the product loop is proven. + +## Product model + +### Workspace model — single active, multi-workspace account + +One user account can belong to multiple workspaces, but you are only *in* one workspace at a time. Workspace switcher lives top-left (**Linear / Figma pattern**), not a permanent sidebar stack of org orbs (Slack / Discord pattern). + +**Why:** the "company brain" framing requires one unambiguous *we*. When someone asks `@munin "what did we decide about pricing?"` the answer must come from one company's corpus, not a federated view across orgs. Each workspace is its own tenant, its own ACL universe, its own Munin instance. + +Cross-org collaboration (vendors, contractors, customers) is deferred to v2+ as Slack-Connect-style **shared channels**. Not in v1. + +### Conversation primitives + +The workspace surface has three: + +1. **Public channels** — workspace-wide, topical, visible to all members. Listed in the sidebar. Slack/Discord pattern. +2. **Private channels** — same structure as public channels (name, topic, pinned messages, persistent membership) but only visible to invited members. For persistent confidential topics: `#exec`, `#leadership-private`, `#project-acme-secret`. Slack model, not Discord's role-permission complexity. +3. **DMs** — 1:1 and group direct messages between specific people. No channel structure, no topic — an ad-hoc thread identified by its participants. Both 1:1 and group DMs are supported. + +Channels and DMs are different primitives, intentionally. A private channel is a *persistent topical space*; a group DM is an *ad-hoc thread between specific people*. Don't try to collapse them. + +### Navigation & sidebar IA + +The interface is **two regions**: a thin top bar and a tabbed sidebar. The main conversation pane fills the rest. + +``` +┌──────────────────────────────────────────────┐ +│ Workspace ▾ 🔍 │ ← top bar +├──────────────────────────────────────────────┤ +│ ┌──────────┬──────────┬───────────────┐ │ +│ │ Channels │ DMs (3) │ Munin │ │ ← sidebar tabs +│ └──────────┴──────────┴───────────────┘ │ +├──────────────────────────────────────────────┤ +│ ▾ core │ +│ # general │ +│ # eng (3) │ +│ 🔒 exec (1) │ +│ ▾ engineering │ +│ # eng-frontend │ +│ # eng-backend │ +│ 🔒 eng-incidents │ +│ ▾ design │ +│ # design-crit │ +├──────────────────────────────────────────────┤ +│ [Avatar] You · presence ⚙ │ ← user footer +└──────────────────────────────────────────────┘ +``` + +**Top bar — minimal, on purpose.** Two affordances: + +- `Workspace ▾` — workspace switcher (Linear/Figma dropdown, top-left). Cross-workspace nav lives here only. +- `🔍 Search` — global Cmd+K-style search across the active workspace. + +No new-message icon, no inbox, no drafts, no activity feed, no apps menu. Per-channel unread badges *are* the inbox. To start a new message, navigate to that channel and type. + +**Tabbed sidebar — three tabs, one active at a time.** + +- **Channels** — public + private together, organized in **collapsible Discord-style categories**. `#` for public, `🔒` for private. One iconography system, no exceptions. +- **DMs** — flat list, 1:1 and group DMs together, recents first. No friend requests, no allies, no friendship layer — workspace membership *is* the relationship. +- **Munin** — flat list of saved Munin chats (ChatGPT-style named conversations), `+ new chat` at top. Note: `@munin` invocations inside channels/DMs are inline replies in those threads and do **not** create sidebar entries here. This tab is **only** for standalone 1:1 Munin chats (the surface where DM-indexing applies, per the trust boundary above). + +**Tab-switching behavior:** + +- Activity in an inactive tab shows as a count badge on the tab itself (e.g., `DMs (3)`). +- Switching tabs **only swaps the sidebar contents** — the main conversation pane is unaffected. You don't lose your place. +- Keyboard: `Cmd+1` / `Cmd+2` / `Cmd+3` switch tabs. +- The tab the user was on at last sign-out persists per-user — Ravn opens to the tab you left. + +**User footer (bottom-left of sidebar):** avatar + name + presence indicator + settings cog. Profile, status, theme, preferences, notifications — all live behind the avatar/cog. Not in the top bar. + +**What we explicitly do NOT have** (refusing-by-design list, so future scope creep gets caught): + +- No left vertical icon rail (Slack/Discord workspace orb stack) +- No Inbox / Activity / Threads top-level entry +- No Drafts surface (this isn't email) +- No Starred / Bookmarks section +- No Apps section in the sidebar +- No friend requests / allies / friendship layer +- No "Huddles" / "Spring cleaning" / utility-bar cruft +- No mixed iconography (one icon = one meaning, always) +- No bold-vs-faded read-state typography — unread state is a single badge signal only + +If a future feature wants a sidebar slot, it needs to displace something already there, not pile on. Density is a feature. + +### Munin's visibility & ACL behavior + +**Strict ACL respect (v1).** Munin only retrieves from channels and DMs the asking user has visibility into. Two users asking the same question may get different answers based on what they can see. Simpler trust model, smaller compliance surface, no risk of leaking sensitive info via the agent. + +The god-view-with-redaction model (Munin indexes everything, surfaces selectively at query time) is deferred. That's a feature to earn later once trust is established — not v1. + +### DM indexing & Munin in DMs + +DM content is **opt-in per user**, off by default. When opted in, Munin may use your DMs as context — but **only in one surface**: a **standalone 1:1 chat with Munin** (a dedicated Munin conversation, ChatGPT/Claude-app style, separate from any `@munin` invocation in a multi-user space). + +Munin **never** surfaces, cites, or references DM content in any other context: + +- Not in public channels +- Not in private channels +- Not in group DMs (even if all participants of the source DM are present) +- Not in another user's 1:1 with Munin + +The trust boundary is **structural, not behavioral**: Munin in your private space with Munin = can use your indexed DMs. Munin anywhere else = cannot, by construction. This is easier to reason about than runtime context-checking and removes the failure mode where DM content accidentally leaks via the agent into a multi-user setting. + +**Future:** 1:1 DMs should eventually be **E2E encrypted**. That implies Munin's DM indexing will need to run client-side (agent operates on decrypted content locally; server only ever sees ciphertext). Architectural note for later — not v1, but should not design ourselves out of it. + +## New brand + +### Name + domain +- **Product:** **Ravn** — Old Norse spelling of "raven," pronounced like *Raven*. +- **Domain:** [ravn.to](https://ravn.to) — `.to` reads as a sending verb ("ravn-*to*-recipient"), reinforcing the chat product. + +### Palette +Purple-forward with **candle-gold** as the differentiating warm accent. Cool ink-purple in dark mode, warm pale lavender in light mode. Gold is the punctuation, not the paragraph. + +| Token | Light | Dark | +| --- | --- | --- | +| `--background` | `#FAF7FF` | `#14121E` | +| `--foreground` | `#1B1729` | `#F1ECFA` | +| `--primary` | `#6D28D9` | `#A78BFA` | +| `--primary-foreground` | `#FAF7FF` | `#14121E` | +| `--accent` | `#C99738` | `#E0B566` | +| `--muted` | `#EFE9F7` | `#2A2440` | +| `--border` | `#E7DEF0` | `#312B47` | + +### Wordmark +Sharp serif, all-caps, tracked-out — **RAVN** as a stamp/seal/sigil. Typeface candidates: Recoleta, GT Sectra, Tiempos Headline, Söhne Breit. Product UI body type stays clean and modern (Inter / Geist) — personality lives in the wordmark and mascot. + +Avoid: fantasy fonts (Cinzel, Trajan, anything that reads as D&D book cover). + +### Mascot +A stylized raven. Profile pose, geometric, premium — Linear / Octocat polish, not webcomic. Deep ink-purple silhouette with a single gold detail (eye glint or beak highlight). Must work at 16px favicon and at billboard scale. + +Avoid: heroic wings-spread, Edgar-Allan-Poe goth, hooded/cloaked wizard imagery (different mythology), cartoon eyes, Saturday-morning energy. + +## Codebase migration plan + +Three buckets. Execute in order: deletes first on a branch, get to a minimal chat shell, then layer the brain on top. + +### Keep (foundation — already works, don't touch) +- pnpm + Turborepo monorepo +- `apps/api` — Hono + OpenAPI +- `apps/realtime` — Socket.IO gateway +- `packages/auth` — better-auth + Drizzle +- `packages/db` — Drizzle schema for users, messages, threads, mentions, reactions, presence +- `packages/ui` — shadcn/ui + Tailwind v4 setup +- Web app shell, channels, threads — concepts carry over + +### Delete aggressively (do not rename, do not migrate, just `rm`) +- Voice Chambers (`apps/realtime` voice surfaces) +- Roles / Titles / Wardens / Citizens machinery beyond basic workspace member/admin +- Sigils (custom emoji) +- Crests (animated emoji) +- Allies / Ally Requests (friends system) +- Decrees (announcement channels) +- Councils (group DMs) +- Discovery +- All medieval lexicon in copy, components, schema fields, routes +- Marketing site copy on `apps/www` — full rewrite + +### Build new +- Connector framework — **lean MCP-native** rather than building integrations one at a time +- Indexing + embedding pipeline (Postgres + pgvector is the natural fit given current stack) +- Retrieval layer +- LLM orchestration with tool-calling +- ACL model: source ACLs × workspace visibility × thread privacy +- `@munin` surface inside threads (streaming, citations back to source) + +Recommended v1 scope: **one connector, done exceptionally well** (GitHub is the obvious pick for the dev-tools early audience) plus the collective-memory layer. Race for integration breadth later. + +## The agent: **Munin** + +The AI agent users `@` in chat to query the brain is **Munin** — from Norse mythology, Odin's raven of *Memory* (the other is Huginn = Thought). The ravens flew out each day across the world and brought knowledge back, which is literally the product's mechanic. The agent's name *means Memory*. + +Two ravens in the world: **Ravn** is the brand/product (the chat where your team lives), **Munin** is the agent inside it (the raven of memory you summon for answers). + +**Anchor line:** *"Munin remembers everything your company has ever said, written, or shipped."* + +**Voice + usage notes:** +- Summon as `@munin` inside any thread. +- Every answer cites its source — Munin shows its work, linking back to the message, doc, PR, ticket, or dashboard it pulled from. +- Don't anthropomorphize Munin as "wizard" or "AI assistant." Munin is *the raven of memory.* +- Streaming/thinking state uses the candle-gold accent — a pulsing gold glint, echoing the mascot's eye. + +## Open work, in rough order + +1. Trademark check on RAVN in classes 9 & 42 (USPTO TESS). +2. ~~Register `ravn.to`.~~ ✅ Done. +3. Commission mascot from the brief in the [Mascot section](#mascot). +4. Build the new shadcn theme using the palette above; install in `packages/ui`. +5. Build the tabbed sidebar IA (Channels / DMs / Munin tabs) + minimal top bar per [Navigation & sidebar IA](#navigation--sidebar-ia). Includes Discord-style collapsible channel categories. +6. Branch the delete pass. Strip the old lexicon and surfaces listed in [Delete aggressively](#delete-aggressively-do-not-rename-do-not-migrate-just-rm). +7. Rebuild marketing site copy on `apps/www` against the new positioning. +8. Begin the connector + retrieval work (GitHub first). +9. Implement `@munin` agent surface — inline `@munin` in threads (streaming, citations, gold-pulse) AND standalone Munin chat surface (the third sidebar tab, where DM-indexing applies). + +## Related docs + +- [`README.md`](./README.md) — repo overview (still describes old Townhall as of this writing) +- [`ROADMAP.md`](./ROADMAP.md) — feature roadmap (will need a rewrite alongside the pivot) +- [`CLAUDE.md`](./CLAUDE.md) — Claude Code working notes for this repo From f74cbc58c680feaddd2106bd6f32c8a2100304af Mon Sep 17 00:00:00 2001 From: Jacob Owens Date: Mon, 25 May 2026 07:48:44 -0700 Subject: [PATCH 4/8] feat: rebrand home page from Townhall -> Lor --- .agents/skills/design-taste-frontend/SKILL.md | 226 ++++++ .agents/skills/gpt-taste/SKILL.md | 74 ++ .../skills/high-end-visual-design/SKILL.md | 98 +++ .claude/skills/design-taste-frontend | 1 + .claude/skills/gpt-taste | 1 + .claude/skills/high-end-visual-design | 1 + PIVOT.md | 240 ++++--- apps/www/README.md | 36 - apps/www/app/apple-icon.png | Bin 36522 -> 0 bytes apps/www/app/components/copy-terminal.tsx | 64 -- apps/www/app/components/grain.tsx | 13 + apps/www/app/components/reveal.tsx | 53 ++ apps/www/app/components/theme-toggle.tsx | 35 - apps/www/app/components/waitlist.tsx | 90 +++ apps/www/app/download/page.tsx | 70 +- apps/www/app/icon.png | Bin 36522 -> 0 bytes apps/www/app/layout.tsx | 22 +- apps/www/app/page.tsx | 655 +++++++++-------- apps/www/app/preview/page.tsx | 667 ------------------ apps/www/lib/api-client.ts | 8 + apps/www/public/desktop-sc.png | Bin 2451077 -> 0 bytes apps/www/public/logo.png | Bin 736238 -> 0 bytes apps/www/public/lor-bg-2.png | Bin 0 -> 3039224 bytes apps/www/public/lor-bg.png | Bin 0 -> 2646586 bytes apps/www/public/screenshot-3.png | Bin 656231 -> 0 bytes apps/www/public/screenshot.png | Bin 881775 -> 0 bytes apps/www/public/townhallicon.png | Bin 556844 -> 0 bytes package.json | 1 + packages/ui/src/styles/globals.css | 138 ++-- skills-lock.json | 23 + 30 files changed, 1229 insertions(+), 1287 deletions(-) create mode 100644 .agents/skills/design-taste-frontend/SKILL.md create mode 100644 .agents/skills/gpt-taste/SKILL.md create mode 100644 .agents/skills/high-end-visual-design/SKILL.md create mode 120000 .claude/skills/design-taste-frontend create mode 120000 .claude/skills/gpt-taste create mode 120000 .claude/skills/high-end-visual-design delete mode 100644 apps/www/README.md delete mode 100644 apps/www/app/apple-icon.png delete mode 100644 apps/www/app/components/copy-terminal.tsx create mode 100644 apps/www/app/components/grain.tsx create mode 100644 apps/www/app/components/reveal.tsx delete mode 100644 apps/www/app/components/theme-toggle.tsx create mode 100644 apps/www/app/components/waitlist.tsx delete mode 100644 apps/www/app/icon.png delete mode 100644 apps/www/app/preview/page.tsx create mode 100644 apps/www/lib/api-client.ts delete mode 100644 apps/www/public/desktop-sc.png delete mode 100644 apps/www/public/logo.png create mode 100644 apps/www/public/lor-bg-2.png create mode 100644 apps/www/public/lor-bg.png delete mode 100644 apps/www/public/screenshot-3.png delete mode 100644 apps/www/public/screenshot.png delete mode 100644 apps/www/public/townhallicon.png create mode 100644 skills-lock.json diff --git a/.agents/skills/design-taste-frontend/SKILL.md b/.agents/skills/design-taste-frontend/SKILL.md new file mode 100644 index 0000000..ccc3a2f --- /dev/null +++ b/.agents/skills/design-taste-frontend/SKILL.md @@ -0,0 +1,226 @@ +--- +name: design-taste-frontend +description: Senior UI/UX Engineer. Architect digital interfaces overriding default LLM biases. Enforces metric-based rules, strict component architecture, CSS hardware acceleration, and balanced design engineering. +--- + +# High-Agency Frontend Skill + +## 1. ACTIVE BASELINE CONFIGURATION +* DESIGN_VARIANCE: 8 (1=Perfect Symmetry, 10=Artsy Chaos) +* MOTION_INTENSITY: 6 (1=Static/No movement, 10=Cinematic/Magic Physics) +* VISUAL_DENSITY: 4 (1=Art Gallery/Airy, 10=Pilot Cockpit/Packed Data) + +**AI Instruction:** The standard baseline for all generations is strictly set to these values (8, 6, 4). Do not ask the user to edit this file. Otherwise, ALWAYS listen to the user: adapt these values dynamically based on what they explicitly request in their chat prompts. Use these baseline (or user-overridden) values as your global variables to drive the specific logic in Sections 3 through 7. + +## 2. DEFAULT ARCHITECTURE & CONVENTIONS +Unless the user explicitly specifies a different stack, adhere to these structural constraints to maintain consistency: + +* **DEPENDENCY VERIFICATION [MANDATORY]:** Before importing ANY 3rd party library (e.g. `framer-motion`, `lucide-react`, `zustand`), you MUST check `package.json`. If the package is missing, you MUST output the installation command (e.g. `npm install package-name`) before providing the code. **Never** assume a library exists. +* **Framework & Interactivity:** React or Next.js. Default to Server Components (`RSC`). + * **RSC SAFETY:** Global state works ONLY in Client Components. In Next.js, wrap providers in a `"use client"` component. + * **INTERACTIVITY ISOLATION:** If Sections 4 or 7 (Motion/Liquid Glass) are active, the specific interactive UI component MUST be extracted as an isolated leaf component with `'use client'` at the very top. Server Components must exclusively render static layouts. +* **State Management:** Use local `useState`/`useReducer` for isolated UI. Use global state strictly for deep prop-drilling avoidance. +* **Styling Policy:** Use Tailwind CSS (v3/v4) for 90% of styling. + * **TAILWIND VERSION LOCK:** Check `package.json` first. Do not use v4 syntax in v3 projects. + * **T4 CONFIG GUARD:** For v4, do NOT use `tailwindcss` plugin in `postcss.config.js`. Use `@tailwindcss/postcss` or the Vite plugin. +* **ANTI-EMOJI POLICY [CRITICAL]:** NEVER use emojis in code, markup, text content, or alt text. Replace symbols with high-quality icons (Radix, Phosphor) or clean SVG primitives. Emojis are BANNED. +* **Responsiveness & Spacing:** + * Standardize breakpoints (`sm`, `md`, `lg`, `xl`). + * Contain page layouts using `max-w-[1400px] mx-auto` or `max-w-7xl`. + * **Viewport Stability [CRITICAL]:** NEVER use `h-screen` for full-height Hero sections. ALWAYS use `min-h-[100dvh]` to prevent catastrophic layout jumping on mobile browsers (iOS Safari). + * **Grid over Flex-Math:** NEVER use complex flexbox percentage math (`w-[calc(33%-1rem)]`). ALWAYS use CSS Grid (`grid grid-cols-1 md:grid-cols-3 gap-6`) for reliable structures. +* **Icons:** You MUST use exactly `@phosphor-icons/react` or `@radix-ui/react-icons` as the import paths (check installed version). Standardize `strokeWidth` globally (e.g., exclusively use `1.5` or `2.0`). + + +## 3. DESIGN ENGINEERING DIRECTIVES (Bias Correction) +LLMs have statistical biases toward specific UI cliché patterns. Proactively construct premium interfaces using these engineered rules: + +**Rule 1: Deterministic Typography** +* **Display/Headlines:** Default to `text-4xl md:text-6xl tracking-tighter leading-none`. + * **ANTI-SLOP:** Discourage `Inter` for "Premium" or "Creative" vibes. Force unique character using `Geist`, `Outfit`, `Cabinet Grotesk`, or `Satoshi`. + * **TECHNICAL UI RULE:** Serif fonts are strictly BANNED for Dashboard/Software UIs. For these contexts, use exclusively high-end Sans-Serif pairings (`Geist` + `Geist Mono` or `Satoshi` + `JetBrains Mono`). +* **Body/Paragraphs:** Default to `text-base text-gray-600 leading-relaxed max-w-[65ch]`. + +**Rule 2: Color Calibration** +* **Constraint:** Max 1 Accent Color. Saturation < 80%. +* **THE LILA BAN:** The "AI Purple/Blue" aesthetic is strictly BANNED. No purple button glows, no neon gradients. Use absolute neutral bases (Zinc/Slate) with high-contrast, singular accents (e.g. Emerald, Electric Blue, or Deep Rose). +* **COLOR CONSISTENCY:** Stick to one palette for the entire output. Do not fluctuate between warm and cool grays within the same project. + +**Rule 3: Layout Diversification** +* **ANTI-CENTER BIAS:** Centered Hero/H1 sections are strictly BANNED when `LAYOUT_VARIANCE > 4`. Force "Split Screen" (50/50), "Left Aligned content/Right Aligned asset", or "Asymmetric White-space" structures. + +**Rule 4: Materiality, Shadows, and "Anti-Card Overuse"** +* **DASHBOARD HARDENING:** For `VISUAL_DENSITY > 7`, generic card containers are strictly BANNED. Use logic-grouping via `border-t`, `divide-y`, or purely negative space. Data metrics should breathe without being boxed in unless elevation (z-index) is functionally required. +* **Execution:** Use cards ONLY when elevation communicates hierarchy. When a shadow is used, tint it to the background hue. + +**Rule 5: Interactive UI States** +* **Mandatory Generation:** LLMs naturally generate "static" successful states. You MUST implement full interaction cycles: + * **Loading:** Skeletal loaders matching layout sizes (avoid generic circular spinners). + * **Empty States:** Beautifully composed empty states indicating how to populate data. + * **Error States:** Clear, inline error reporting (e.g., forms). + * **Tactile Feedback:** On `:active`, use `-translate-y-[1px]` or `scale-[0.98]` to simulate a physical push indicating success/action. + +**Rule 6: Data & Form Patterns** +* **Forms:** Label MUST sit above input. Helper text is optional but should exist in markup. Error text below input. Use a standard `gap-2` for input blocks. + +## 4. CREATIVE PROACTIVITY (Anti-Slop Implementation) +To actively combat generic AI designs, systematically implement these high-end coding concepts as your baseline: +* **"Liquid Glass" Refraction:** When glassmorphism is needed, go beyond `backdrop-blur`. Add a 1px inner border (`border-white/10`) and a subtle inner shadow (`shadow-[inset_0_1px_0_rgba(255,255,255,0.1)]`) to simulate physical edge refraction. +* **Magnetic Micro-physics (If MOTION_INTENSITY > 5):** Implement buttons that pull slightly toward the mouse cursor. **CRITICAL:** NEVER use React `useState` for magnetic hover or continuous animations. Use EXCLUSIVELY Framer Motion's `useMotionValue` and `useTransform` outside the React render cycle to prevent performance collapse on mobile. +* **Perpetual Micro-Interactions:** When `MOTION_INTENSITY > 5`, embed continuous, infinite micro-animations (Pulse, Typewriter, Float, Shimmer, Carousel) in standard components (avatars, status dots, backgrounds). Apply premium Spring Physics (`type: "spring", stiffness: 100, damping: 20`) to all interactive elements—no linear easing. +* **Layout Transitions:** Always utilize Framer Motion's `layout` and `layoutId` props for smooth re-ordering, resizing, and shared element transitions across state changes. +* **Staggered Orchestration:** Do not mount lists or grids instantly. Use `staggerChildren` (Framer) or CSS cascade (`animation-delay: calc(var(--index) * 100ms)`) to create sequential waterfall reveals. **CRITICAL:** For `staggerChildren`, the Parent (`variants`) and Children MUST reside in the identical Client Component tree. If data is fetched asynchronously, pass the data as props into a centralized Parent Motion wrapper. + +## 5. PERFORMANCE GUARDRAILS +* **DOM Cost:** Apply grain/noise filters exclusively to fixed, pointer-event-none pseudo-elements (e.g., `fixed inset-0 z-50 pointer-events-none`) and NEVER to scrolling containers to prevent continuous GPU repaints and mobile performance degradation. +* **Hardware Acceleration:** Never animate `top`, `left`, `width`, or `height`. Animate exclusively via `transform` and `opacity`. +* **Z-Index Restraint:** NEVER spam arbitrary `z-50` or `z-10` unprompted. Use z-indexes strictly for systemic layer contexts (Sticky Navbars, Modals, Overlays). + +## 6. TECHNICAL REFERENCE (Dial Definitions) + +### DESIGN_VARIANCE (Level 1-10) +* **1-3 (Predictable):** Flexbox `justify-center`, strict 12-column symmetrical grids, equal paddings. +* **4-7 (Offset):** Use `margin-top: -2rem` overlapping, varied image aspect ratios (e.g., 4:3 next to 16:9), left-aligned headers over center-aligned data. +* **8-10 (Asymmetric):** Masonry layouts, CSS Grid with fractional units (e.g., `grid-template-columns: 2fr 1fr 1fr`), massive empty zones (`padding-left: 20vw`). +* **MOBILE OVERRIDE:** For levels 4-10, any asymmetric layout above `md:` MUST aggressively fall back to a strict, single-column layout (`w-full`, `px-4`, `py-8`) on viewports `< 768px` to prevent horizontal scrolling and layout breakage. + +### MOTION_INTENSITY (Level 1-10) +* **1-3 (Static):** No automatic animations. CSS `:hover` and `:active` states only. +* **4-7 (Fluid CSS):** Use `transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1)`. Use `animation-delay` cascades for load-ins. Focus strictly on `transform` and `opacity`. Use `will-change: transform` sparingly. +* **8-10 (Advanced Choreography):** Complex scroll-triggered reveals or parallax. Use Framer Motion hooks. NEVER use `window.addEventListener('scroll')`. + +### VISUAL_DENSITY (Level 1-10) +* **1-3 (Art Gallery Mode):** Lots of white space. Huge section gaps. Everything feels very expensive and clean. +* **4-7 (Daily App Mode):** Normal spacing for standard web apps. +* **8-10 (Cockpit Mode):** Tiny paddings. No card boxes; just 1px lines to separate data. Everything is packed. **Mandatory:** Use Monospace (`font-mono`) for all numbers. + +## 7. AI TELLS (Forbidden Patterns) +To guarantee a premium, non-generic output, you MUST strictly avoid these common AI design signatures unless explicitly requested: + +### Visual & CSS +* **NO Neon/Outer Glows:** Do not use default `box-shadow` glows or auto-glows. Use inner borders or subtle tinted shadows. +* **NO Pure Black:** Never use `#000000`. Use Off-Black, Zinc-950, or Charcoal. +* **NO Oversaturated Accents:** Desaturate accents to blend elegantly with neutrals. +* **NO Excessive Gradient Text:** Do not use text-fill gradients for large headers. +* **NO Custom Mouse Cursors:** They are outdated and ruin performance/accessibility. + +### Typography +* **NO Inter Font:** Banned. Use `Geist`, `Outfit`, `Cabinet Grotesk`, or `Satoshi`. +* **NO Oversized H1s:** The first heading should not scream. Control hierarchy with weight and color, not just massive scale. +* **Serif Constraints:** Use Serif fonts ONLY for creative/editorial designs. **NEVER** use Serif on clean Dashboards. + +### Layout & Spacing +* **Align & Space Perfectly:** Ensure padding and margins are mathematically perfect. Avoid floating elements with awkward gaps. +* **NO 3-Column Card Layouts:** The generic "3 equal cards horizontally" feature row is BANNED. Use a 2-column Zig-Zag, asymmetric grid, or horizontal scrolling approach instead. + +### Content & Data (The "Jane Doe" Effect) +* **NO Generic Names:** "John Doe", "Sarah Chan", or "Jack Su" are banned. Use highly creative, realistic-sounding names. +* **NO Generic Avatars:** DO NOT use standard SVG "egg" or Lucide user icons for avatars. Use creative, believable photo placeholders or specific styling. +* **NO Fake Numbers:** Avoid predictable outputs like `99.99%`, `50%`, or basic phone numbers (`1234567`). Use organic, messy data (`47.2%`, `+1 (312) 847-1928`). +* **NO Startup Slop Names:** "Acme", "Nexus", "SmartFlow". Invent premium, contextual brand names. +* **NO Filler Words:** Avoid AI copywriting clichés like "Elevate", "Seamless", "Unleash", or "Next-Gen". Use concrete verbs. + +### External Resources & Components +* **NO Broken Unsplash Links:** Do not use Unsplash. Use absolute, reliable placeholders like `https://picsum.photos/seed/{random_string}/800/600` or SVG UI Avatars. +* **shadcn/ui Customization:** You may use `shadcn/ui`, but NEVER in its generic default state. You MUST customize the radii, colors, and shadows to match the high-end project aesthetic. +* **Production-Ready Cleanliness:** Code must be extremely clean, visually striking, memorable, and meticulously refined in every detail. + +## 8. THE CREATIVE ARSENAL (High-End Inspiration) +Do not default to generic UI. Pull from this library of advanced concepts to ensure the output is visually striking and memorable. When appropriate, leverage **GSAP (ScrollTrigger/Parallax)** for complex scrolltelling or **ThreeJS/WebGL** for 3D/Canvas animations, rather than basic CSS motion. **CRITICAL:** Never mix GSAP/ThreeJS with Framer Motion in the same component tree. Default to Framer Motion for UI/Bento interactions. Use GSAP/ThreeJS EXCLUSIVELY for isolated full-page scrolltelling or canvas backgrounds, wrapped in strict useEffect cleanup blocks. + +### The Standard Hero Paradigm +* Stop doing centered text over a dark image. Try asymmetric Hero sections: Text cleanly aligned to the left or right. The background should feature a high-quality, relevant image with a subtle stylistic fade (darkening or lightening gracefully into the background color depending on if it is Light or Dark mode). + +### Navigation & Menüs +* **Mac OS Dock Magnification:** Nav-bar at the edge; icons scale fluidly on hover. +* **Magnetic Button:** Buttons that physically pull toward the cursor. +* **Gooey Menu:** Sub-items detach from the main button like a viscous liquid. +* **Dynamic Island:** A pill-shaped UI component that morphs to show status/alerts. +* **Contextual Radial Menu:** A circular menu expanding exactly at the click coordinates. +* **Floating Speed Dial:** A FAB that springs out into a curved line of secondary actions. +* **Mega Menu Reveal:** Full-screen dropdowns that stagger-fade complex content. + +### Layout & Grids +* **Bento Grid:** Asymmetric, tile-based grouping (e.g., Apple Control Center). +* **Masonry Layout:** Staggered grid without fixed row heights (e.g., Pinterest). +* **Chroma Grid:** Grid borders or tiles showing subtle, continuously animating color gradients. +* **Split Screen Scroll:** Two screen halves sliding in opposite directions on scroll. +* **Curtain Reveal:** A Hero section parting in the middle like a curtain on scroll. + +### Cards & Containers +* **Parallax Tilt Card:** A 3D-tilting card tracking the mouse coordinates. +* **Spotlight Border Card:** Card borders that illuminate dynamically under the cursor. +* **Glassmorphism Panel:** True frosted glass with inner refraction borders. +* **Holographic Foil Card:** Iridescent, rainbow light reflections shifting on hover. +* **Tinder Swipe Stack:** A physical stack of cards the user can swipe away. +* **Morphing Modal:** A button that seamlessly expands into its own full-screen dialog container. + +### Scroll-Animations +* **Sticky Scroll Stack:** Cards that stick to the top and physically stack over each other. +* **Horizontal Scroll Hijack:** Vertical scroll translates into a smooth horizontal gallery pan. +* **Locomotive Scroll Sequence:** Video/3D sequences where framerate is tied directly to the scrollbar. +* **Zoom Parallax:** A central background image zooming in/out seamlessly as you scroll. +* **Scroll Progress Path:** SVG vector lines or routes that draw themselves as the user scrolls. +* **Liquid Swipe Transition:** Page transitions that wipe the screen like a viscous liquid. + +### Galleries & Media +* **Dome Gallery:** A 3D gallery feeling like a panoramic dome. +* **Coverflow Carousel:** 3D carousel with the center focused and edges angled back. +* **Drag-to-Pan Grid:** A boundless grid you can freely drag in any compass direction. +* **Accordion Image Slider:** Narrow vertical/horizontal image strips that expand fully on hover. +* **Hover Image Trail:** The mouse leaves a trail of popping/fading images behind it. +* **Glitch Effect Image:** Brief RGB-channel shifting digital distortion on hover. + +### Typography & Text +* **Kinetic Marquee:** Endless text bands that reverse direction or speed up on scroll. +* **Text Mask Reveal:** Massive typography acting as a transparent window to a video background. +* **Text Scramble Effect:** Matrix-style character decoding on load or hover. +* **Circular Text Path:** Text curved along a spinning circular path. +* **Gradient Stroke Animation:** Outlined text with a gradient continuously running along the stroke. +* **Kinetic Typography Grid:** A grid of letters dodging or rotating away from the cursor. + +### Micro-Interactions & Effects +* **Particle Explosion Button:** CTAs that shatter into particles upon success. +* **Liquid Pull-to-Refresh:** Mobile reload indicators acting like detaching water droplets. +* **Skeleton Shimmer:** Shifting light reflections moving across placeholder boxes. +* **Directional Hover Aware Button:** Hover fill entering from the exact side the mouse entered. +* **Ripple Click Effect:** Visual waves rippling precisely from the click coordinates. +* **Animated SVG Line Drawing:** Vectors that draw their own contours in real-time. +* **Mesh Gradient Background:** Organic, lava-lamp-like animated color blobs. +* **Lens Blur Depth:** Dynamic focus blurring background UI layers to highlight a foreground action. + +## 9. THE "MOTION-ENGINE" BENTO PARADIGM +When generating modern SaaS dashboards or feature sections, you MUST utilize the following "Bento 2.0" architecture and motion philosophy. This goes beyond static cards and enforces a "Vercel-core meets Dribbble-clean" aesthetic heavily reliant on perpetual physics. + +### A. Core Design Philosophy +* **Aesthetic:** High-end, minimal, and functional. +* **Palette:** Background in `#f9fafb`. Cards are pure white (`#ffffff`) with a 1px border of `border-slate-200/50`. +* **Surfaces:** Use `rounded-[2.5rem]` for all major containers. Apply a "diffusion shadow" (a very light, wide-spreading shadow, e.g., `shadow-[0_20px_40px_-15px_rgba(0,0,0,0.05)]`) to create depth without clutter. +* **Typography:** Strict `Geist`, `Satoshi`, or `Cabinet Grotesk` font stack. Use subtle tracking (`tracking-tight`) for headers. +* **Labels:** Titles and descriptions must be placed **outside and below** the cards to maintain a clean, gallery-style presentation. +* **Pixel-Perfection:** Use generous `p-8` or `p-10` padding inside cards. + +### B. The Animation Engine Specs (Perpetual Motion) +All cards must contain **"Perpetual Micro-Interactions."** Use the following Framer Motion principles: +* **Spring Physics:** No linear easing. Use `type: "spring", stiffness: 100, damping: 20` for a premium, weighty feel. +* **Layout Transitions:** Heavily utilize the `layout` and `layoutId` props to ensure smooth re-ordering, resizing, and shared element state transitions. +* **Infinite Loops:** Every card must have an "Active State" that loops infinitely (Pulse, Typewriter, Float, or Carousel) to ensure the dashboard feels "alive". +* **Performance:** Wrap dynamic lists in `` and optimize for 60fps. **PERFORMANCE CRITICAL:** Any perpetual motion or infinite loop MUST be memoized (React.memo) and completely isolated in its own microscopic Client Component. Never trigger re-renders in the parent layout. + +### C. The 5-Card Archetypes (Micro-Animation Specs) +Implement these specific micro-animations when constructing Bento grids (e.g., Row 1: 3 cols | Row 2: 2 cols split 70/30): +1. **The Intelligent List:** A vertical stack of items with an infinite auto-sorting loop. Items swap positions using `layoutId`, simulating an AI prioritizing tasks in real-time. +2. **The Command Input:** A search/AI bar with a multi-step Typewriter Effect. It cycles through complex prompts, including a blinking cursor and a "processing" state with a shimmering loading gradient. +3. **The Live Status:** A scheduling interface with "breathing" status indicators. Include a pop-up notification badge that emerges with an "Overshoot" spring effect, stays for 3 seconds, and vanishes. +4. **The Wide Data Stream:** A horizontal "Infinite Carousel" of data cards or metrics. Ensure the loop is seamless (using `x: ["0%", "-100%"]`) with a speed that feels effortless. +5. **The Contextual UI (Focus Mode):** A document view that animates a staggered highlight of a text block, followed by a "Float-in" of a floating action toolbar with micro-icons. + +## 10. FINAL PRE-FLIGHT CHECK +Evaluate your code against this matrix before outputting. This is the **last** filter you apply to your logic. +- [ ] Is global state used appropriately to avoid deep prop-drilling rather than arbitrarily? +- [ ] Is mobile layout collapse (`w-full`, `px-4`, `max-w-7xl mx-auto`) guaranteed for high-variance designs? +- [ ] Do full-height sections safely use `min-h-[100dvh]` instead of the bugged `h-screen`? +- [ ] Do `useEffect` animations contain strict cleanup functions? +- [ ] Are empty, loading, and error states provided? +- [ ] Are cards omitted in favor of spacing where possible? +- [ ] Did you strictly isolate CPU-heavy perpetual animations in their own Client Components? diff --git a/.agents/skills/gpt-taste/SKILL.md b/.agents/skills/gpt-taste/SKILL.md new file mode 100644 index 0000000..03ed209 --- /dev/null +++ b/.agents/skills/gpt-taste/SKILL.md @@ -0,0 +1,74 @@ +--- +name: gpt-taste +description: Elite UX/UI & Advanced GSAP Motion Engineer. Enforces Python-driven true randomization for layout variance, strict AIDA page structure, wide editorial typography (bans 6-line wraps), gapless bento grids, strict GSAP ScrollTriggers (pinning, stacking, scrubbing), inline micro-images, and massive section spacing. +--- + +# CORE DIRECTIVE: AWWWARDS-LEVEL DESIGN ENGINEERING +You are an elite, award-winning frontend design engineer. Standard LLMs possess severe statistical biases: they generate massive 6-line wrapped headings by using narrow containers, leave ugly empty gaps in bento grids, use cheap meta-labels ("QUESTION 05", "SECTION 01"), output invisible button text, and endlessly repeat the same Left/Right layouts. + +Your goal is to aggressively break these defaults. Your outputs must be highly creative, perfectly spaced, motion-rich (GSAP), mathematically flawless in grid execution, and heavily rely on varied, high-end assets. + +DO NOT USE EMOJIS IN YOUR CODE, COMMENTS, OR OUTPUT. Maintain strictly professional formatting. + +## 1. PYTHON-DRIVEN TRUE RANDOMIZATION (BREAKING THE LOOP) +LLMs are inherently lazy and always pick the first layout option. To prevent this, you MUST simulate a Python script execution in your `` before writing any UI code. +Use a deterministic seed (e.g., character count of the user prompt modulo math) to simulate `random.choice()` and strictly select: +- 1 Hero Architecture (from Section 3) +- 1 Typography Stack (Satoshi, Cabinet Grotesk, Outfit, or Geist. NEVER Inter) +- 3 Unique Component Architectures (from Section 6) +- 2 Advanced GSAP Paradigms (from Section 5) +You are forbidden from defaulting to the same UI twice. You must follow the exact output of your simulated Python randomization. + +## 2. AIDA STRUCTURE & SPACING +Every page MUST begin with a highly creative, premium Navigation Bar (e.g., floating glass pill, or minimal split nav). +The rest of the page MUST follow the AIDA framework: +- **Attention (Hero):** Cinematic, clean, wide layout. +- **Interest (Features/Bento):** High-density, mathematically perfect grid or interactive typographic components. +- **Desire (GSAP Scroll/Media):** Pinned sections, horizontal scroll, or text-reveals. +- **Action (Footer/Pricing):** Massive, high-contrast CTA and clean footer links. +**SPACING RULE:** Add huge vertical padding between all major sections (e.g., `py-32 md:py-48`). Sections must feel like distinct, cinematic chapters. Do not cramp elements together. + +## 3. HERO ARCHITECTURE & THE 2-LINE IRON RULE +The Hero must breathe. It must NOT be a narrow, 6-line text wall. +- **The Container Width Fix:** You MUST use ultra-wide containers for the H1 (e.g., `max-w-5xl`, `max-w-6xl`, `w-full`). Allow the words to flow horizontally. +- **The Line Limit:** The H1 MUST NEVER exceed 2 to 3 lines. 4, 5, or 6 lines is a catastrophic failure. Make the font size smaller (`clamp(3rem, 5vw, 5.5rem)`) and the container wider to ensure this. +- **Hero Layout Options (Randomly Assigned via Python):** + 1. *Cinematic Center (Highly Preferred):* Text perfectly centered, massive width. Below the text, exactly two high-contrast CTAs. Below the CTAs or behind everything, a stunning, full-bleed background image with a dark radial wash. + 2. *Artistic Asymmetry:* Text offset to the left, with an artistic floating image overlapping the text from the bottom right. + 3. *Editorial Split:* Text left, image right, but with massive negative space. +- **Button Contrast:** Buttons must be perfectly legible. Dark background = white text. Light background = dark text. Invisible text is a failure. +- **BANNED IN HERO:** Do NOT use arbitrary floating stamp/badge icons on the text. Do NOT use pill-tags under the hero. Do NOT place raw data/stats in the hero. + +## 4. THE GAPLESS BENTO GRID +- **Zero Empty Space in Grids:** LLMs notoriously leave blank, dead cells in CSS grids. You MUST use Tailwind's `grid-flow-dense` (`grid-auto-flow: dense`) on every Bento Grid. You must mathematically verify that your `col-span` and `row-span` values interlock perfectly. No grid shall have a missing corner or empty void. +- **Card Restraint:** Do not use too many cards. 3 to 5 highly intentional, beautifully styled cards are better than 8 messy ones. Fill them with a mix of large imagery, dense typography, or CSS effects. + +## 5. ADVANCED GSAP MOTION & HOVER PHYSICS +Static interfaces are strictly forbidden. You must write real GSAP (`@gsap/react`, `ScrollTrigger`). +- **Hover Physics:** Every clickable card and image must react. Use `group-hover:scale-105 transition-transform duration-700 ease-out` inside `overflow-hidden` containers. +- **Scroll Pinning (GSAP Split):** Pin a section title on the left (`ScrollTrigger pin: true`) while a gallery of elements scrolls upwards on the right side. +- **Image Scale & Fade Scroll:** Images must start small (`scale: 0.8`). As they scroll into view, they grow to `scale: 1.0`. As they scroll out of view, they smoothly darken and fade out (`opacity: 0.2`). +- **Scrubbing Text Reveals:** Opacity of central paragraph words starts at 0.1 and scrubs to 1.0 sequentially as the user scrolls. +- **Card Stacking:** Cards overlap and stack on top of each other dynamically from the bottom as the user scrolls down. + +## 6. COMPONENT ARSENAL & CREATIVITY +Select components from this arsenal based on your randomization: +- **Inline Typography Images:** Embed small, pill-shaped images directly INSIDE massive headings. Example: `I shape digital spaces.` +- **Horizontal Accordions:** Vertical slices that expand horizontally on hover to reveal content and imagery. +- **Infinite Marquee (Trusted Partners):** Smooth, continuously scrolling rows of authentic `@phosphor-icons/react` or large typography. +- **Feedback/Testimonial Carousel:** Clean, overlapping portrait images next to minimalist typography quotes, controlled by subtle arrows. + +## 7. CONTENT, ASSETS & STRICT BANS +- **The Meta-Label Ban:** BANNED FOREVER are labels like "SECTION 01", "SECTION 04", "QUESTION 05", "ABOUT US". Remove them entirely. They look cheap and unprofessional. +- **Image Context & Style:** Use `https://picsum.photos/seed/{keyword}/1920/1080` and match the keyword to the vibe. Apply sophisticated CSS filters (`grayscale`, `mix-blend-luminosity`, `opacity-90`, `contrast-125`) so they do not look like boring stock photos. +- **Creative Backgrounds:** Inject subtle, professional ambient design. Use deep radial blurs, grainy mesh gradients, or shifting dark overlays. Avoid flat, boring colors. +- **Horizontal Scroll Bug:** Wrap the entire page in `
` to absolutely prevent horizontal scrollbars caused by off-screen animations. + +## 8. MANDATORY PRE-FLIGHT +Before writing ANY React/UI code, you MUST output a `` block containing: +1. **Python RNG Execution:** Write a 3-line mock Python output showing the deterministic selection of your Hero Layout, Component Arsenal, GSAP animations, and Fonts based on the prompt's character count. +2. **AIDA Check:** Confirm the page contains Navigation, Attention (Hero), Interest (Bento), Desire (GSAP), Action (Footer). +3. **Hero Math Verification:** Explicitly state the `max-w` class you are applying to the H1 to GUARANTEE it will flow horizontally in 2-3 lines. Confirm NO stamp icons or spam tags exist. +4. **Bento Density Verification:** Prove mathematically that your grid columns and rows leave zero empty spaces and `grid-flow-dense` is applied. +5. **Label Sweep & Button Check:** Confirm no cheap meta-labels ("QUESTION 05") exist, and button text contrast is perfect. +Only output the UI code after this rigorous verification is complete. diff --git a/.agents/skills/high-end-visual-design/SKILL.md b/.agents/skills/high-end-visual-design/SKILL.md new file mode 100644 index 0000000..4038f41 --- /dev/null +++ b/.agents/skills/high-end-visual-design/SKILL.md @@ -0,0 +1,98 @@ +--- +name: high-end-visual-design +description: Teaches the AI to design like a high-end agency. Defines the exact fonts, spacing, shadows, card structures, and animations that make a website feel expensive. Blocks all the common defaults that make AI designs look cheap or generic. +--- + +# Agent Skill: Principal UI/UX Architect & Motion Choreographer (Awwwards-Tier) + +## 1. Meta Information & Core Directive +- **Persona:** `Vanguard_UI_Architect` +- **Objective:** You engineer $150k+ agency-level digital experiences, not just websites. Your output must exude haptic depth, cinematic spatial rhythm, obsessive micro-interactions, and flawless fluid motion. +- **The Variance Mandate:** NEVER generate the exact same layout or aesthetic twice in a row. You must dynamically combine different premium layout archetypes and texture profiles while strictly adhering to the elite "Apple-esque / Linear-tier" design language. + +## 2. THE "ABSOLUTE ZERO" DIRECTIVE (STRICT ANTI-PATTERNS) +If your generated code includes ANY of the following, the design instantly fails: +- **Banned Fonts:** Inter, Roboto, Arial, Open Sans, Helvetica. (Assume premium fonts like `Geist`, `Clash Display`, `PP Editorial New`, or `Plus Jakarta Sans` are available). +- **Banned Icons:** Standard thick-stroked Lucide, FontAwesome, or Material Icons. Use only ultra-light, precise lines (e.g., Phosphor Light, Remix Line). +- **Banned Borders & Shadows:** Generic 1px solid gray borders. Harsh, dark drop shadows (`shadow-md`, `rgba(0,0,0,0.3)`). +- **Banned Layouts:** Edge-to-edge sticky navbars glued to the top. Symmetrical, boring 3-column Bootstrap-style grids without massive whitespace gaps. +- **Banned Motion:** Standard `linear` or `ease-in-out` transitions. Instant state changes without interpolation. + +## 3. THE CREATIVE VARIANCE ENGINE +Before writing code, silently "roll the dice" and select ONE combination from the following archetypes based on the prompt's context to ensure the output is uniquely tailored but always premium: + +### A. Vibe & Texture Archetypes (Pick 1) +1. **Ethereal Glass (SaaS / AI / Tech):** Deepest OLED black (`#050505`), radial mesh gradients (e.g., subtle glowing purple/emerald orbs) in the background. Vantablack cards with heavy `backdrop-blur-2xl` and pure white/10 hairlines. Wide geometric Grotesk typography. +2. **Editorial Luxury (Lifestyle / Real Estate / Agency):** Warm creams (`#FDFBF7`), muted sage, or deep espresso tones. High-contrast Variable Serif fonts for massive headings. Subtle CSS noise/film-grain overlay (`opacity-[0.03]`) for a physical paper feel. +3. **Soft Structuralism (Consumer / Health / Portfolio):** Silver-grey or completely white backgrounds. Massive bold Grotesk typography. Airy, floating components with unbelievably soft, highly diffused ambient shadows. + +### B. Layout Archetypes (Pick 1) +1. **The Asymmetrical Bento:** A masonry-like CSS Grid of varying card sizes (e.g., `col-span-8 row-span-2` next to stacked `col-span-4` cards) to break visual monotony. + - **Mobile Collapse:** Falls back to a single-column stack (`grid-cols-1`) with generous vertical gaps (`gap-6`). All `col-span` overrides reset to `col-span-1`. +2. **The Z-Axis Cascade:** Elements are stacked like physical cards, slightly overlapping each other with varying depths of field, some with a subtle `-2deg` or `3deg` rotation to break the digital grid. + - **Mobile Collapse:** Remove all rotations and negative-margin overlaps below `768px`. Stack vertically with standard spacing. Overlapping elements cause touch-target conflicts on mobile. +3. **The Editorial Split:** Massive typography on the left half (`w-1/2`), with interactive, scrollable horizontal image pills or staggered interactive cards on the right. + - **Mobile Collapse:** Converts to a full-width vertical stack (`w-full`). Typography block sits on top, interactive content flows below with horizontal scroll preserved if needed. + +**Mobile Override (Universal):** Any asymmetric layout above `md:` MUST aggressively fall back to `w-full`, `px-4`, `py-8` on viewports below `768px`. Never use `h-screen` for full-height sections — always use `min-h-[100dvh]` to prevent iOS Safari viewport jumping. + +## 4. HAPTIC MICRO-AESTHETICS (COMPONENT MASTERY) + +### A. The "Double-Bezel" (Doppelrand / Nested Architecture) +Never place a premium card, image, or container flatly on the background. They must look like physical, machined hardware (like a glass plate sitting in an aluminum tray) using nested enclosures. +- **Outer Shell:** A wrapper `div` with a subtle background (`bg-black/5` or `bg-white/5`), a hairline outer border (`ring-1 ring-black/5` or `border border-white/10`), a specific padding (e.g., `p-1.5` or `p-2`), and a large outer radius (`rounded-[2rem]`). +- **Inner Core:** The actual content container inside the shell. It has its own distinct background color, its own inner highlight (`shadow-[inset_0_1px_1px_rgba(255,255,255,0.15)]`), and a mathematically calculated smaller radius (e.g., `rounded-[calc(2rem-0.375rem)]`) for concentric curves. + +### B. Nested CTA & "Island" Button Architecture +- **Structure:** Primary interactive buttons must be fully rounded pills (`rounded-full`) with generous padding (`px-6 py-3`). +- **The "Button-in-Button" Trailing Icon:** If a button has an arrow (`↗`), it NEVER sits naked next to the text. It must be nested inside its own distinct circular wrapper (e.g., `w-8 h-8 rounded-full bg-black/5 dark:bg-white/10 flex items-center justify-center`) placed completely flush with the main button's right inner padding. + +### C. Spatial Rhythm & Tension +- **Macro-Whitespace:** Double your standard padding. Use `py-24` to `py-40` for sections. Allow the design to breathe heavily. +- **Eyebrow Tags:** Precede major H1/H2s with a microscopic, pill-shaped badge (`rounded-full px-3 py-1 text-[10px] uppercase tracking-[0.2em] font-medium`). + +## 5. MOTION CHOREOGRAPHY (FLUID DYNAMICS) +Never use default transitions. All motion must simulate real-world mass and spring physics. Use custom cubic-beziers (e.g., `transition-all duration-700 ease-[cubic-bezier(0.32,0.72,0,1)]`). + +### A. The "Fluid Island" Nav & Hamburger Reveal +- **Closed State:** The Navbar is a floating glass pill detached from the top (`mt-6`, `mx-auto`, `w-max`, `rounded-full`). +- **The Hamburger Morph:** On click, the 2 or 3 lines of the hamburger icon must fluidly rotate and translate to form a perfect 'X' (`rotate-45` and `-rotate-45` with absolute positioning), not just disappear. +- **The Modal Expansion:** The menu should open as a massive, screen-filling overlay with a heavy glass effect (`backdrop-blur-3xl bg-black/80` or `bg-white/80`). +- **Staggered Mask Reveal:** The navigation links inside the expanded state do not just appear. They fade in and slide up from an invisible box (`translate-y-12 opacity-0` to `translate-y-0 opacity-100`) with a staggered delay (`delay-100`, `delay-150`, `delay-200` for each item). + +### B. Magnetic Button Hover Physics +- Use the `group` utility. On hover, do not just change the background color. +- Scale the entire button down slightly (`active:scale-[0.98]`) to simulate physical pressing. +- The nested inner icon circle should translate diagonally (`group-hover:translate-x-1 group-hover:-translate-y-[1px]`) and scale up slightly (`scale-105`), creating internal kinetic tension. + +### C. Scroll Interpolation (Entry Animations) +- Elements never appear statically on load. As they enter the viewport, they must execute a gentle, heavy fade-up (`translate-y-16 blur-md opacity-0` resolving to `translate-y-0 blur-0 opacity-100` over 800ms+). +- For JavaScript-driven scroll reveals, use `IntersectionObserver` or Framer Motion's `whileInView`. Never use `window.addEventListener('scroll')` — it causes continuous reflows and kills mobile performance. + +## 6. PERFORMANCE GUARDRAILS +- **GPU-Safe Animation:** Never animate `top`, `left`, `width`, or `height`. Animate exclusively via `transform` and `opacity`. Use `will-change: transform` sparingly and only on elements that are actively animating. +- **Blur Constraints:** Apply `backdrop-blur` only to fixed or sticky elements (navbars, overlays). Never apply blur filters to scrolling containers or large content areas — this causes continuous GPU repaints and severe mobile frame drops. +- **Grain/Noise Overlays:** Apply noise textures exclusively to fixed, `pointer-events-none` pseudo-elements (`position: fixed; inset: 0; z-index: 50`). Never attach them to scrolling containers. +- **Z-Index Discipline:** Do not use arbitrary `z-50` or `z-[9999]`. Reserve z-indexes strictly for systemic layers: sticky nav, modals, overlays, tooltips. + +## 7. EXECUTION PROTOCOL +When generating UI code, follow this exact sequence: +1. **[SILENT THOUGHT]** Roll the Variance Engine (Section 3). Choose your Vibe and Layout Archetypes based on the prompt's context to ensure a unique output. +2. **[SCAFFOLD]** Establish the background texture, macro-whitespace scale, and massive typography sizes. +3. **[ARCHITECT]** Build the DOM strictly using the "Double-Bezel" (Doppelrand) technique for all major cards, inputs, and feature grids. Use exaggerated squircle radii (`rounded-[2rem]`). +4. **[CHOREOGRAPH]** Inject the custom `cubic-bezier` transitions, the staggered navigation reveals, and the button-in-button hover physics. +5. **[OUTPUT]** Deliver flawless, pixel-perfect React/Tailwind/HTML code. Do not include basic, generic fallbacks. + +## 8. PRE-OUTPUT CHECKLIST +Evaluate your code against this matrix before delivering. This is the last filter. +- [ ] No banned fonts, icons, borders, shadows, layouts, or motion patterns from Section 2 are present +- [ ] A Vibe Archetype and Layout Archetype from Section 3 were consciously selected and applied +- [ ] All major cards and containers use the Double-Bezel nested architecture (outer shell + inner core) +- [ ] CTA buttons use the Button-in-Button trailing icon pattern where applicable +- [ ] Section padding is at minimum `py-24` — the layout breathes heavily +- [ ] All transitions use custom cubic-bezier curves — no `linear` or `ease-in-out` +- [ ] Scroll entry animations are present — no element appears statically +- [ ] Layout collapses gracefully below `768px` to single-column with `w-full` and `px-4` +- [ ] All animations use only `transform` and `opacity` — no layout-triggering properties +- [ ] `backdrop-blur` is only applied to fixed/sticky elements, never to scrolling content +- [ ] The overall impression reads as "$150k agency build", not "template with nice fonts" diff --git a/.claude/skills/design-taste-frontend b/.claude/skills/design-taste-frontend new file mode 120000 index 0000000..1e36b66 --- /dev/null +++ b/.claude/skills/design-taste-frontend @@ -0,0 +1 @@ +../../.agents/skills/design-taste-frontend \ No newline at end of file diff --git a/.claude/skills/gpt-taste b/.claude/skills/gpt-taste new file mode 120000 index 0000000..e655c9b --- /dev/null +++ b/.claude/skills/gpt-taste @@ -0,0 +1 @@ +../../.agents/skills/gpt-taste \ No newline at end of file diff --git a/.claude/skills/high-end-visual-design b/.claude/skills/high-end-visual-design new file mode 120000 index 0000000..da3f28e --- /dev/null +++ b/.claude/skills/high-end-visual-design @@ -0,0 +1 @@ +../../.agents/skills/high-end-visual-design \ No newline at end of file diff --git a/PIVOT.md b/PIVOT.md index 5fa7b21..81a8d81 100644 --- a/PIVOT.md +++ b/PIVOT.md @@ -1,56 +1,69 @@ -# Pivot: Townhall → Ravn +# Pivot: Townhall → Lor -> **Status (2026-05-13):** Brand direction locked. Codebase rename / delete pass **not yet executed**. The repo still uses the old Townhall lexicon (Voice Chamber, Decree, Council, Sigil, etc.). Do not start renames in code until the open decisions below are resolved. +> **Status (2026-05-23):** Brand direction locked. Codebase rename / delete pass **not yet executed**. The repo still uses the old Townhall lexicon (Voice Chamber, Decree, Council, Sigil, etc.) and CSS still carries the intermediate **Ravn** palette. Do not start renames in code until decisions below are settled with the maintainer. ## TL;DR -Townhall — an open-source Discord-alternative for community chat — is pivoting to **Ravn**: a chat-first **company brain** that connects across the tools a company already uses (GitHub, Datadog / Better-Stack, Notion, CRM, etc.) and turns chat threads into queryable institutional memory. +Townhall — an open-source Discord-alternative for community chat — is becoming **Lor**: a chat-first **institutional-memory** product for software teams. Chat is the interface. **Merlin** (the AI agent) is the actual product. Framed competitively as **"Glean for small teams"** — open-source, self-hostable, with chat as the native surface instead of a search-bar overlay. -Chat stays the primary surface. The brain is woven in — not bolted on. +The name **Lor** is from Old English *lār* — teaching, accumulated knowledge. Domain: [lor.chat](https://lor.chat). The agent is **Merlin** (the sage who remembers; Lor is what he protects). + +## Lineage (very brief) + +1. **Townhall** (Feb 2026) — privacy-first Discord alternative, triggered by Discord's age-verification announcement. Warm brown/gold palette. Consumer/B2C. +2. **Ravn** (intermediate, weeks) — short-lived gothic Norse identity (deep purples, raven mascot, "cloaked stranger"). Abandoned for being too cold/edgy for B2B and still serving the wrong framing. +3. **Lor** (mid-May 2026 →) — B2B institutional memory. Twilight-violet + warm starlight-gold. Wonder-first brand voice. Merlin as the named character. Halls as the resurrected medieval term for channels — now load-bearing because the mythology actually maps to the mechanic (Merlin the wizard, Lor the lore, Halls where lore is kept). ## Why the pivot -The community-chat space is crowded and the "Discord but open source" wedge is thin. Meanwhile there's a real, growing slot for an **open-source / self-hostable, MCP-native company brain** that competitors (Glean, Slack AI, Notion AI, ChatGPT-with-connectors) structurally can't fill — because they're not where the conversations happen. +Three honest reckonings drove it: -The thesis: +1. **Competing with Discord on chat alone is structurally weak.** Network effects favor the incumbent (~230M MAU). No amount of privacy-first positioning overcomes that. +2. **The "communal AI with server-wide context" feature on the Townhall roadmap was actually the whole product, not a feature.** A chat platform where an agent indexes all communication, docs, incidents, and integrations — and answers questions about company history and decisions — is not "Discord with an AI bot." Different product category. +3. **B2B dev teams have a clear buyer, a clear pain, a clear revenue model.** Consumer community platforms don't. -1. Chat is already where company comms live, all day, every day. -2. If the chat itself is part of the corpus, the product compounds with use — month six is dramatically more valuable than month one. -3. That collective memory is the moat. Solo AI assistants can't replicate it. +The thesis crystallized as: *"Every engineering team loses 30% of its context every time someone leaves. Lor is the chat platform where that context becomes permanent."* ## What the product is -A team chat app (workspaces, channels, threads, presence, realtime) with an AI agent (`@`) that can answer questions across: +A team chat app (workspaces, Halls, threads, presence, realtime) wrapped around an AI agent (**Merlin**, summoned via `@merlin`) that answers questions across: -- Internal chat history -- Connected external sources via MCP (GitHub, Datadog, Notion, CRM, etc.) -- Source-ACL-aware retrieval (intersected with chat-level visibility) +- Internal chat history (Halls + DMs, with strict ACL respect) +- Connected external sources via MCP / integrations (GitHub, Linear, Notion, Datadog/Better-Stack, CRMs) +- A persistent, **growing wiki** of structured markdown entity pages — services, people, decisions, incidents, concepts — that Merlin maintains incrementally. This is the **visible brain** that differentiates against Glean's "ask a question, get an answer" mode. -**Multi-user, not solo assistant.** Threads, decisions, and answers all become part of the indexed corpus. +**Multi-user, not solo assistant.** Threads and decisions become part of the indexed corpus, which is the moat against ChatGPT-with-connectors and similar individual tools. -## Target customer +## Target customer & business model -Small / self-serve tech startups first. Expand to non-tech and larger orgs once the product loop is proven. +- **Buyer:** CTOs, engineering leads, technical founders at **5–50 person dev startups**. +- **Pain:** institutional memory loss when people leave ("why did we choose Postgres over Mongo two years ago?") +- **Revenue:** per-user SaaS, **$18/user/month** Pro tier. **Free self-hosted forever.** +- **License:** **AGPL with CLA.** +- Self-hosted is the distribution channel. Cloud is the revenue. +- **Recommended next move before pouring fuel on Merlin's architecture:** 30 customer discovery calls with CTOs / engineering leads. ## Product model +(These decisions carried through from the Ravn phase. They were locked separately from the rebrand and remain valid — they're about the chat+AI primitive, not consumer-vs-B2B framing.) + ### Workspace model — single active, multi-workspace account One user account can belong to multiple workspaces, but you are only *in* one workspace at a time. Workspace switcher lives top-left (**Linear / Figma pattern**), not a permanent sidebar stack of org orbs (Slack / Discord pattern). -**Why:** the "company brain" framing requires one unambiguous *we*. When someone asks `@munin "what did we decide about pricing?"` the answer must come from one company's corpus, not a federated view across orgs. Each workspace is its own tenant, its own ACL universe, its own Munin instance. +**Why:** the "institutional memory" framing requires one unambiguous *we*. When someone asks `@merlin "what did we decide about pricing?"` the answer must come from one company's corpus, not a federated view across orgs. Each workspace is its own tenant, its own ACL universe, its own Merlin instance. -Cross-org collaboration (vendors, contractors, customers) is deferred to v2+ as Slack-Connect-style **shared channels**. Not in v1. +Cross-org collaboration (vendors, contractors, customers) is deferred to v2+ as Slack-Connect-style **shared Halls**. Not in v1. ### Conversation primitives -The workspace surface has three: +Three: -1. **Public channels** — workspace-wide, topical, visible to all members. Listed in the sidebar. Slack/Discord pattern. -2. **Private channels** — same structure as public channels (name, topic, pinned messages, persistent membership) but only visible to invited members. For persistent confidential topics: `#exec`, `#leadership-private`, `#project-acme-secret`. Slack model, not Discord's role-permission complexity. -3. **DMs** — 1:1 and group direct messages between specific people. No channel structure, no topic — an ad-hoc thread identified by its participants. Both 1:1 and group DMs are supported. +1. **Public Halls** — workspace-wide, topical, visible to all members. Listed in the sidebar. Slack/Discord pattern. +2. **Private Halls** — same structure as public Halls (name, topic, pinned messages, persistent membership) but only visible to invited members. For persistent confidential topics: `#exec`, `#leadership-private`, `#project-acme-secret`. Slack model, not Discord's role-permission complexity. +3. **DMs** — 1:1 and group direct messages between specific people. No Hall structure, no topic — an ad-hoc thread identified by its participants. Both 1:1 and group DMs are supported. -Channels and DMs are different primitives, intentionally. A private channel is a *persistent topical space*; a group DM is an *ad-hoc thread between specific people*. Don't try to collapse them. +Halls and DMs are different primitives, intentionally. A private Hall is a *persistent topical space*; a group DM is an *ad-hoc thread between specific people*. Don't try to collapse them. ### Navigation & sidebar IA @@ -61,7 +74,7 @@ The interface is **two regions**: a thin top bar and a tabbed sidebar. The main │ Workspace ▾ 🔍 │ ← top bar ├──────────────────────────────────────────────┤ │ ┌──────────┬──────────┬───────────────┐ │ -│ │ Channels │ DMs (3) │ Munin │ │ ← sidebar tabs +│ │ Halls │ DMs (3) │ Merlin │ │ ← sidebar tabs │ └──────────┴──────────┴───────────────┘ │ ├──────────────────────────────────────────────┤ │ ▾ core │ @@ -81,23 +94,23 @@ The interface is **two regions**: a thin top bar and a tabbed sidebar. The main **Top bar — minimal, on purpose.** Two affordances: -- `Workspace ▾` — workspace switcher (Linear/Figma dropdown, top-left). Cross-workspace nav lives here only. +- `Workspace ▾` — workspace switcher (Linear/Figma dropdown). Cross-workspace nav lives here only. - `🔍 Search` — global Cmd+K-style search across the active workspace. -No new-message icon, no inbox, no drafts, no activity feed, no apps menu. Per-channel unread badges *are* the inbox. To start a new message, navigate to that channel and type. +No new-message icon, no inbox, no drafts, no activity feed, no apps menu. Per-Hall unread badges *are* the inbox. To start a new message, navigate to that Hall and type. **Tabbed sidebar — three tabs, one active at a time.** -- **Channels** — public + private together, organized in **collapsible Discord-style categories**. `#` for public, `🔒` for private. One iconography system, no exceptions. +- **Halls** — public + private together, organized in **collapsible Discord-style categories**. `#` for public, `🔒` for private. One iconography system, no exceptions. - **DMs** — flat list, 1:1 and group DMs together, recents first. No friend requests, no allies, no friendship layer — workspace membership *is* the relationship. -- **Munin** — flat list of saved Munin chats (ChatGPT-style named conversations), `+ new chat` at top. Note: `@munin` invocations inside channels/DMs are inline replies in those threads and do **not** create sidebar entries here. This tab is **only** for standalone 1:1 Munin chats (the surface where DM-indexing applies, per the trust boundary above). +- **Merlin** — flat list of saved standalone Merlin chats (ChatGPT-style named conversations), `+ new chat` at top. Note: `@merlin` invocations inside Halls/DMs are inline replies in those threads and do **not** create sidebar entries here. This tab is **only** for standalone 1:1 Merlin chats (the surface where DM-indexing applies, per the trust boundary below). **Tab-switching behavior:** - Activity in an inactive tab shows as a count badge on the tab itself (e.g., `DMs (3)`). - Switching tabs **only swaps the sidebar contents** — the main conversation pane is unaffected. You don't lose your place. - Keyboard: `Cmd+1` / `Cmd+2` / `Cmd+3` switch tabs. -- The tab the user was on at last sign-out persists per-user — Ravn opens to the tab you left. +- The tab the user was on at last sign-out persists per-user — Lor opens to the tab you left. **User footer (bottom-left of sidebar):** avatar + name + presence indicator + settings cog. Profile, status, theme, preferences, notifications — all live behind the avatar/cog. Not in the top bar. @@ -109,74 +122,115 @@ No new-message icon, no inbox, no drafts, no activity feed, no apps menu. Per-ch - No Starred / Bookmarks section - No Apps section in the sidebar - No friend requests / allies / friendship layer -- No "Huddles" / "Spring cleaning" / utility-bar cruft - No mixed iconography (one icon = one meaning, always) - No bold-vs-faded read-state typography — unread state is a single badge signal only If a future feature wants a sidebar slot, it needs to displace something already there, not pile on. Density is a feature. -### Munin's visibility & ACL behavior +### Merlin's visibility & ACL behavior -**Strict ACL respect (v1).** Munin only retrieves from channels and DMs the asking user has visibility into. Two users asking the same question may get different answers based on what they can see. Simpler trust model, smaller compliance surface, no risk of leaking sensitive info via the agent. +**Strict ACL respect (v1).** Merlin only retrieves from Halls and DMs the asking user has visibility into. Two users asking the same question may get different answers based on what they can see. Simpler trust model, smaller compliance surface, no risk of leaking sensitive info via the agent. -The god-view-with-redaction model (Munin indexes everything, surfaces selectively at query time) is deferred. That's a feature to earn later once trust is established — not v1. +The god-view-with-redaction model (Merlin indexes everything, surfaces selectively at query time) is deferred. That's a feature to earn later once trust is established — not v1. -### DM indexing & Munin in DMs +### DM indexing & Merlin in DMs -DM content is **opt-in per user**, off by default. When opted in, Munin may use your DMs as context — but **only in one surface**: a **standalone 1:1 chat with Munin** (a dedicated Munin conversation, ChatGPT/Claude-app style, separate from any `@munin` invocation in a multi-user space). +DM content is **opt-in per user**, off by default. When opted in, Merlin may use your DMs as context — but **only in one surface**: a **standalone 1:1 chat with Merlin** (a dedicated Merlin conversation, ChatGPT/Claude-app style, separate from any `@merlin` invocation in a multi-user space). -Munin **never** surfaces, cites, or references DM content in any other context: +Merlin **never** surfaces, cites, or references DM content in any other context: -- Not in public channels -- Not in private channels +- Not in public Halls +- Not in private Halls - Not in group DMs (even if all participants of the source DM are present) -- Not in another user's 1:1 with Munin +- Not in another user's 1:1 with Merlin -The trust boundary is **structural, not behavioral**: Munin in your private space with Munin = can use your indexed DMs. Munin anywhere else = cannot, by construction. This is easier to reason about than runtime context-checking and removes the failure mode where DM content accidentally leaks via the agent into a multi-user setting. +The trust boundary is **structural, not behavioral**: Merlin in your private space with Merlin = can use your indexed DMs. Merlin anywhere else = cannot, by construction. This is easier to reason about than runtime context-checking and removes the failure mode where DM content accidentally leaks via the agent into a multi-user setting. -**Future:** 1:1 DMs should eventually be **E2E encrypted**. That implies Munin's DM indexing will need to run client-side (agent operates on decrypted content locally; server only ever sees ciphertext). Architectural note for later — not v1, but should not design ourselves out of it. +**Future:** 1:1 DMs should eventually be **E2E encrypted**. That implies Merlin's DM indexing will need to run client-side (agent operates on decrypted content locally; server only ever sees ciphertext). Architectural note for later — not v1, but should not design ourselves out of it. ## New brand ### Name + domain -- **Product:** **Ravn** — Old Norse spelling of "raven," pronounced like *Raven*. -- **Domain:** [ravn.to](https://ravn.to) — `.to` reads as a sending verb ("ravn-*to*-recipient"), reinforcing the chat product. +- **Product:** **Lor** — from Old English *lār* (teaching, accumulated knowledge). Short spelling chosen over "Lore" for distinctiveness in B2B and to avoid gaming/fantasy connotations. +- **Domain:** [lor.chat](https://lor.chat). + +### Brand voice principle + +**Mythic, warm, atmospheric — wonder-first.** NOT "modern dev tool," even though the buyer overlaps with Linear's audience. + +> **Who you sell to ≠ how the brand feels.** + +The product UI is dev-clean (Geist, restrained, fast); the brand voice is mythic (illuminated manuscripts, twilight travel, dawn air, journey, accumulated lore). Wonder lives in *atmosphere* — palette, typography, illustrations, hero imagery — not in *vocabulary*. Don't write "thy" or "doth." **Halls** and **Merlin** are the only lore-flavored vocabulary tokens that survive into the product surface. + +### Palette direction + +Purple-forward — **twilight violet** anchored at OKLCH hue **~278–282** — with **warm starlight-gold** as the Merlin accent. Cool sky + warm star. NOT gothic. NOT generic-AI-purple. + +| Token | Approximate value | +| --- | --- | +| Primary interactive | `#5A63BC` (deeper periwinkle/sky-purple) | +| Fills / decoration | lighter sky-periwinkle | +| Merlin accent | warm starlight / candlelight gold (beeswax-toned, NOT cool gilt) | +| Light surfaces | pale dawn sky / parchment cream | +| Dark surfaces | purple-shifted darks (NOT near-black) | + +Variant palettes explored — **Aurora** (teal lead + violet ribbon + gold), **Ember** (warm ochre-forward), **Twilight / Night Sky** — all share the rule: *surface anchored to a hue; Merlin always the warm gold star in the cool sky*. -### Palette -Purple-forward with **candle-gold** as the differentiating warm accent. Cool ink-purple in dark mode, warm pale lavender in light mode. Gold is the punctuation, not the paragraph. +**The CSS in `packages/ui/src/styles/globals.css` is NOT yet updated to this direction.** It still carries the intermediate Ravn hue-295 palette. Palette tuning is sensitive; don't change CSS values without explicit guidance. -| Token | Light | Dark | -| --- | --- | --- | -| `--background` | `#FAF7FF` | `#14121E` | -| `--foreground` | `#1B1729` | `#F1ECFA` | -| `--primary` | `#6D28D9` | `#A78BFA` | -| `--primary-foreground` | `#FAF7FF` | `#14121E` | -| `--accent` | `#C99738` | `#E0B566` | -| `--muted` | `#EFE9F7` | `#2A2440` | -| `--border` | `#E7DEF0` | `#312B47` | +### Wordmark + logo direction -### Wordmark -Sharp serif, all-caps, tracked-out — **RAVN** as a stamp/seal/sigil. Typeface candidates: Recoleta, GT Sectra, Tiempos Headline, Söhne Breit. Product UI body type stays clean and modern (Inter / Geist) — personality lives in the wordmark and mascot. +- **Lead concept:** "**o-as-portal**" — the `o` in Lor rendered as a circular portal/lens, implying passage into accumulated knowledge. +- **Secondary concept:** **constellation mark** — Merlin's knowledge as stars forming a picture. +- **Typeface:** **Geist** (both wordmark and product UI). +- **No primary creature mascot.** Lor's identity is wordmark + symbol driven. The Ravn-era raven-with-gold-eye is retired. +- **Avoid:** **Othala rune (ᛟ)** as a prominent mark. Semantically perfect (inherited heritage, knowledge passed down) but appropriated by hate groups. Rune-as-background-texture remains fine; just not Othala specifically as a logomark. -Avoid: fantasy fonts (Cinzel, Trajan, anything that reads as D&D book cover). +## Terminology -### Mascot -A stylized raven. Profile pose, geometric, premium — Linear / Octocat polish, not webcomic. Deep ink-purple silhouette with a single gold detail (eye glint or beak highlight). Must work at 16px favicon and at billboard scale. +- **Channels → Halls** (carried over from Townhall, now codified). The medieval flavor is no longer decorative; it's load-bearing — Merlin (wizard) / Lor (lore) / Halls (where lore is kept) all map to the product. +- **Most other Townhall medieval terms do NOT survive.** Wardens, Citizens, Sigils, Crests, Allies, Banish, Silence, Decree, Council, Send-a-Raven — these were Discord-feature analogs for a community chat product. A B2B institutional-memory product doesn't have group DMs as "Councils" or moderators as "Wardens." Confirm before resurrecting any. -Avoid: heroic wings-spread, Edgar-Allan-Poe goth, hooded/cloaked wizard imagery (different mythology), cartoon eyes, Saturday-morning energy. +## Tech stack + +Carried over from Townhall (functional): + +- **Railway** hosting +- **Postgres + Drizzle** ORM +- **Socket.IO** realtime +- **Better Auth** +- **R2** (Cloudflare object storage) +- **BullMQ** (background jobs) +- **shadcn/ui + Tailwind v4** in `packages/ui` + +New for Lor: + +- **Qdrant** (vector DB for Merlin) — confirmed. + +## Merlin architecture (sketch — not started yet) + +**Karpathy-style wiki accumulation**, NOT just RAG on raw messages. Merlin incrementally **builds and maintains structured markdown entity pages** — services, people, decisions, incidents, concepts — as a **persistent artifact**. The "visible, growing brain" is the demo differentiator vs. Glean's "ask a question, get an answer." + +**Open architectural questions:** + +- Embedding model choice +- Chunking strategy +- Qdrant collection schema +- Retrieval pipeline +- First integration target (likely GitHub or Linear) ## Codebase migration plan -Three buckets. Execute in order: deletes first on a branch, get to a minimal chat shell, then layer the brain on top. +Three buckets. Execute in order: deletes first on a branch, get to a minimal chat shell, then layer Merlin on top. ### Keep (foundation — already works, don't touch) - pnpm + Turborepo monorepo - `apps/api` — Hono + OpenAPI - `apps/realtime` — Socket.IO gateway -- `packages/auth` — better-auth + Drizzle +- `packages/auth` — Better Auth + Drizzle - `packages/db` — Drizzle schema for users, messages, threads, mentions, reactions, presence - `packages/ui` — shadcn/ui + Tailwind v4 setup -- Web app shell, channels, threads — concepts carry over +- Web app shell. Halls (renamed from channels), threads — concepts carry over. ### Delete aggressively (do not rename, do not migrate, just `rm`) - Voice Chambers (`apps/realtime` voice surfaces) @@ -185,46 +239,44 @@ Three buckets. Execute in order: deletes first on a branch, get to a minimal cha - Crests (animated emoji) - Allies / Ally Requests (friends system) - Decrees (announcement channels) -- Councils (group DMs) +- Councils (group DMs — replaced by standard group-DM primitive) - Discovery -- All medieval lexicon in copy, components, schema fields, routes -- Marketing site copy on `apps/www` — full rewrite +- All Townhall medieval lexicon **except Halls** +- All Ravn-era references (raven mascot, raven-themed copy, Munin agent name) +- Marketing site copy on `apps/www` — full rewrite for Lor positioning ### Build new -- Connector framework — **lean MCP-native** rather than building integrations one at a time -- Indexing + embedding pipeline (Postgres + pgvector is the natural fit given current stack) -- Retrieval layer -- LLM orchestration with tool-calling -- ACL model: source ACLs × workspace visibility × thread privacy -- `@munin` surface inside threads (streaming, citations back to source) - -Recommended v1 scope: **one connector, done exceptionally well** (GitHub is the obvious pick for the dev-tools early audience) plus the collective-memory layer. Race for integration breadth later. - -## The agent: **Munin** - -The AI agent users `@` in chat to query the brain is **Munin** — from Norse mythology, Odin's raven of *Memory* (the other is Huginn = Thought). The ravens flew out each day across the world and brought knowledge back, which is literally the product's mechanic. The agent's name *means Memory*. +- **Connector framework** — lean MCP-native rather than building integrations one at a time +- **Indexing + embedding pipeline** (Postgres source-of-truth + Qdrant vectors) +- **Retrieval layer** +- **LLM orchestration** with tool-calling +- **ACL model:** source ACLs × workspace visibility × Hall privacy +- **Wiki accumulation engine** — the visible growing brain (entity markdown pages maintained over time) +- **`@merlin` agent surface** inside threads (streaming responses, source citations, warm-gold thinking indicator) +- **Standalone Merlin chat surface** (the third sidebar tab, where DM-indexing applies) -Two ravens in the world: **Ravn** is the brand/product (the chat where your team lives), **Munin** is the agent inside it (the raven of memory you summon for answers). +Recommended v1 scope: **one connector, done exceptionally well** (GitHub is the obvious pick for the dev-tools early audience) plus the collective-memory layer + visible wiki. Race for integration breadth later. -**Anchor line:** *"Munin remembers everything your company has ever said, written, or shipped."* +## Open decisions -**Voice + usage notes:** -- Summon as `@munin` inside any thread. -- Every answer cites its source — Munin shows its work, linking back to the message, doc, PR, ticket, or dashboard it pulled from. -- Don't anthropomorphize Munin as "wizard" or "AI assistant." Munin is *the raven of memory.* -- Streaming/thinking state uses the candle-gold accent — a pulsing gold glint, echoing the mascot's eye. +- **Palette implementation in CSS** — twilight-violet + warm starlight-gold values not yet in `globals.css`. Need to land the new direction without re-triggering the painful color-tuning churn that happened in mid-May. +- **First integration:** GitHub or Linear? Slight lean toward GitHub for early dev audience. +- **Embedding model and chunking strategy** for Merlin. ## Open work, in rough order -1. Trademark check on RAVN in classes 9 & 42 (USPTO TESS). -2. ~~Register `ravn.to`.~~ ✅ Done. -3. Commission mascot from the brief in the [Mascot section](#mascot). -4. Build the new shadcn theme using the palette above; install in `packages/ui`. -5. Build the tabbed sidebar IA (Channels / DMs / Munin tabs) + minimal top bar per [Navigation & sidebar IA](#navigation--sidebar-ia). Includes Discord-style collapsible channel categories. -6. Branch the delete pass. Strip the old lexicon and surfaces listed in [Delete aggressively](#delete-aggressively-do-not-rename-do-not-migrate-just-rm). -7. Rebuild marketing site copy on `apps/www` against the new positioning. -8. Begin the connector + retrieval work (GitHub first). -9. Implement `@munin` agent surface — inline `@munin` in threads (streaming, citations, gold-pulse) AND standalone Munin chat surface (the third sidebar tab, where DM-indexing applies). +1. Trademark check on LOR in classes 9 & 42 (USPTO TESS). +2. ~~Register `ravn.to`.~~ Superseded — register / point `lor.chat`. +3. 30 customer discovery calls with CTOs / engineering leads before architecting Merlin. +4. Commission wordmark (o-as-portal) + constellation mark in Geist. +5. Update the shadcn theme in `packages/ui` to the twilight-violet + starlight-gold direction — carefully, with maintainer sign-off on values. +6. Build the tabbed sidebar IA (Halls / DMs / Merlin tabs) + minimal top bar per [Navigation & sidebar IA](#navigation--sidebar-ia). Includes Discord-style collapsible Hall categories. +7. Branch the delete pass. Strip the old lexicon and surfaces listed in [Delete aggressively](#delete-aggressively-do-not-rename-do-not-migrate-just-rm). +8. Rebuild marketing site copy on `apps/www` against the new Lor / institutional-memory positioning. +9. Wire up Qdrant. Decide embedding model + chunking + collection schema. +10. Begin the connector + retrieval work (likely GitHub first). +11. Implement `@merlin` agent surface — inline `@merlin` in threads (streaming, citations, gold-pulse) AND the standalone Merlin chat surface (the third sidebar tab, where DM-indexing applies). +12. Begin wiki-accumulation engine — structured markdown entity pages that grow with the corpus. ## Related docs diff --git a/apps/www/README.md b/apps/www/README.md deleted file mode 100644 index a98bfa8..0000000 --- a/apps/www/README.md +++ /dev/null @@ -1,36 +0,0 @@ -This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/create-next-app). - -## Getting Started - -First, run the development server: - -```bash -npm run dev -# or -yarn dev -# or -pnpm dev -# or -bun dev -``` - -Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. - -You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. - -This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load Inter, a custom Google Font. - -## Learn More - -To learn more about Next.js, take a look at the following resources: - -- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. -- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. - -You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome! - -## Deploy on Vercel - -The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. - -Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details. diff --git a/apps/www/app/apple-icon.png b/apps/www/app/apple-icon.png deleted file mode 100644 index 0bd31fbe72422bbdc0564f89aef1852331abeaf9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 36522 zcmbTc1yo$kvIaU39D=*M26qqc?(XhBcnIzu2<|Sy9fG?BcZb0>xIFTobC11q*In-o ztEX#M*H_jxy?1XqTv1-)BOERq008(XB`K=>-q-(WFi`K`{Nqq8?;V7Nkem82mEC&F1Q33#8f&hTWch(mW0N}<102~oAL|);RvfLu(7)U0M~2qqS0rg*Tw z(O}>o06G7|XJ%r`0sCi6IpF{Bt3Kz$Kk0WJ0Q0TmlJ^eQQBvz&HDceN29`{Ri1%)X z(@Is-RZ~uu$Hc*o!N}CX*o*;a=lBN&-~;l!lXhmVM#MlnTYDECAV29}5b8~YuGO;kSu+YCt(7SlryBY!M?On+JrsRM0h?=>WI9oZoS~=Jg|Iuq? z?BM3gPfGg7&_6zZ^V1Ay^-oLoE`JZ}JwV1kBaF-pOpN~x_8#m%{QEZ)(8%$B1-V+8 z|1Y-wjQp=KQ z%mkSE{tD(_S^vz$-=r0-fM&LuqE_!3UEZ@Mz|6|c^mo*M4*e%o?A@BWne$(;KNa|Q z*uS#>6C!SFB9!Pf0hcGc{y zTm{}U^55A1iBfR3dY_%YP0D+k|APE0??2@=|7k{mo8#|*e`WqBK;%y z#Pr1fOBMZXe*axRALD;`c)-v!s8aR_3Vrh0oSx8kyWC&zEHCL6z@kK@S`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+m8-&&t5ZG{sHChIa7Q { - navigator.clipboard.writeText(CLONE_COMMAND) - setCopied(true) - setTimeout(() => setCopied(false), 2000) - } - - return ( -
-
-
-
-
- - zsh - -
-
- {/* Copyable command line */} -
e.key === "Enter" && handleCopy()} - className="group -mx-3 flex cursor-pointer items-center rounded-md px-3 py-1 transition-colors hover:bg-foreground/[0.06]" - > -
- ~ - $ - {CLONE_COMMAND} -
- - {copied ? ( - - ) : ( - - )} - -
- -
- Cloning into 'townhall'... -
-
- remote: Enumerating objects: done. -
-
- ~/townhall - $ - -
-
-
- ) -} diff --git a/apps/www/app/components/grain.tsx b/apps/www/app/components/grain.tsx new file mode 100644 index 0000000..411e4ec --- /dev/null +++ b/apps/www/app/components/grain.tsx @@ -0,0 +1,13 @@ +export function Grain() { + return ( +
+ ) +} diff --git a/apps/www/app/components/reveal.tsx b/apps/www/app/components/reveal.tsx new file mode 100644 index 0000000..5e227f8 --- /dev/null +++ b/apps/www/app/components/reveal.tsx @@ -0,0 +1,53 @@ +"use client" + +import { type ReactNode, useEffect, useRef, useState } from "react" + +export function Reveal({ + children, + className = "", + delay = 0, +}: { + children: ReactNode + className?: string + delay?: number +}) { + const ref = useRef(null) + const [shown, setShown] = useState(false) + + useEffect(() => { + const el = ref.current + if (!el) return + if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) { + setShown(true) + return + } + const io = new IntersectionObserver( + (entries) => { + for (const e of entries) { + if (e.isIntersecting) { + setShown(true) + io.disconnect() + break + } + } + }, + { threshold: 0.12, rootMargin: "0px 0px -10% 0px" } + ) + io.observe(el) + return () => io.disconnect() + }, []) + + return ( +
+ {children} +
+ ) +} diff --git a/apps/www/app/components/theme-toggle.tsx b/apps/www/app/components/theme-toggle.tsx deleted file mode 100644 index 73732f4..0000000 --- a/apps/www/app/components/theme-toggle.tsx +++ /dev/null @@ -1,35 +0,0 @@ -"use client" - -import { Moon, Sun } from "lucide-react" -import { useTheme } from "next-themes" -import { useEffect, useState } from "react" - -export function ThemeToggle() { - const { resolvedTheme, setTheme } = useTheme() - const [mounted, setMounted] = useState(false) - - useEffect(() => { - setMounted(true) - }, []) - - if (!mounted) { - return ( -
- ) - } - - return ( - - ) -} diff --git a/apps/www/app/components/waitlist.tsx b/apps/www/app/components/waitlist.tsx new file mode 100644 index 0000000..d52f5fd --- /dev/null +++ b/apps/www/app/components/waitlist.tsx @@ -0,0 +1,90 @@ +"use client" + +import { ArrowRight, Check, Loader2 } from "lucide-react" +import { type FormEvent, useState } from "react" +import { apiClient } from "@/lib/api-client" + +type Status = "idle" | "loading" | "success" | "error" + +export function Waitlist() { + const [email, setEmail] = useState("") + const [status, setStatus] = useState("idle") + const [errorMessage, setErrorMessage] = useState("") + + async function onSubmit(e: FormEvent) { + e.preventDefault() + if (!email || status === "loading" || status === "success") return + setStatus("loading") + setErrorMessage("") + try { + const res = await apiClient.waitlist.$post({ json: { email } }) + if (!res.ok) { + const data = (await res.json().catch(() => null)) as { + error?: string + } | null + setErrorMessage( + typeof data?.error === "string" ? data.error : "Something went wrong." + ) + setStatus("error") + return + } + setStatus("success") + } catch { + setErrorMessage("Couldn't reach the server. Try again in a moment.") + setStatus("error") + } + } + + if (status === "success") { + return ( +
+ + You’re on the list. We’ll be in touch. +
+ ) + } + + return ( +
+
+ setEmail(e.target.value)} + placeholder="you@company.com" + className="min-w-0 flex-1 bg-transparent px-4 py-2 text-[14.5px] text-foreground placeholder:text-foreground/40 focus:outline-none" + aria-label="Email address" + /> + +
+ {status === "error" && errorMessage && ( +

+ {errorMessage} +

+ )} +
+ ) +} diff --git a/apps/www/app/download/page.tsx b/apps/www/app/download/page.tsx index 42c83cf..44a6a42 100644 --- a/apps/www/app/download/page.tsx +++ b/apps/www/app/download/page.tsx @@ -10,18 +10,18 @@ import { import { Separator } from "@repo/ui/components/separator" import { Download, ExternalLink, Github, Globe } from "lucide-react" import type { Metadata } from "next" -import Image from "next/image" import Link from "next/link" export const metadata: Metadata = { - title: "Download Townhall", - description: "Download Townhall for macOS, Windows, or Linux.", + title: "Download Lor", + description: "Download Lor for macOS, Windows, or Linux.", } const VERSION = "0.1.0" -const RELEASES_URL = "https://github.com/BuckyMcYolo/townhall/releases" -const LATEST = - "https://github.com/BuckyMcYolo/townhall/releases/latest/download" +const GITHUB_URL = "https://github.com/BuckyMcYolo/lor" +const RELEASES_URL = `${GITHUB_URL}/releases` +const LATEST = `${GITHUB_URL}/releases/latest/download` +const APP_URL = "https://app.lor.chat" function AppleIcon({ className }: { className?: string }) { return ( @@ -53,7 +53,7 @@ const platforms = [ icon: AppleIcon, subtitle: "Apple Silicon", description: "Download the .dmg installer for macOS 11+", - href: `${LATEST}/Townhall_${VERSION}_aarch64.dmg`, + href: `${LATEST}/Lor_${VERSION}_aarch64.dmg`, note: "Need Intel? Check all releases below.", }, { @@ -61,7 +61,7 @@ const platforms = [ icon: WindowsIcon, subtitle: "Windows 10+", description: "Download the .exe installer for Windows", - href: `${LATEST}/Townhall_${VERSION}_x64-setup.exe`, + href: `${LATEST}/Lor_${VERSION}_x64-setup.exe`, }, { name: "Linux", @@ -77,22 +77,13 @@ export default function DownloadPage() { return (
{/* Navbar */} -
+
@@ -100,11 +91,12 @@ export default function DownloadPage() {
{/* Hero */}
-

- Download Townhall +

+ Download Lor for desktop.

-

- Available for macOS, Windows, and Linux. Free and open source. +

+ Native apps for macOS, Windows, and Linux. Same Lor, in a faster + shell.

@@ -165,39 +157,35 @@ export default function DownloadPage() { - {/* Try in browser */} + {/* Browser alternative */}
-

- Don't want to download? +

+ Don’t want to download?

- Try Townhall instantly in your browser — no installation required. + Use Lor in your browser — no installation required.

{/* Footer */} -