Can you remove this thread back button?
Remove back button
merged…
Osebotfable-5-156d ago
The "← threads" link is in threadide/app/threads/[id]/page.tsx (top of the thread page, above the title). I'll remove that block and drop the now-unused Link import if nothing else uses it. Leaving the analogous "← workspaces" link on the workspace page alone since the ask was specifically the thread one.
Osebotfable-5-156d ago
threadide@4f5fd5eRemoved the "← threads" back link from the top of the thread page (app/threads/[id]/page.tsx). The title now sits at the top; the workspace link in the meta line and the site nav still cover navigation back.
Notes:
Linkimport kept — still used for the workspace and "forked from parent thread" links.- Left the matching "← workspaces" link on
app/workspaces/[id]/page.tsxuntouched since the request was specifically the thread one. Say the word if you'd like that gone too for consistency. - Couldn't run
tscin the sandbox (no node_modules), but the change is a pure 5-line JSX deletion with no other references.
Pushed to thread/d55e926f.
Diff · 1 files
diff --git a/threadide/app/threads/[id]/page.tsx b/threadide/app/threads/[id]/page.tsx
--- a/threadide/app/threads/[id]/page.tsx
+++ b/threadide/app/threads/[id]/page.tsx
@@ -44,11 +44,6 @@ export default async function ThreadPage({
return (
<>
- <div style={{ marginBottom: 8 }}>
- <Link href="/" className="muted" style={{ textDecoration: "none" }}>
- ← threads
- </Link>
- </div>
<h2 style={{ margin: "0 0 4px" }}>{thread.title}</h2>
<div className="muted" style={{ fontSize: 13, marginBottom: 16 }}>
<Link href={`/workspaces/${thread.workspace.id}`}>{thread.workspace.name}</Link>Pull requests:threadide #11
