Skip to content

Commit 8766f5d

Browse files
rename 'Prompt Chain' to 'Prompt Threads' across UI
1 parent 4255ff1 commit 8766f5d

6 files changed

Lines changed: 17 additions & 17 deletions

File tree

app/chains/new/page.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default function NewChainPage() {
7373
setError(null);
7474

7575
if (!title.trim()) {
76-
setError("Please enter a title for your chain.");
76+
setError("Please enter a title for your thread.");
7777
return;
7878
}
7979

@@ -124,11 +124,11 @@ export default function NewChainPage() {
124124
href="/chains"
125125
className="inline-flex items-center text-sm text-neutral-500 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-neutral-100 transition-colors mb-6 sm:mb-8"
126126
>
127-
← Back to Chains
127+
← Back to Threads
128128
</Link>
129129

130130
<h1 className="text-xl sm:text-2xl font-semibold text-neutral-900 dark:text-neutral-100 mb-6 sm:mb-8">
131-
New Chain
131+
New Thread
132132
</h1>
133133

134134
{/* Error display */}
@@ -162,7 +162,7 @@ export default function NewChainPage() {
162162
<textarea
163163
value={description}
164164
onChange={(e) => setDescription(e.target.value)}
165-
placeholder="Describe what this chain does..."
165+
placeholder="Describe what this thread does..."
166166
rows={2}
167167
className="w-full px-3 py-2 text-sm rounded-lg border border-neutral-200 dark:border-neutral-700 bg-white dark:bg-neutral-900 text-neutral-900 dark:text-neutral-100 placeholder:text-neutral-400 dark:placeholder:text-neutral-500 focus:outline-none focus:ring-2 focus:ring-neutral-400 dark:focus:ring-neutral-600 resize-y"
168168
/>
@@ -211,7 +211,7 @@ export default function NewChainPage() {
211211
disabled={saving}
212212
className="px-6 py-2.5 bg-neutral-900 hover:bg-neutral-800 dark:bg-neutral-100 dark:hover:bg-neutral-200 dark:text-neutral-900 text-white text-sm font-medium rounded-full transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
213213
>
214-
{saving ? "Saving..." : "Save Chain"}
214+
{saving ? "Saving..." : "Save Thread"}
215215
</button>
216216
<Link
217217
href="/chains"

app/chains/page.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default function ChainsPage() {
5656
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-6 sm:mb-8">
5757
<div>
5858
<h1 className="text-xl sm:text-2xl font-semibold text-neutral-900 dark:text-neutral-100">
59-
Prompt Chains
59+
Prompt Threads
6060
</h1>
6161
<p className="mt-1 text-sm text-neutral-500 dark:text-neutral-400">
6262
Build multi-step prompt workflows and run them sequentially.
@@ -66,7 +66,7 @@ export default function ChainsPage() {
6666
href="/chains/new"
6767
className="inline-flex items-center justify-center px-4 py-2 bg-neutral-900 hover:bg-neutral-800 dark:bg-neutral-100 dark:hover:bg-neutral-200 dark:text-neutral-900 text-white text-sm font-medium rounded-full transition-colors self-start sm:self-auto"
6868
>
69-
+ New Chain
69+
+ New Thread
7070
</Link>
7171
</div>
7272

@@ -81,7 +81,7 @@ export default function ChainsPage() {
8181
{loading && (
8282
<div className="flex items-center justify-center py-16">
8383
<div className="text-sm text-neutral-500 dark:text-neutral-400">
84-
Loading chains...
84+
Loading threads...
8585
</div>
8686
</div>
8787
)}
@@ -105,16 +105,16 @@ export default function ChainsPage() {
105105
</svg>
106106
</div>
107107
<h2 className="text-lg font-medium text-neutral-900 dark:text-neutral-100 mb-2">
108-
No chains yet
108+
No threads yet
109109
</h2>
110110
<p className="text-sm text-neutral-500 dark:text-neutral-400 mb-6 max-w-sm">
111-
Create your first prompt chain to build multi-step AI workflows. Chain prompts together and run them in sequence.
111+
Create your first prompt thread to build multi-step AI workflows. Thread prompts together and run them in sequence.
112112
</p>
113113
<Link
114114
href="/chains/new"
115115
className="inline-flex items-center px-4 py-2 bg-neutral-900 hover:bg-neutral-800 dark:bg-neutral-100 dark:hover:bg-neutral-200 dark:text-neutral-900 text-white text-sm font-medium rounded-full transition-colors"
116116
>
117-
Create your first chain
117+
Create your first thread
118118
</Link>
119119
</div>
120120
)}

app/home/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { useAuth } from "@/components/AuthProvider";
99

1010
const features = [
1111
{
12-
title: "Prompt Chains",
12+
title: "Prompt Threads",
1313
description: "Thread prompts together in sequences. Each step feeds into the next, building complex AI workflows.",
1414
icon: (
1515
<svg className="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">

components/Header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export function Header({ promptCount, showMobileMenu = true }: HeaderProps) {
7272
>
7373
<div className="relative">
7474
<div className="w-full px-4 py-2 pl-10 bg-neutral-100 dark:bg-neutral-800 border border-neutral-200 dark:border-neutral-700 text-neutral-500 dark:text-neutral-300 rounded-full group-hover:bg-neutral-200 dark:group-hover:bg-neutral-700 transition-colors text-sm">
75-
Search prompts, chains, tags...
75+
Search prompts, threads, tags...
7676
</div>
7777
<svg className="absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-neutral-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
7878
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" />
@@ -143,7 +143,7 @@ export function Header({ promptCount, showMobileMenu = true }: HeaderProps) {
143143
</Link>
144144
<Link href="/chains" onClick={() => setIsAccountMenuOpen(false)} className="flex items-center gap-3 px-4 py-2.5 hover:bg-neutral-100 dark:hover:bg-neutral-800 transition-colors">
145145
<svg className="w-5 h-5 text-neutral-600 dark:text-neutral-400" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1" /></svg>
146-
<p className="text-sm font-medium text-neutral-900 dark:text-neutral-100">Chains</p>
146+
<p className="text-sm font-medium text-neutral-900 dark:text-neutral-100">Threads</p>
147147
</Link>
148148
{/* OCR - mobile and dropdown only */}
149149
<Link href="/ocr" onClick={() => setIsAccountMenuOpen(false)} className="flex items-center gap-3 px-4 py-2.5 hover:bg-neutral-100 dark:hover:bg-neutral-800 transition-colors">

components/SearchPalette.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ export function SearchPalette() {
5555
() => [
5656
{ id: "home", title: "Home", href: "/", type: "page" },
5757
{ id: "new", title: "New Prompt", href: "/prompts/new", type: "page" },
58-
{ id: "chains", title: "Chains", subtitle: "Prompt chains & workflows", href: "/chains", type: "page" },
59-
{ id: "new-chain", title: "New Chain", href: "/chains/new", type: "page" },
58+
{ id: "chains", title: "Threads", subtitle: "Prompt threads & workflows", href: "/chains", type: "page" },
59+
{ id: "new-chain", title: "New Thread", href: "/chains/new", type: "page" },
6060
{ id: "ocr", title: "OCR", subtitle: "Extract text from images", href: "/ocr", type: "page" },
6161
{ id: "settings", title: "Settings", href: "/settings", type: "page" },
6262
{ id: "docs", title: "Documentation", href: "/docs", type: "page" },

components/Sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export function Sidebar({ prompts, activeTag }: SidebarProps) {
2929
href="/chains"
3030
className="block font-semibold text-neutral-900 dark:text-neutral-100 hover:opacity-70 transition-opacity mb-3"
3131
>
32-
Chains
32+
Threads
3333
</Link>
3434

3535
<div className="border-t border-neutral-200 dark:border-neutral-800 pt-4">

0 commit comments

Comments
 (0)