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
feat(plugins): open the plugin section full-window with new area icons (#669)
Ruben Lütke63e66c579f88
diff --git a/jarvis/ui/web/frontend/src/components/icons/sectionIcons.tsx b/jarvis/ui/web/frontend/src/components/icons/sectionIcons.tsxindex f8b46c77c1..b0a3520a36 100644--- a/jarvis/ui/web/frontend/src/components/icons/sectionIcons.tsx+++ b/jarvis/ui/web/frontend/src/components/icons/sectionIcons.tsx@@ -9,8 +9,8 @@** One drawing system for all of them, so they sit together on one column:* a 24 × 24 grid with the live area inside 3–21, round caps and joins, a- * 2.5 corner radius on every box, outlines only (no fills) and one idea per- * glyph. Every icon is shaped like a lucide icon (same props, same ref), so+ * 2.5 corner radius on every box, outlines only (no fills, except a protocol's+ * own logo) and one idea per glyph. Every icon is shaped like a lucide icon (same props, same ref), so* a `NavItem.icon` slot takes it unchanged and `strokeWidth`/`className`* keep working at the call sites.*/@@ -135,30 +135,32 @@ export const ExtensionsIcon = defineIcon(</>,);-/** A two-pin plug on its cable. */+/** A puzzle piece: one more part that fits into what is already there. */export const PluginIcon = defineIcon("PluginIcon",- <>- <path d="M9.5 3.5V7" />- <path d="M14.5 3.5V7" />- <path d="M6.5 7h11v3.5a5.5 5.5 0 0 1-11 0Z" />- <path d="M12 16v4.5" />- </>,+ <path d="M3.5 10A2.5 2.5 0 0 1 6 7.5h2.6a2.2 2.2 0 1 1 2.8 0H14a2.5 2.5 0 0 1 2.5 2.5v2.6a2.2 2.2 0 1 1 0 2.8V18a2.5 2.5 0 0 1-2.5 2.5H6A2.5 2.5 0 0 1 3.5 18Z" />,);-/** A bolt: a capability the agent can fire. */+/** A quill: written know-how the agent follows. */export const SkillIcon = defineIcon("SkillIcon",- <path d="M13.2 3.5 5.6 13.1a.5.5 0 0 0 .4.8h5.5l-.9 6.6 7.6-9.6a.5.5 0 0 0-.4-.8h-5.5Z" />,+ <>+ <path d="M20 4c-7 .5-11.5 5-12 12l1 1c7-.5 11.5-5 11-13Z" />+ <path d="M4 20 14 10" />+ <path d="M12.5 15.5h3.5" />+ </>,);-/** Two chain links: a protocol that connects tools to the agent. */+/** The Model Context Protocol's own mark, for the MCP servers section.+ *+ * The one filled glyph in the set: a protocol logo is drawn as published+ * (path from Simple Icons, CC0), scaled into the live area so it sits with+ * the outlined icons beside it. */export const ConnectorIcon = defineIcon("ConnectorIcon",- <>- <path d="M10 13.5a4 4 0 0 0 5.66.5l3-3a4 4 0 0 0-5.66-5.66l-1.2 1.2" />- <path d="M14 10.5a4 4 0 0 0-5.66-.5l-3 3a4 4 0 0 0 5.66 5.66l1.2-1.2" />- </>,+ <g transform="translate(2.4 2.4) scale(0.8)" fill="currentColor" stroke="none">+ <path d="M13.85 0a4.16 4.16 0 0 0-2.95 1.217L1.456 10.66a.835.835 0 0 0 0 1.18.835.835 0 0 0 1.18 0l9.442-9.442a2.49 2.49 0 0 1 3.541 0 2.49 2.49 0 0 1 0 3.541L8.59 12.97l-.1.1a.835.835 0 0 0 0 1.18.835.835 0 0 0 1.18 0l.1-.098 7.03-7.034a2.49 2.49 0 0 1 3.542 0l.049.05a2.49 2.49 0 0 1 0 3.54l-8.54 8.54a1.96 1.96 0 0 0 0 2.755l1.753 1.753a.835.835 0 0 0 1.18 0 .835.835 0 0 0 0-1.18l-1.753-1.753a.266.266 0 0 1 0-.394l8.54-8.54a4.185 4.185 0 0 0 0-5.9l-.05-.05a4.16 4.16 0 0 0-2.95-1.218c-.2 0-.401.02-.6.048a4.17 4.17 0 0 0-1.17-3.552A4.16 4.16 0 0 0 13.85 0m0 3.333a.84.84 0 0 0-.59.245L6.275 10.56a4.186 4.186 0 0 0 0 5.902 4.186 4.186 0 0 0 5.902 0L19.16 9.48a.835.835 0 0 0 0-1.18.835.835 0 0 0-1.18 0l-6.985 6.984a2.49 2.49 0 0 1-3.54 0 2.49 2.49 0 0 1 0-3.54l6.983-6.985a.835.835 0 0 0 0-1.18.84.84 0 0 0-.59-.245" />+ </g>,);/** A shopping bag: a store to pick from. */diff --git a/jarvis/ui/web/frontend/src/views/PluginsDialog.tsx b/jarvis/ui/web/frontend/src/views/PluginsDialog.tsxindex ba623e035c..604ea59ce1 100644--- a/jarvis/ui/web/frontend/src/views/PluginsDialog.tsx+++ b/jarvis/ui/web/frontend/src/views/PluginsDialog.tsx@@ -69,7 +69,7 @@ export function PluginsDialog({ onClose, area = "plugins", onAreaChange, standalreturn (<Dialog.Root open onOpenChange={(open) => { if (!open) onClose(); }}><Dialog.Portal>- <Dialog.Overlay className="fixed inset-0 z-40 bg-scrim/65 backdrop-blur-[2px]" />+ <Dialog.Overlay className="fixed inset-x-0 bottom-0 top-8 z-40 jarvis-nav-surface" /><Dialog.Contentdata-testid="plugin-catalog-dialog"ref={content}@@ -118,7 +118,9 @@ export function PluginsDialog({ onClose, area = "plugins", onAreaChange, standalconst local = document.activeElement?.closest("[data-escape-local]");if (inner || local) event.preventDefault();}}- className="fixed left-1/2 top-1/2 z-40 flex h-[min(88dvh,860px)] w-[min(1180px,calc(100vw-24px))] -translate-x-1/2 -translate-y-1/2 flex-col overflow-hidden rounded-2xl border border-border bg-popover text-foreground shadow-float outline-none [&_[aria-modal=true]]:overflow-y-auto"+ // The whole window below the title bar, like Settings: the section is a+ // place to work in, not a box over the previous one.+ className="jarvis-nav-surface fixed inset-x-0 bottom-0 top-8 z-40 flex flex-col overflow-hidden text-foreground outline-none [&_[aria-modal=true]]:overflow-y-auto"><Dialog.Title className="sr-only">{t("plugins_view.title")}</Dialog.Title>{frame}diff --git a/jarvis/ui/web/frontend/src/views/plugins/ExtensionsSidebar.tsx b/jarvis/ui/web/frontend/src/views/plugins/ExtensionsSidebar.tsxindex 37c2a14258..30d71db003 100644--- a/jarvis/ui/web/frontend/src/views/plugins/ExtensionsSidebar.tsx+++ b/jarvis/ui/web/frontend/src/views/plugins/ExtensionsSidebar.tsx@@ -67,7 +67,7 @@ export function ExtensionsSidebar({: "text-muted-foreground hover:bg-secondary hover:text-foreground",)}>- <Icon className="h-4 w-4 shrink-0" aria-hidden />+ <Icon className="h-[18px] w-[18px] shrink-0" aria-hidden /><span className="truncate">{t(labelKey)}</span></button>))}