mirror of
https://github.com/R0m1k3/noteflow.git
synced 2026-10-24 15:48:16 +02:00
Merge pull request #55 from R0m1k3/claude/integrate-google-calendar-api-011CV44Nie9HB7U35ArSUnNa
Claude/integrate google calendar api 011 cv44 nie9 hb7 u35 ar s un na
This commit is contained in:
1 file changed
+35
-24
+35
-24
@@ -1002,14 +1002,7 @@ const Index = () => {
|
|||||||
/* Open Note Editor */
|
/* Open Note Editor */
|
||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
<div className="flex items-center justify-between">
|
<div className="flex items-center justify-between">
|
||||||
<Button
|
<div></div>
|
||||||
variant="ghost"
|
|
||||||
onClick={handleCloseNote}
|
|
||||||
className="gap-2"
|
|
||||||
>
|
|
||||||
<X className="h-4 w-4" />
|
|
||||||
Retour aux notes
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
<Button
|
<Button
|
||||||
@@ -1132,10 +1125,12 @@ const Index = () => {
|
|||||||
|
|
||||||
{/* Todos */}
|
{/* Todos */}
|
||||||
{openNote.todos && openNote.todos.length > 0 && (
|
{openNote.todos && openNote.todos.length > 0 && (
|
||||||
<Card>
|
<>
|
||||||
<CardContent className="p-4">
|
<div className="text-sm font-medium text-muted-foreground mb-2">todo list:</div>
|
||||||
<div className="space-y-2">
|
<Card>
|
||||||
{openNote.todos.map((todo, index) => (
|
<CardContent className="p-4">
|
||||||
|
<div className="space-y-2">
|
||||||
|
{openNote.todos.map((todo, index) => (
|
||||||
<div key={index} className="flex items-center gap-3 p-2 border rounded">
|
<div key={index} className="flex items-center gap-3 p-2 border rounded">
|
||||||
<Checkbox
|
<Checkbox
|
||||||
checked={todo.completed}
|
checked={todo.completed}
|
||||||
@@ -1161,10 +1156,11 @@ const Index = () => {
|
|||||||
<Trash2 className="h-3 w-3" />
|
<Trash2 className="h-3 w-3" />
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{/* Images in thumbnails */}
|
{/* Images in thumbnails */}
|
||||||
@@ -1206,10 +1202,14 @@ const Index = () => {
|
|||||||
|
|
||||||
{/* Files */}
|
{/* Files */}
|
||||||
{openNote.files && openNote.files.length > 0 && (
|
{openNote.files && openNote.files.length > 0 && (
|
||||||
<Card>
|
<>
|
||||||
<CardContent className="p-4">
|
<div className="text-sm font-medium text-muted-foreground mb-2">
|
||||||
<div className="space-y-2">
|
Fichiers divers : Fichier(s)
|
||||||
{openNote.files.map((file: any, index: number) => (
|
</div>
|
||||||
|
<Card>
|
||||||
|
<CardContent className="p-4">
|
||||||
|
<div className="space-y-2">
|
||||||
|
{openNote.files.map((file: any, index: number) => (
|
||||||
<div key={index} className="flex items-center gap-3 p-2 border rounded group">
|
<div key={index} className="flex items-center gap-3 p-2 border rounded group">
|
||||||
<Paperclip className="h-4 w-4 text-muted-foreground" />
|
<Paperclip className="h-4 w-4 text-muted-foreground" />
|
||||||
<div className="flex-1 min-w-0">
|
<div className="flex-1 min-w-0">
|
||||||
@@ -1258,10 +1258,11 @@ const Index = () => {
|
|||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{/* Rich text editor */}
|
{/* Rich text editor */}
|
||||||
@@ -1297,6 +1298,16 @@ const Index = () => {
|
|||||||
</div>
|
</div>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
|
{/* Save button */}
|
||||||
|
<div className="flex justify-end mt-6">
|
||||||
|
<Button
|
||||||
|
onClick={handleCloseNote}
|
||||||
|
className="gap-2"
|
||||||
|
>
|
||||||
|
Enregistrer
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user