feat(notes): liens internes, onglet Réseau, living blocks et consentement IA
Rend les liens entre notes visibles et persistants (sync NoteLink au save, auto-save, graphe réseau rafraîchi), ajoute living blocks, Memory Echo, recherche globale, consentement IA explicite et consolide les prototypes design en architectural-grid. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -7,6 +7,8 @@ import { NoteRefreshProvider } from '@/context/NoteRefreshContext'
|
||||
import { QueryProvider } from '@/components/query-provider'
|
||||
import type { ReactNode } from 'react'
|
||||
import type { Translations } from '@/lib/i18n/load-translations'
|
||||
import { AiConsentProvider } from '@/components/legal/ai-consent-provider'
|
||||
import { SearchModalProvider } from '@/context/search-modal-context'
|
||||
|
||||
const RTL_LANGUAGES = ['ar', 'fa']
|
||||
|
||||
@@ -21,18 +23,28 @@ interface ProvidersWrapperProps {
|
||||
children: ReactNode
|
||||
initialLanguage?: string
|
||||
initialTranslations?: Translations
|
||||
initialAiProcessingConsent?: boolean
|
||||
}
|
||||
|
||||
export function ProvidersWrapper({ children, initialLanguage = 'en', initialTranslations }: ProvidersWrapperProps) {
|
||||
export function ProvidersWrapper({
|
||||
children,
|
||||
initialLanguage = 'en',
|
||||
initialTranslations,
|
||||
initialAiProcessingConsent = false,
|
||||
}: ProvidersWrapperProps) {
|
||||
return (
|
||||
<QueryProvider>
|
||||
<NoteRefreshProvider>
|
||||
<NotebooksProvider>
|
||||
<EditorUIProvider>
|
||||
<LanguageProvider initialLanguage={initialLanguage as any} initialTranslations={initialTranslations}>
|
||||
<DirWrapper>
|
||||
{children}
|
||||
</DirWrapper>
|
||||
<AiConsentProvider initialPersistentConsent={initialAiProcessingConsent}>
|
||||
<DirWrapper>
|
||||
<SearchModalProvider>
|
||||
{children}
|
||||
</SearchModalProvider>
|
||||
</DirWrapper>
|
||||
</AiConsentProvider>
|
||||
</LanguageProvider>
|
||||
</EditorUIProvider>
|
||||
</NotebooksProvider>
|
||||
|
||||
Reference in New Issue
Block a user