feat: add quick capture floating widget for fast note creation

- Create QuickCaptureWidget with floating action button
- Support quick note capture with optional title
- Auto-generate timestamped title if none provided
- Add keyboard shortcuts: Ctrl+Enter to save, Escape to cancel
- Integrate into desktop interface with reload on capture
- Display visual feedback with kbd tags for shortcuts
- Position as floating FAB in bottom-right corner
- Refresh notes list automatically after capture
This commit is contained in:
Claude committed 2025-11-27 14:06:15 +00:00
1 parent ea926cb1a1
commit 1e9795e5d9
2 files changed
+149

No files matched your search

+4
View File
@@ -40,6 +40,7 @@ import { AdvancedSearch, type SearchFilters, type TagOption } from "@/components
import { PomodoroTimer } from "@/components/PomodoroTimer";
import { KanbanBoard } from "@/components/KanbanBoard";
import { getSmartTagSuggestions } from "@/utils/smartTags";
import { QuickCaptureWidget } from "@/components/QuickCaptureWidget";
// ===== FONCTIONS UTILITAIRES TIMEZONE EUROPE/PARIS =====
@@ -3066,6 +3067,9 @@ const Index = () => {
</div>
</div>
)}
{/* Quick Capture Widget */}
<QuickCaptureWidget onNoteCaptured={loadNotes} />
</div>
);
};