refactor: update dashboard layout and enhance Circleback connector configuration

- Modified the DashboardLayout to replace the "Sources" section with a "Documents" entry, improving navigation clarity.
- Updated the CirclebackConfig component to include an Info icon for configuration instructions and adjusted the webhook URL input to be disabled for better user experience.
- Enhanced the useConnectorDialog hook to handle non-indexable connectors more effectively, ensuring proper state management and user feedback.
- Improved icon mapping in the app sidebar for consistency across components.
This commit is contained in:
Anish Sarkar 2026-01-01 22:08:20 +05:30
parent 3ae8fe3a7e
commit 5f76844992
4 changed files with 76 additions and 35 deletions

View file

@ -30,24 +30,19 @@ export default function DashboardLayout({
{
title: "Chat",
url: `/dashboard/${search_space_id}/new-chat`,
icon: "SquareTerminal",
icon: "MessageCircle",
items: [],
},
{
title: "Sources",
url: "#",
icon: "Database",
items: [
{
title: "Manage Documents",
url: `/dashboard/${search_space_id}/documents`,
},
],
},
{
title: "Documents",
url: `/dashboard/${search_space_id}/documents`,
icon: "SquareLibrary",
items: [],
},
{
title: "Logs",
url: `/dashboard/${search_space_id}/logs`,
icon: "FileText",
icon: "Logs",
items: [],
},
];