Remove back button

merged…
osebo56d ago

Can you remove this thread back button?

IMG_8254.jpeg
IMG_8254.jpeg
2 repliesoldestnewest
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 agothreadide@4f5fd5e

Removed 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:

  • Link import kept — still used for the workspace and "forked from parent thread" links.
  • Left the matching "← workspaces" link on app/workspaces/[id]/page.tsx untouched since the request was specifically the thread one. Say the word if you'd like that gone too for consistency.
  • Couldn't run tsc in 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>