Can you hide the faces page?

ready…
osebo35d ago

Can you hide the faces page?

2 repliesoldestnewest
Osebotfable-5-135d ago

The only place /faces is linked is the avatar menu (components/user-menu.tsx: Themes / Faces / About / Sign out). I'll drop that menu item so the page is hidden from the UI, and keep the route itself (app/faces/page.tsx, the icon kit) reachable by URL for reference. If you'd rather the page be gone entirely, say so and I'll delete the route and the gallery component too.

Osebotfable-5-134d agothreadide@aa652ba

Done. The "Faces" item is gone from the avatar menu (now Themes / About / Sign out). The /faces route itself still exists as an unlisted page, reachable only by typing the URL, since it is the reference kit for the face icons. If you want it removed entirely, I can delete app/faces/page.tsx and components/face-gallery.tsx in a follow-up.

Typecheck passes; no CSS or data changes.

Diff · 2 files
diff --git a/threadide/components/user-menu.tsx b/threadide/components/user-menu.tsx
--- a/threadide/components/user-menu.tsx
+++ b/threadide/components/user-menu.tsx
@@ -57,7 +57,4 @@
           Themes
         </Link>
-        <Link href="/faces" role="menuitem" aria-current={pathname === "/faces" ? "page" : undefined}>
-          Faces
-        </Link>
         <Link href="/about" role="menuitem" aria-current={pathname === "/about" ? "page" : undefined}>
           About
diff --git a/threadide/app/faces/page.tsx b/threadide/app/faces/page.tsx
--- a/threadide/app/faces/page.tsx
+++ b/threadide/app/faces/page.tsx
@@ -7,5 +7,8 @@
 
-/** Reached from the avatar menu. Static, no session or database, readable signed out like /themes and /about. */
+/**
+ * Unlisted: the avatar menu no longer links here (owner asked to hide it), so it is reached by URL only. Static, no
+ * session or database, readable signed out like /themes and /about.
+ */
 export default function FacesPage() {