From f903e28728abeff8a643379d6328129787106e34 Mon Sep 17 00:00:00 2001 From: Mathieu Aumont Date: Wed, 12 Nov 2025 17:16:13 +0100 Subject: [PATCH] Add logo and rename --- API.md | 4 +- ARCHITECTURE.md | 10 +- CHANGELOG.md | 4 +- CLAUDE.md | 18 +- IMPLEMENTATION_THEMES.md | 2 +- README.md | 8 +- cmd/server/main.go | 6 +- docs/ARCHITECTURE_OVERVIEW.md | 6 +- docs/DAILY_NOTES.md | 4 +- docs/FREEBSD_BUILD.md | 2 +- docs/KEYBOARD_SHORTCUTS.md | 4 +- docs/README.md | 2 +- docs/THEMES.md | 2 +- docs/THEMES_CATPPUCCIN_EVERFOREST.md | 2 +- docs/USAGE_GUIDE.md | 8 +- frontend/src/daily-notes.js | 3 +- frontend/src/file-tree.js | 74 +++++-- frontend/src/sidebar-sections.js | 193 ++++++++++++++++++ frontend/vite.config.js | 4 +- generate_notes.sh | 6 +- go.mod | 2 +- internal/api/daily_notes.go | 12 ++ internal/api/favorites.go | 59 ++++-- internal/api/handler.go | 62 ++++-- internal/api/handler_test.go | 2 +- internal/api/rest_handler.go | 2 +- internal/watcher/watcher.go | 2 +- notes/.favorites.json | 46 +---- notes/daily/2025/11/12.md | 28 +++ notes/documentation/bienvenue.md | 4 +- notes/meetings/2025/sprint-planning.md | 13 +- notes/personal/learning-goals.md | 4 +- notes/projets/backend/api-design.md | 5 +- .../frontend/codemirror-integration.md | 12 +- notes/projets/frontend/vite-build.md | 4 +- notes/test-delete-1.md | 2 +- notes/welcome.md | 2 +- personotes.jpg | Bin 0 -> 71325 bytes static/images/logo.svg | 76 +++++++ static/theme.css | 34 ++- static/themes.css | 2 +- templates/about.html | 2 +- templates/daily-calendar.html | 2 + templates/daily-recent.html | 1 + templates/editor.html | 4 +- templates/favorites.html | 3 +- templates/file-tree.html | 29 +-- templates/index.html | 41 ++-- templates/search-results.html | 3 +- 49 files changed, 628 insertions(+), 192 deletions(-) create mode 100644 frontend/src/sidebar-sections.js create mode 100644 notes/daily/2025/11/12.md create mode 100644 personotes.jpg create mode 100644 static/images/logo.svg diff --git a/API.md b/API.md index 79e5330..526ae0b 100644 --- a/API.md +++ b/API.md @@ -1,4 +1,4 @@ -# Project Notes REST API Documentation +# PersoNotes REST API Documentation Version: **v1** Base URL: `http://localhost:8080/api/v1` @@ -20,7 +20,7 @@ Base URL: `http://localhost:8080/api/v1` ## Vue d'ensemble -L'API REST de Project Notes permet de gérer vos notes Markdown via HTTP. Elle supporte : +L'API REST de PersoNotes permet de gérer vos notes Markdown via HTTP. Elle supporte : - **Listage** : Récupérer la liste de toutes les notes avec métadonnées - **Lecture** : Télécharger une note en JSON ou Markdown brut diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index 0a7a6c8..895134e 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -1,6 +1,6 @@ # Architecture Overview -Project Notes is a web-based Markdown note-taking application built with a hybrid architecture combining Go backend, HTMX for interactions, and modern JavaScript for UI enhancements. +PersoNotes is a web-based Markdown note-taking application built with a hybrid architecture combining Go backend, HTMX for interactions, and modern JavaScript for UI enhancements. ## Design Philosophy @@ -68,7 +68,7 @@ User → Browser │ ├─ Inject file tree │ └─ Return HTML │ - ├─ Load static/dist/project-notes-frontend.es.js (Vite bundle) + ├─ Load static/dist/personotes-frontend.es.js (Vite bundle) │ │ │ ├─ Initialize FileTree (file-tree.js) │ ├─ Initialize Search (search.js) @@ -237,8 +237,8 @@ frontend/src/ ↓ (Vite build) static/dist/ -├── project-notes-frontend.es.js (1.0 MB - ES modules) -└── project-notes-frontend.umd.js (679 KB - UMD) +├── personotes-frontend.es.js (1.0 MB - ES modules) +└── personotes-frontend.umd.js (679 KB - UMD) ↓ (Loaded by browser) @@ -472,7 +472,7 @@ HTTP Request ```nginx location / { - auth_basic "Project Notes"; + auth_basic "PersoNotes"; auth_basic_user_file /etc/nginx/.htpasswd; proxy_pass http://localhost:8080; } diff --git a/CHANGELOG.md b/CHANGELOG.md index 369dfaa..864d108 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -All notable changes to Project Notes will be documented in this file. +All notable changes to PersoNotes will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). @@ -46,7 +46,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Graceful fallback if package not installed - **About Page** ℹ️ - - New "About Project Notes" page accessible from sidebar + - New "About PersoNotes" page accessible from sidebar - Features overview with keyboard shortcuts reference - Visual guide to all shortcuts with `` styling - Accessible via ℹ️ button next to settings diff --git a/CLAUDE.md b/CLAUDE.md index 74ecf2c..c76cfeb 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -316,8 +316,8 @@ npm run build # Compile frontend modules to static/dist/ ``` Output files (loaded by templates): -- `static/dist/project-notes-frontend.es.js` (ES module) -- `static/dist/project-notes-frontend.umd.js` (UMD format) +- `static/dist/personotes-frontend.es.js` (ES module) +- `static/dist/personotes-frontend.umd.js` (UMD format) Frontend dependencies (from `frontend/package.json`): - `@codemirror/basic-setup` (^0.20.0) - Base editor functionality @@ -388,8 +388,8 @@ The frontend uses Vite (`frontend/vite.config.js`) for bundling JavaScript modul 1. Vite reads all source files from `frontend/src/` 2. Resolves npm dependencies (@codemirror packages) 3. Bundles everything into two formats: - - ES module (`project-notes-frontend.es.js`) - 1.0 MB - - UMD (`project-notes-frontend.umd.js`) - 679 KB + - ES module (`personotes-frontend.es.js`) - 1.0 MB + - UMD (`personotes-frontend.umd.js`) - 679 KB 4. Outputs to `static/dist/` where Go server can serve them 5. Templates load the ES module version via ` + - +
-

📝 Project Notes

+
+ Logo +

PersoNotes

+
🏠 Accueil @@ -52,6 +57,7 @@ hx-get="/api/daily/today" hx-target="#editor-container" hx-swap="innerHTML" + hx-push-url="true" style="white-space: nowrap;" title="Note du jour (Ctrl/Cmd+D)"> 📅 Note du jour @@ -478,13 +484,18 @@
- -
- -

Chargement...

+ +
@@ -494,7 +505,7 @@

Chargement...

@@ -503,7 +514,7 @@

Récentes

@@ -521,7 +532,7 @@
-
+

Chargement...

@@ -546,7 +557,7 @@