diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index be5583c..bb3aca4 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -150,15 +150,15 @@ export const App: React.FC = () => { return (
{/* Top Header Bar */} -
-
+
+
{/* Logo & Headline */}
{ setActiveTab('triage'); handleTriggerAddButton(); }} - className="flex items-center gap-2.5 cursor-pointer group select-none" + className="flex items-center gap-2.5 cursor-pointer group select-none flex-shrink-0" >
@@ -173,8 +173,16 @@ export const App: React.FC = () => {
- {/* User Profile Pill matching Template Screen 2 */} -
+ {/* Quick-Capture Input Bubble directly in Header (above Tabs) */} +
+ +
+ + {/* User Profile Pill */} +
@@ -267,13 +275,7 @@ export const App: React.FC = () => { {/* Main Container */}
- {/* Instant Capture Section */} -
- -
+ {/* Tab View Content */} {/* Tab View Content */} diff --git a/frontend/src/features/capture/InstantCaptureBar.tsx b/frontend/src/features/capture/InstantCaptureBar.tsx index 39b21ba..067256a 100644 --- a/frontend/src/features/capture/InstantCaptureBar.tsx +++ b/frontend/src/features/capture/InstantCaptureBar.tsx @@ -135,14 +135,14 @@ export const InstantCaptureBar: React.FC = ({
{/* Capture Input Bar */}
-
- +
+
= ({ placeholder={ isListening ? 'Ich höre zu…' - : 'Gedanke, Idee oder Zutat sofort festhalten… (Taste C oder /)' + : 'Schnell-Notiz: Gedanke oder Zutat erfassen… (Taste C oder /)' } className="w-full bg-transparent text-white placeholder-zinc-500 text-xs sm:text-sm focus:outline-none" autoComplete="off" @@ -165,13 +165,13 @@ export const InstantCaptureBar: React.FC = ({ type="button" onClick={() => setShowOptions((prev) => !prev)} title="Priorität & Fälligkeit" - className={`h-7 px-2.5 rounded-full text-xs flex items-center gap-1.5 transition-colors ${ + className={`h-6 px-2 rounded-full text-[11px] flex items-center gap-1 transition-colors ${ showOptions || priority !== 'normal' || dueDate - ? 'bg-accent/20 text-accent border border-accent/40' + ? 'bg-accent/20 text-accent border border-accent/40 font-medium' : 'text-zinc-400 hover:text-white hover:bg-panel-elevated' }`} > - + {dueDate ? dueDate : priority !== 'normal' ? priority.toUpperCase() : 'Optionen'} @@ -182,20 +182,20 @@ export const InstantCaptureBar: React.FC = ({ type="button" onClick={toggleVoiceDictation} title="Spracheingabe" - className={`w-7 h-7 rounded-full flex items-center justify-center transition-colors ${ + className={`w-6 h-6 rounded-full flex items-center justify-center transition-colors ${ isListening ? 'bg-accent/20 text-accent' : 'text-zinc-400 hover:text-white hover:bg-panel-elevated' }`} > - {isListening ? : } + {isListening ? : } {/* Instant Send Button */}
- {/* Expandable Quick Metadata */} + {/* Expandable Quick Metadata (Floating Dropdown) */} {showOptions && ( -
+
Priorität: {(['low', 'normal', 'high', 'urgent'] as PriorityLevel[]).map((p) => {