From 0f0a0de6786f0f7e957b6ef07aa7076c651579b1 Mon Sep 17 00:00:00 2001 From: OhMyCode Date: Tue, 24 Feb 2026 12:42:36 +0100 Subject: [PATCH] Add notes feature, sysinfo, and auth window Introduce a local notes (SuperNote) subsystem and system info + authentication helpers. - Add new Note UI: NotePanel, NoteEditor, NoteSourceList, NoteStickyBoard and wiring in App.tsx (notes state, folders, CRUD handlers, board/cards views, pinned items). - Integrate notes into layout and TitleBar; add UI controls for sync interval, show system info toggle, and a visible sync error toast. - FeedPanel: add "mark all as unread" support and update action button UI. - Tauri: expose native commands for CPU/memory/network metrics and an open_auth_window helper; register them in invoke_handler and enable an "auth" webview capability. Bump tauri product version. - Add sysinfo dependency to src-tauri/Cargo.toml (used by new native commands). - Add a DB migration SQL to add podcast source and a minor font update in index.html. These changes enable an offline note-taking mode, surface basic system metrics to the frontend, and provide a dedicated auth webview for sign-in flows while improving sync configurability and error visibility. --- ...ion-de-pull-request-pour-la-branche-git.md | 18 + index.html | 2 +- src-tauri/Cargo.lock | 116 +++ src-tauri/Cargo.toml | 1 + src-tauri/capabilities/default.json | 4 +- src-tauri/gen/schemas/capabilities.json | 2 +- src-tauri/src/lib.rs | 121 ++- src-tauri/tauri.conf.json | 2 +- src/App.tsx | 186 +++- src/components/FeedPanel.tsx | 15 +- src/components/NoteEditor.tsx | 100 ++ src/components/NotePanel.tsx | 126 +++ src/components/NoteSourceList.tsx | 355 +++++++ src/components/NoteStickyBoard.tsx | 305 ++++++ src/components/SettingsModal.tsx | 71 +- src/components/SourcePanel.tsx | 118 ++- src/components/TitleBar.tsx | 122 ++- src/contexts/AuthContext.tsx | 52 +- src/hooks/useFeedStore.ts | 20 + src/index.css | 878 ++++++++++++++++++ src/lib/supabase.ts | 4 +- src/services/syncService.ts | 213 ++++- .../20250224000004_add_podcast_source.sql | 3 + 23 files changed, 2775 insertions(+), 59 deletions(-) create mode 100644 .specstory/history/2026-02-23_16-43Z-produire-une-description-de-pull-request-pour-la-branche-git.md create mode 100644 src/components/NoteEditor.tsx create mode 100644 src/components/NotePanel.tsx create mode 100644 src/components/NoteSourceList.tsx create mode 100644 src/components/NoteStickyBoard.tsx create mode 100644 supabase/migrations/20250224000004_add_podcast_source.sql diff --git a/.specstory/history/2026-02-23_16-43Z-produire-une-description-de-pull-request-pour-la-branche-git.md b/.specstory/history/2026-02-23_16-43Z-produire-une-description-de-pull-request-pour-la-branche-git.md new file mode 100644 index 0000000..eb700c1 --- /dev/null +++ b/.specstory/history/2026-02-23_16-43Z-produire-une-description-de-pull-request-pour-la-branche-git.md @@ -0,0 +1,18 @@ + + + + +# Produire une description de Pull Request pour la branche Git (2026-02-23 16:43Z) + +_**User**_ + +Produire une description de Pull Request pour la branche Git actuelle en analysant les derniers commit effectués sur celle-ci et en respectant les standards GitHub de nommage, syntaxe et formatage. Ne pas inclure de captures d'écrans et ne pas indiquer de clotures d'issue GitHub. + +--- + +_**Agent (model default, mode Agent)**_ + + + +--- + diff --git a/index.html b/index.html index f6860d1..8990f92 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ SuperFlux - +