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

@ -12,7 +12,9 @@ import {
FileText,
Info,
LogOut,
Logs,
type LucideIcon,
MessageCircle,
MessageCircleMore,
MoonIcon,
Podcast,
@ -148,6 +150,8 @@ export const iconMap: Record<string, LucideIcon> = {
Podcast,
Users,
RefreshCw,
MessageCircle,
Logs,
};
const defaultData = {