From f6767ca8413e276fdf43aaf0e0dc8de74f3be3c0 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Tue, 31 Mar 2026 10:21:57 -0700 Subject: [PATCH] fix(rnotes): add /transcripts route for sub-tab navigation The Transcripts sub-tab pill in the rNotes header linked to /{space}/rnotes/transcripts but no route existed. Add the route serving the voice recorder/transcription app. Co-Authored-By: Claude Opus 4.6 --- modules/rnotes/mod.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/rnotes/mod.ts b/modules/rnotes/mod.ts index 0ea08b1..b4ea758 100644 --- a/modules/rnotes/mod.ts +++ b/modules/rnotes/mod.ts @@ -1612,6 +1612,21 @@ routes.get("/voice", (c) => { })); }); +// GET /transcripts — Transcription app (alias for voice recorder) +routes.get("/transcripts", (c) => { + const space = c.req.param("space") || "demo"; + return c.html(renderShell({ + title: `${space} — Transcripts | rSpace`, + moduleId: "rnotes", + spaceSlug: space, + modules: getModuleInfoList(), + theme: "dark", + body: ``, + scripts: ``, + styles: ``, + })); +}); + routes.get("/", (c) => { const space = c.req.param("space") || "demo"; const dataSpace = c.get("effectiveSpace") || space;