From 8f672b15d45c5cfc315d87e0f2c2ca08c5ccdf3d Mon Sep 17 00:00:00 2001 From: harshitsinghbhandari <24b4506@iitb.ac.in> Date: Thu, 11 Jun 2026 20:05:47 +0530 Subject: [PATCH] fix(ui): permission mode select + remove notification stub (#186, #188) - Replace free-text AgentConfig.permissions field with a Select showing the four valid modes (default, accept-edits, auto, bypass-permissions) so users can't enter invalid strings (#186). - Delete the non-functional Notifications bell button from Topbar and DashboardTopbar; remove the now-unused Bell import (#188). Closes #186 Closes #188 Co-Authored-By: Claude Sonnet 4.6 --- .../renderer/components/DashboardTopbar.tsx | 5 +-- .../components/ProjectSettingsForm.tsx | 38 ++++++++++++++++++- frontend/src/renderer/components/Topbar.tsx | 6 +-- 3 files changed, 39 insertions(+), 10 deletions(-) diff --git a/frontend/src/renderer/components/DashboardTopbar.tsx b/frontend/src/renderer/components/DashboardTopbar.tsx index 029565d..1b631e8 100644 --- a/frontend/src/renderer/components/DashboardTopbar.tsx +++ b/frontend/src/renderer/components/DashboardTopbar.tsx @@ -1,6 +1,6 @@ import { useQueryClient } from "@tanstack/react-query"; import { useNavigate } from "@tanstack/react-router"; -import { Bell, Waypoints } from "lucide-react"; +import { Waypoints } from "lucide-react"; import { useState } from "react"; import { findProjectOrchestrator } from "../types/workspace"; import { useWorkspaceQuery, workspaceQueryKey } from "../hooks/useWorkspaceQuery"; @@ -90,9 +90,6 @@ export function DashboardTopbar({ activeTab, projectId, projectLabel = "agent-or
- {projectId ? ( orchestrator ? (