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.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
fix(profile): choice and scale editors save on click, never via Save
rubenluetke10-beep8136f993c2e0
diff --git a/jarvis/ui/web/frontend/src/views/ProfileView.test.tsx b/jarvis/ui/web/frontend/src/views/ProfileView.test.tsxindex 304a2fe129..3df9f07453 100644--- a/jarvis/ui/web/frontend/src/views/ProfileView.test.tsx+++ b/jarvis/ui/web/frontend/src/views/ProfileView.test.tsx@@ -135,6 +135,8 @@ describe("details", () => {const row = await screen.findByTestId("field-verbosity");expect(within(row).getByRole("radio", { name: "In depth" })).toBeTruthy();+ // A choice saves on click; a Save button here would clear the value.+ expect(within(row).queryByRole("button", { name: /Save/ })).toBeNull();});it("renders a choice value by its label, not its stored token", async () => {diff --git a/jarvis/ui/web/frontend/src/views/profile/FieldRow.tsx b/jarvis/ui/web/frontend/src/views/profile/FieldRow.tsxindex 23d7ce6a5a..46b06e2805 100644--- a/jarvis/ui/web/frontend/src/views/profile/FieldRow.tsx+++ b/jarvis/ui/web/frontend/src/views/profile/FieldRow.tsx@@ -163,6 +163,8 @@ export function FieldRow({const kind = fieldKind(field);const empty = isEmptyValue(value);const label = t(`profile_view.fields.${field}`);+ // Free text only: choices, scales and yes/no save on click, not via Save.+ const typed = kind === "scalar" && !CHOICE_FIELDS[field] && !SCALE_FIELDS.has(field);const [editing, setEditing] = useState(initiallyEditing);const [showSource, setShowSource] = useState(false);@@ -351,9 +353,9 @@ export function FieldRow({)}<span className="flex items-center gap-2"><Button type="button" size="sm" variant="ghost" disabled={busy} onClick={close}>- {kind === "scalar" ? t("profile_view.raw_cancel") : t("profile_view.field_done")}+ {typed ? t("profile_view.raw_cancel") : t("profile_view.field_done")}</Button>- {kind === "scalar" && (+ {typed && (<Button type="button" size="sm" disabled={busy} onClick={saveText}><Check aria-hidden />{t("profile_view.raw_save")}