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(ui): Bar-size slider defaults to 135% + physical-adaptation copy

Ruben Lütke9500272a06dc
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/de.json b/jarvis/ui/web/frontend/src/i18n/locales/de.json
index 3bf804657d..336bd078c8 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/de.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/de.json
@@ -1145,8 +1145,8 @@
},
"bar_size": {
"title": "Bar-Größe",
- "description": "Wie groß die Bar auf dem Bildschirm ist. Sie skaliert proportional — Breite und Höhe zusammen — sodass die Bar ihre Form behält und sich nur die Größe ändert. Zum Ändern live am Bildschirm ziehen.",
- "reset": "Auf Standard zurücksetzen (100%)",
+ "description": "Wie groß die Bar auf dem Bildschirm ist. Sie skaliert proportional — Breite und Höhe zusammen — sodass die Bar ihre Form behält und sich nur die Größe ändert, und sie passt sich an die physische Größe jedes Monitors an, damit sie auf jedem Bildschirm gleich groß aussieht. Zum Ändern live am Bildschirm ziehen.",
+ "reset": "Auf Standard zurücksetzen (135%)",
"saved_toast": "Bar-Größe auf {0} gesetzt.",
"restart_caption": "Gespeichert — wird beim Neustart der Bar aktiv."
},
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/en.json b/jarvis/ui/web/frontend/src/i18n/locales/en.json
index 22aa222484..2f82565099 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/en.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/en.json
@@ -1146,8 +1146,8 @@
},
"bar_size": {
"title": "Bar size",
- "description": "How big the on-screen bar is. It scales proportionally — width and height together — so the bar keeps its shape and only its size changes. Drag to resize it live on screen.",
- "reset": "Reset to default (100%)",
+ "description": "How big the on-screen bar is. It scales proportionally — width and height together — so the bar keeps its shape and only its size changes, and it adapts to each monitor's physical size so it looks the same on every screen. Drag to resize it live on screen.",
+ "reset": "Reset to default (135%)",
"saved_toast": "Bar size set to {0}.",
"restart_caption": "Saved — applies when the bar restarts."
},
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/es.json b/jarvis/ui/web/frontend/src/i18n/locales/es.json
index 332ce7ae3d..01bce7363d 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/es.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/es.json
@@ -1145,8 +1145,8 @@
},
"bar_size": {
"title": "Tamaño de la barra",
- "description": "Qué tan grande es la barra en pantalla. Escala de forma proporcional — ancho y alto juntos — así que la barra mantiene su forma y solo cambia su tamaño. Arrastra para redimensionarla en vivo en pantalla.",
- "reset": "Restablecer al valor predeterminado (100%)",
+ "description": "Qué tan grande es la barra en pantalla. Escala de forma proporcional — ancho y alto juntos — así que la barra mantiene su forma y solo cambia su tamaño, y se adapta al tamaño físico de cada monitor para que se vea igual en cada pantalla. Arrastra para redimensionarla en vivo en pantalla.",
+ "reset": "Restablecer al valor predeterminado (135%)",
"saved_toast": "Tamaño de la barra fijado en {0}.",
"restart_caption": "Guardado — se aplica al reiniciar la barra."
},
diff --git a/jarvis/ui/web/frontend/src/views/settings/BarSizeGroup.tsx b/jarvis/ui/web/frontend/src/views/settings/BarSizeGroup.tsx
index c906604e42..898c2f416f 100644
--- a/jarvis/ui/web/frontend/src/views/settings/BarSizeGroup.tsx
+++ b/jarvis/ui/web/frontend/src/views/settings/BarSizeGroup.tsx
@@ -23,18 +23,19 @@ export function BarSizeGroup() {
// Local slider value in PERCENT (50–200). Mirrors the server scale once GET
// resolves; the label + the on-screen bar follow it live while dragging.
- const [pct, setLocalPct] = useState(100);
+ // Pre-GET placeholder = the 135% product default.
+ const [pct, setLocalPct] = useState(135);
const [saving, setSaving] = useState(false);
// The last percent we actually PERSISTED — guards an idle mouseUp (no drag)
// from firing a redundant persist PUT.
- const committedRef = useRef(100);
+ const committedRef = useRef(135);
// Live-throttle bookkeeping for the drag stream (persist=false).
const lastLiveRef = useRef(0);
const pendingRef = useRef<ReturnType<typeof setTimeout> | null>(null);
const min = Math.round((config?.min ?? 0.5) * 100);
const max = Math.round((config?.max ?? 2) * 100);
- const def = Math.round((config?.default ?? 1) * 100);
+ const def = Math.round((config?.default ?? 1.35) * 100);
useEffect(() => {
if (config) {