Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

feat(sidebar): put the voice row back between Verse and Extensions (#1097)

Ruben Lütkee5064d2a6b2a
diff --git a/dodaios/ui/web/frontend/src/__tests__/voiceBrandName.test.tsx b/dodaios/ui/web/frontend/src/__tests__/voiceBrandName.test.tsx
index 2b35a36808..5d7125e82c 100644
--- a/dodaios/ui/web/frontend/src/__tests__/voiceBrandName.test.tsx
+++ b/dodaios/ui/web/frontend/src/__tests__/voiceBrandName.test.tsx
@@ -16,7 +16,7 @@
* rule, so this file also covers the section's "API Keys" tab and the locale
* values it renders.
*/
-import { act, cleanup, fireEvent, render, screen } from "@testing-library/react";
+import { act, cleanup, render, screen } from "@testing-library/react";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
@@ -140,14 +140,11 @@ function renderSidebar() {
const client = new QueryClient({
defaultOptions: { queries: { retry: false }, mutations: { retry: false } },
});
- const view = render(
+ return render(
<QueryClientProvider client={client}>
<Sidebar />
</QueryClientProvider>,
);
- // The voice row lives behind "More" since 2026-11-02.
- fireEvent.click(screen.getByTestId("sidebar-more-toggle"));
- return view;
}
function renderVoiceApiKeysTab() {
diff --git a/dodaios/ui/web/frontend/src/components/layout/Sidebar.test.tsx b/dodaios/ui/web/frontend/src/components/layout/Sidebar.test.tsx
index e31756ae1b..62762d73f8 100644
--- a/dodaios/ui/web/frontend/src/components/layout/Sidebar.test.tsx
+++ b/dodaios/ui/web/frontend/src/components/layout/Sidebar.test.tsx
@@ -670,15 +670,14 @@ describe("compact sidebar navigation", () => {
test("keeps core destinations above visible recent chats", () => {
renderSidebar();
- for (const id of ["agents", "verse", "visualization", "agentic-ide", "plugins", "marketplace"]) {
+ for (const id of ["agents", "verse", "dictation", "visualization", "agentic-ide", "plugins", "marketplace"]) {
expect(screen.getByTestId(`nav-row-${id}`)).toBeTruthy();
}
expect(screen.getByTestId("recent-chats")).toBeTruthy();
expect(screen.queryByTestId("nav-row-wallpaper")).toBeNull();
expect(screen.queryByTestId("nav-row-memory")).toBeNull();
- // Built for you and the voice section live behind "More" now.
+ // Built for you lives behind "More" now.
expect(screen.queryByTestId("nav-row-self-build")).toBeNull();
- expect(screen.queryByTestId("nav-row-dictation")).toBeNull();
});
test("opens Jarvis Voice directly with artifacts in the main list", () => {
@@ -687,7 +686,6 @@ describe("compact sidebar navigation", () => {
// Artifacts sits directly in the main list (where the retired "Jarvis
// Tools" folder used to be) — no "Show more" needed to reach it.
expect(screen.getByTestId("nav-row-visualization")).toBeTruthy();
- fireEvent.click(screen.getByTestId("sidebar-more-toggle"));
fireEvent.click(screen.getByTestId("nav-row-dictation"));
expect(useHomeStore.getState().surface).toBe("chat");
expect(useEventStore.getState().activeSection).toBe("dictation");
@@ -728,9 +726,9 @@ describe("compact sidebar navigation", () => {
act(() => useIdeSidePanelStore.getState().setOpen(false));
});
- test("shows the agents, the IDE, the Verse, the extensions and the artifacts in that order", () => {
+ test("shows the agents, the IDE, the Verse, the voice, the extensions and the artifacts in that order", () => {
renderSidebar();
- const order = ["agents", "agentic-ide", "verse", "plugins", "visualization"].map(
+ const order = ["agents", "agentic-ide", "verse", "dictation", "plugins", "visualization"].map(
(id) => screen.getByTestId(`nav-row-${id}`),
);
for (let i = 1; i < order.length; i++) {
diff --git a/dodaios/ui/web/frontend/src/components/layout/Sidebar.tsx b/dodaios/ui/web/frontend/src/components/layout/Sidebar.tsx
index 482a8c15c3..fc1e8e70fe 100644
--- a/dodaios/ui/web/frontend/src/components/layout/Sidebar.tsx
+++ b/dodaios/ui/web/frontend/src/components/layout/Sidebar.tsx
@@ -326,10 +326,9 @@ export function Sidebar({
// retired "Jarvis Tools" folder used to be — it was the only entry hiding
// behind "Show more" that users reached for daily, while the tools folder
// duplicated exactly what "Show more" already lists.
- // "Built for you" and the voice section moved behind "More" (2026-11-02):
- // the main list is the agents, the IDE, the Verse, the extensions and the
- // artifacts — nothing else.
- const primaryIds = ["chats", "agents", "visualization", "agentic-ide", "plugins", "marketplace"];
+ // "Built for you" moved behind "More" (2026-11-02): the main list is the
+ // agents, the IDE, the Verse, the voice, the extensions and the artifacts.
+ const primaryIds = ["chats", "agents", "dictation", "visualization", "agentic-ide", "plugins", "marketplace"];
// The Settings hub owns its entries — they live in the hub's left
// navigation now, so "Show more" must not list them a second time. The set
// itself is named once in `navGroups` (`SETTINGS_HUB_IDS`).
@@ -560,12 +559,14 @@ export function Sidebar({
{!railed && <span>{t("sidebar.new_chat")}</span>}
</button></li>
{/* The order the maintainer chose (2026-11-02): the agents, where
- they code, the Verse, then the extensions and the artifacts.
+ they code, the Verse, the voice, then the extensions and the
+ artifacts.
Everything else sits behind "More". */}
{renderRow(findItem("agents"))}
{renderRow(findItem("agentic-ide"))}
<NavRow key="verse" rowId="verse" item={verseItem} label={resolveNavLabel(t, verseItem)}
compact={railed} active={active === "agentic-ide" && verseOn} onClick={openVerse} />
+ {renderRow(findItem("dictation"))}
</ul>
<ul className="space-y-px">
{renderRow({ ...findItem("plugins"), labelKey: "sidebar.extensions_label" })}