diff --git a/app/(dashboard)/chat/page.tsx b/app/(dashboard)/chat/page.tsx index 7d6912d..8e9b0aa 100644 --- a/app/(dashboard)/chat/page.tsx +++ b/app/(dashboard)/chat/page.tsx @@ -158,7 +158,7 @@ export default function AIChatPage() { Sohbetler - { + { handleNewChat(); setIsMobileSessionsOpen(false); }}> @@ -173,31 +173,31 @@ export default function AIChatPage() { ) : ( sessions.map((session) => ( - { - setActiveSessionId(session.id); - setIsMobileSessionsOpen(false); - }} - className={`group flex w-full items-center justify-between rounded-sm p-3 text-left transition-colors ${ - activeSessionId === session.id - ? "bg-primary/10 text-primary" - : "text-foreground hover:bg-muted/50" - }`} - > - - {session.title || "İsimsiz sohbet"} - - + { + setActiveSessionId(session.id); + setIsMobileSessionsOpen(false); + }} + className="min-w-0 flex-1 justify-start px-3" + > + + {session.title || "İsimsiz sohbet"} + + + void handleDeleteSession(session.id, event)} - className="rounded-sm p-1 opacity-0 transition-all hover:bg-rose-50 hover:text-rose-600 lg:group-hover:opacity-100" + className="text-destructive opacity-0 transition-opacity lg:group-hover:opacity-100" > - - + + )) )} @@ -236,10 +236,9 @@ export default function AIChatPage() { AI Asistan - Kayıtlı verilerin hakkında soru sor. - setIsMobileSessionsOpen(true)}> + setIsMobileSessionsOpen(true)}> Sohbetler @@ -304,11 +303,11 @@ export default function AIChatPage() { disabled={isLoading} /> {isLoading ? ( - void stop()}> + void stop()}> ) : ( - + )} diff --git a/app/(dashboard)/clients/[id]/client-detail-client.tsx b/app/(dashboard)/clients/[id]/client-detail-client.tsx index 938f787..d018bd8 100644 --- a/app/(dashboard)/clients/[id]/client-detail-client.tsx +++ b/app/(dashboard)/clients/[id]/client-detail-client.tsx @@ -102,7 +102,6 @@ export function ClientDetailClient({ client, activities }: { client: ClientDetai {client.name} - {client.company_name && {client.company_name}} @@ -113,7 +112,7 @@ export function ClientDetailClient({ client, activities }: { client: ClientDetai {!client.client_auth_id && ( - + Portal Hesabı Aç @@ -135,9 +134,9 @@ export function ClientDetailClient({ client, activities }: { client: ClientDetai Davet bağlantısı - { @@ -153,8 +152,8 @@ export function ClientDetailClient({ client, activities }: { client: ClientDetai ) : null} - setCreateUserOpen(false)}>İptal - + setCreateUserOpen(false)}>İptal + {isCreatingUser && } Davet Oluştur @@ -226,7 +225,7 @@ export function ClientDetailClient({ client, activities }: { client: ClientDetai - + Aktivite Ekle @@ -262,7 +261,7 @@ export function ClientDetailClient({ client, activities }: { client: ClientDetai - + {isAddingActivity ? "Ekleniyor..." : "Ekle"} diff --git a/app/(dashboard)/clients/clients-client.tsx b/app/(dashboard)/clients/clients-client.tsx index 65a0896..ed4e37e 100644 --- a/app/(dashboard)/clients/clients-client.tsx +++ b/app/(dashboard)/clients/clients-client.tsx @@ -167,9 +167,6 @@ export function ClientsClient({ CRM & Müşteriler - - Potansiyel müşterilerini pipeline üzerinden takip et ve müşteri ilişkilerini yönet. - @@ -331,7 +328,7 @@ function DraggableClientCard({ {client.name} e.stopPropagation()}> - } /> + } /> {client.company_name && {client.company_name}} @@ -412,11 +409,11 @@ function ClientRow({ client }: { client: ClientListItem }) { - + - Düzenle} /> + Düzenle} /> ); @@ -457,9 +454,9 @@ function ClientDialog({ {trigger || ( - {mode === "create" ? : } {mode === "create" ? "Müşteri ekle" : "Düzenle"} @@ -483,7 +480,7 @@ function ClientDialog({ - + {mode === "create" ? : } {isSubmitting ? "Kaydediliyor" diff --git a/app/(dashboard)/projects/[id]/project-detail-client.tsx b/app/(dashboard)/projects/[id]/project-detail-client.tsx index 95aa268..b983579 100644 --- a/app/(dashboard)/projects/[id]/project-detail-client.tsx +++ b/app/(dashboard)/projects/[id]/project-detail-client.tsx @@ -198,7 +198,7 @@ export function ProjectDetailClient({ - + Projelere dön @@ -213,9 +213,6 @@ export function ProjectDetailClient({ {statusLabels[project.status]} - - {project.description || "Bu proje için kısa açıklama eklenmedi."} - @@ -226,7 +223,7 @@ export function ProjectDetailClient({ } pendingChildren="Tamamlanıyor" @@ -457,8 +454,8 @@ function PlanningSectionCard({ section }: { section: ProjectPlanningSectionItem } aria-label="Sil" /> @@ -505,9 +502,9 @@ function SectionDialog({ return ( - {mode === "create" ? : } {mode === "create" ? "Alan ekle" : null} @@ -574,7 +571,7 @@ function SectionDialog({ - + {isSubmitting ? "Kaydediliyor" : "Kaydet"} @@ -652,19 +649,19 @@ function TaskPanel({ - setView("list")} > Liste - setView("kanban")} > @@ -720,12 +717,12 @@ function TaskPanel({ {task.status !== "done" ? ( - handleTaskStatusChange(task.id, "done")} > {pendingTaskIds.has(task.id) ? ( @@ -830,11 +827,12 @@ function ProjectTaskKanban({ {task.priority} {task.status !== "done" ? ( onTaskStatusChange(task.id, "done")} @@ -881,7 +879,7 @@ function ProjectSettingsDialog({ project }: { project: ProjectDetail }) { return ( - + Ayarlar @@ -942,7 +940,7 @@ function ProjectSettingsDialog({ project }: { project: ProjectDetail }) { - + {isSubmitting ? "Kaydediliyor..." : "Kaydet"} @@ -977,7 +975,7 @@ function ProjectTaskDialog({ return ( - + Görev ekle @@ -1091,7 +1089,7 @@ function ProjectTaskDialog({ - + {isSubmitting ? "Kaydediliyor" : "Görevi ekle"} @@ -1217,10 +1215,10 @@ function TabButton({ children: React.ReactNode; }) { return ( - {children} diff --git a/app/(dashboard)/projects/projects-client.tsx b/app/(dashboard)/projects/projects-client.tsx index dacb498..7b777bb 100644 --- a/app/(dashboard)/projects/projects-client.tsx +++ b/app/(dashboard)/projects/projects-client.tsx @@ -119,9 +119,6 @@ export function ProjectsClient({ projects, clients }: ProjectsClientProps) { Projeler - - Müşteri işleri ve kişisel side projectleri aynı yerde takip et. - @@ -154,19 +151,19 @@ export function ProjectsClient({ projects, clients }: ProjectsClientProps) { className="sm:w-80" /> - setView("grid")} > Kart - setView("list")} > @@ -367,9 +364,10 @@ function ProjectActions({ > {showDetail ? ( @@ -383,8 +381,8 @@ function ProjectActions({ } @@ -433,9 +431,10 @@ function ProjectDialog({ return ( - @@ -463,7 +462,7 @@ function ProjectDialog({ - + {mode === "create" ? : } {isSubmitting ? "Kaydediliyor" @@ -787,7 +786,7 @@ function AIProjectRiskDialog({ projectId }: { projectId?: string }) { return ( - + AI Risk Analizi @@ -806,7 +805,7 @@ function AIProjectRiskDialog({ projectId }: { projectId?: string }) { {!result && !loading && ( - + Raporu Oluştur @@ -829,8 +828,8 @@ function AIProjectRiskDialog({ projectId }: { projectId?: string }) { {result && ( - setOpen(false)}>Kapat - + setOpen(false)}>Kapat + Yeniden Oluştur diff --git a/app/(dashboard)/settings/page.tsx b/app/(dashboard)/settings/page.tsx index 1d34eec..1f156fc 100644 --- a/app/(dashboard)/settings/page.tsx +++ b/app/(dashboard)/settings/page.tsx @@ -261,9 +261,6 @@ export default function SettingsPage() { Ayarlar - - Workspace markanızı, profilinizi, görünümü ve sistem tercihlerinizi yönetin. - @@ -273,18 +270,16 @@ export default function SettingsPage() { {tabs.map((tab) => { const Icon = tab.icon; return ( - setActiveTab(tab.name)} - className={`flex shrink-0 items-center gap-3 px-4 py-3 rounded-md text-sm font-medium transition-colors text-left ${ - activeTab === tab.name - ? "bg-primary/10 text-primary" - : "text-muted-foreground hover:bg-muted hover:text-foreground" - }`} + className="h-auto shrink-0 justify-start gap-3 px-4 py-3 text-left" > {tab.name} - + ) })} @@ -448,7 +443,7 @@ export default function SettingsPage() { - + Genel ayarları kaydet @@ -561,7 +556,7 @@ export default function SettingsPage() { - + Profili Kaydet @@ -584,7 +579,7 @@ export default function SettingsPage() { - + Şifreyi Güncelle @@ -644,7 +639,7 @@ export default function SettingsPage() { )} - + Ayarları Kaydet @@ -725,9 +720,9 @@ function BrandingAssetField({ className="cursor-pointer" /> {hasCustomAsset ? ( - onRemove(asset)} diff --git a/app/(dashboard)/tasks/tasks-client.tsx b/app/(dashboard)/tasks/tasks-client.tsx index a88c480..3443862 100644 --- a/app/(dashboard)/tasks/tasks-client.tsx +++ b/app/(dashboard)/tasks/tasks-client.tsx @@ -184,9 +184,6 @@ export function TasksClient({ tasks, clients, projects }: TasksClientProps) { Görevler - - Proje ve müşteri bağlantılı işleri liste veya basit kanban ile takip et. - @@ -230,19 +227,19 @@ export function TasksClient({ tasks, clients, projects }: TasksClientProps) { - setView("list")} > Liste - setView("kanban")} > @@ -490,12 +487,12 @@ function TaskActions({ {task.status !== "done" ? ( - onTaskStatusChange(task.id, "done")} > {isPending ? ( @@ -506,12 +503,12 @@ function TaskActions({ {!compact ? (isPending ? "Tamamlanıyor" : "Tamamla") : null} ) : null} - onTaskDelete(task.id)} > {isPending ? ( @@ -560,9 +557,9 @@ function TaskDialog({ return ( - {mode === "create" ? : } {mode === "create" ? "Görev ekle" : "Düzenle"} @@ -583,7 +580,7 @@ function TaskDialog({ - + {mode === "create" ? : } {isSubmitting ? "Kaydediliyor"
Kayıtlı verilerin hakkında soru sor.
{client.company_name}
- Potansiyel müşterilerini pipeline üzerinden takip et ve müşteri ilişkilerini yönet. -
- {project.description || "Bu proje için kısa açıklama eklenmedi."} -
- Müşteri işleri ve kişisel side projectleri aynı yerde takip et. -
- Workspace markanızı, profilinizi, görünümü ve sistem tercihlerinizi yönetin. -
- Proje ve müşteri bağlantılı işleri liste veya basit kanban ile takip et. -