diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 7647440..a661889 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -152,20 +152,20 @@ export const App: React.FC = () => {
{authError}
@@ -109,17 +109,17 @@ export const EcosystemView: React.FC = ({ onIngested }) => {
+
Neuer API-Schlüssel erstellt (bitte jetzt kopieren):
@@ -138,7 +138,7 @@ export const EcosystemView: React.FC = ({ onIngested }) => {
Noch keine dedizierten API-Schlüssel hinterlegt.
@@ -195,7 +195,7 @@ export const EcosystemView: React.FC = ({ onIngested }) => {
{simStatus}
+ {`curl -X POST "${baseUrl}/api/v1/webhooks/ingest?token=${exampleToken}" \\ -H "Content-Type: application/json" \\ -d '{ @@ -255,10 +255,10 @@ export const EcosystemView: React.FC = ({ onIngested }) => {
{`curl -X POST "${baseUrl}/api/v1/webhooks/ingest?token=${exampleToken}" \\ -H "Content-Type: application/json" \\ -d '{ @@ -255,10 +255,10 @@ export const EcosystemView: React.FC = ({ onIngested }) => {
{item.content}
- {task.isCompleted ? ( - - ) : task.priority === 'urgent' ? ( - - ) : ( - + {task.content} +
- {task.content} -
Alle Gedanken sind gesichtet. Dein Kopf ist wieder frei.
{nextCard.content}
In welche Liste verschieben?
@@ -260,13 +260,13 @@ export const WorkspaceView: React.FC = ({ {/* Right Block Editor */} {selectedDoc ? ( - + {/* Document Top Action Bar */} - + - + - {saveState === 'saving' ? 'Speichert…' : 'Automatisch gespeichert'} + {saveState === 'saving' ? 'Speichert…' : 'Gespeichert'} • {selectedDoc.blocks.length} Blöcke @@ -304,18 +304,18 @@ export const WorkspaceView: React.FC = ({ {/* Document Icon & Title */} - + setShowIconPicker((prev) => !prev)} - className="w-12 h-12 rounded-2xl bg-[#16171a] hover:bg-[#2b2d33] border border-white/[0.08] text-2xl flex items-center justify-center flex-shrink-0 transition-colors" + className="w-12 h-12 rounded-full bg-[#16171a] hover:bg-[#2b2d33] border border-white/[0.08] text-2xl flex items-center justify-center flex-shrink-0 transition-colors" title="Icon ändern" > {selectedDoc.icon} {showIconPicker && ( - + {ICONS.map((ic) => ( = ({ type="checkbox" checked={!!block.checked} onChange={(e) => updateBlock(block.id, { checked: e.target.checked })} - className="w-4 h-4 rounded accent-[#22c55e] cursor-pointer" + className="w-4 h-4 accent-[#1d8cf8] cursor-pointer" /> = ({ {block.type === 'bullet' && ( - + = ({ )} {block.type === 'callout' && ( - - + + = ({ )} {block.type === 'code' && ( - + = ({ ))} - {/* Add Block Pill Toolbar */} - + {/* Add Block Toolbar */} + + Block einfügen: addBlock('paragraph')} - className="h-8 px-3 rounded-full bg-[#16171a] hover:bg-[#2b2d33] border border-white/[0.08] text-xs text-zinc-300 hover:text-white flex items-center gap-1.5 transition-colors" + className="h-7 px-3 rounded-full bg-[#16171a] hover:bg-[#2b2d33] border border-white/[0.08] text-xs text-zinc-300 hover:text-white flex items-center gap-1.5 transition-colors" > Text @@ -482,7 +482,7 @@ export const WorkspaceView: React.FC = ({ addBlock('h2')} - className="h-8 px-3 rounded-full bg-[#16171a] hover:bg-[#2b2d33] border border-white/[0.08] text-xs text-zinc-300 hover:text-white flex items-center gap-1.5 transition-colors" + className="h-7 px-3 rounded-full bg-[#16171a] hover:bg-[#2b2d33] border border-white/[0.08] text-xs text-zinc-300 hover:text-white flex items-center gap-1.5 transition-colors" > Überschrift @@ -490,15 +490,15 @@ export const WorkspaceView: React.FC = ({ addBlock('todo')} - className="h-8 px-3 rounded-full bg-[#16171a] hover:bg-[#2b2d33] border border-white/[0.08] text-xs text-zinc-300 hover:text-white flex items-center gap-1.5 transition-colors" + className="h-7 px-3 rounded-full bg-[#16171a] hover:bg-[#2b2d33] border border-white/[0.08] text-xs text-zinc-300 hover:text-white flex items-center gap-1.5 transition-colors" > - Checkliste + Checkliste addBlock('bullet')} - className="h-8 px-3 rounded-full bg-[#16171a] hover:bg-[#2b2d33] border border-white/[0.08] text-xs text-zinc-300 hover:text-white flex items-center gap-1.5 transition-colors" + className="h-7 px-3 rounded-full bg-[#16171a] hover:bg-[#2b2d33] border border-white/[0.08] text-xs text-zinc-300 hover:text-white flex items-center gap-1.5 transition-colors" > Aufzählung @@ -506,30 +506,30 @@ export const WorkspaceView: React.FC = ({ addBlock('callout')} - className="h-8 px-3 rounded-full bg-[#16171a] hover:bg-[#2b2d33] border border-white/[0.08] text-xs text-zinc-300 hover:text-white flex items-center gap-1.5 transition-colors" + className="h-7 px-3 rounded-full bg-[#16171a] hover:bg-[#2b2d33] border border-white/[0.08] text-xs text-zinc-300 hover:text-white flex items-center gap-1.5 transition-colors" > - Callout + Callout addBlock('code')} - className="h-8 px-3 rounded-full bg-[#16171a] hover:bg-[#2b2d33] border border-white/[0.08] text-xs text-zinc-300 hover:text-white flex items-center gap-1.5 transition-colors" + className="h-7 px-3 rounded-full bg-[#16171a] hover:bg-[#2b2d33] border border-white/[0.08] text-xs text-zinc-300 hover:text-white flex items-center gap-1.5 transition-colors" > - Codeblock + Codeblock addBlock('h1')} - className="h-8 px-3 rounded-full bg-[#16171a] hover:bg-[#2b2d33] border border-white/[0.08] text-xs text-zinc-300 hover:text-white flex items-center gap-1.5 transition-colors" + className="h-7 px-3 rounded-full bg-[#16171a] hover:bg-[#2b2d33] border border-white/[0.08] text-xs text-zinc-300 hover:text-white flex items-center gap-1.5 transition-colors" > H1 ) : ( - + Wähle links ein Dokument aus oder erstelle ein neues Projekt. )}