refactor(ux): consolidate BMAD skills, update design system, and clean up Prisma generated client

This commit is contained in:
Sepehr Ramezani
2026-04-19 19:21:27 +02:00
parent 5296c4da2c
commit 25529a24b8
2476 changed files with 127934 additions and 101962 deletions

View File

@@ -6,6 +6,7 @@ import { X, FolderOpen } from 'lucide-react'
import { useNotebooks } from '@/context/notebooks-context'
import { cn } from '@/lib/utils'
import { useLanguage } from '@/lib/i18n'
import { getNotebookIcon } from '@/lib/notebook-icon'
interface NotebookSuggestionToastProps {
noteId: string
@@ -121,8 +122,12 @@ export function NotebookSuggestionToast({
{/* Content */}
<div className="flex-1 min-w-0">
<p className="text-sm font-medium text-gray-900 dark:text-gray-100">
{t('notebookSuggestion.title', { icon: suggestion.icon, name: suggestion.name })}
<p className="text-sm font-medium text-gray-900 dark:text-gray-100 flex items-center gap-1.5">
{(() => {
const Icon = getNotebookIcon(suggestion.icon)
return <Icon className="w-4 h-4" />
})()}
{t('notebookSuggestion.title', { name: suggestion.name })}
</p>
<p className="text-xs text-gray-500 dark:text-gray-400 mt-1">
{t('notebookSuggestion.description')}