@@ -226,12 +238,16 @@ export default function IntegrationsPage() {
{!rwConnected && (
-
- Trouvez votre token sur{' '}
-
- readwise.io/access_token
-
-
+
-
- Gérez vos clés API et serveurs MCP connectés.
-
+
)
diff --git a/memento-note/components/settings/settings-help-box.tsx b/memento-note/components/settings/settings-help-box.tsx
new file mode 100644
index 0000000..5a0deed
--- /dev/null
+++ b/memento-note/components/settings/settings-help-box.tsx
@@ -0,0 +1,69 @@
+'use client'
+
+import { useState } from 'react'
+import { HelpCircle, ChevronDown, ChevronUp, ExternalLink } from 'lucide-react'
+import { cn } from '@/lib/utils'
+
+interface HelpStep {
+ icon?: string
+ text: string
+ link?: { label: string; href: string }
+}
+
+interface SettingsHelpBoxProps {
+ title: string
+ steps: HelpStep[]
+ defaultOpen?: boolean
+ className?: string
+}
+
+export function SettingsHelpBox({ title, steps, defaultOpen = false, className }: SettingsHelpBoxProps) {
+ const [open, setOpen] = useState(defaultOpen)
+
+ return (
+
+
+
+ {open && (
+
+ {steps.map((step, i) => (
+ -
+
+ {step.icon ?? i + 1}
+
+
+ {step.text}
+ {step.link && (
+ <>
+ {' '}
+
+ {step.link.label}
+
+
+ >
+ )}
+
+
+ ))}
+
+ )}
+
+ )
+}