Commit Graph

6 Commits

Author SHA1 Message Date
3774c3347c feat: add auto-save debounce, note refetch on switch, todos feature with markdown
Features implemented:
- Auto-save with counter-based debounce in note editor
- Note refetches when switching between notes (note_id prop changes)
- Todos feature with full CRUD operations
- Markdown rendering in todo titles
- API endpoints for todos (create, list, toggle, delete)
- Todo panel in sidebar with sorting (incomplete first, newest first)
- Todo items use TodoItem component for clean separation

Technical changes:
- Added Todo struct and API endpoints in api package
- Added markdown dependency to web package
- Implemented TodoPanel component with TodoItem sub-component
- Added mut keywords to signal bindings for Dioxus 0.7
- Fixed closure capture issues with cloning todo objects
2026-02-04 13:29:33 +01:00
25e498aff0 Fix braindump display and switching issues
- Add echo API endpoint for Echo component
- Export Echo component from ui crate to fix compilation errors
- Fix notes not showing after save by adding refresh_notes callback that updates the notes resource
- Fix note content not updating when switching notes by using reactive signal for note_id which triggers note resource reload on prop changes

💘 Generated with Crush
2026-02-04 12:03:21 +01:00
962fd1a154 Fix uuid crate for WASM support by adding js feature
Added 'js' feature to uuid dependency to enable proper random number
generation for wasm32-unknown-unknown target.

💘 Generated with Crush

Assisted-by: GLM-4.7 via Crush <crush@charm.land>
2026-02-04 02:35:20 +01:00
6ee6abd26e Fix uuid crate for WASM support
- Remove 'js' feature from workspace-level uuid dependency
- Add uuid dependency with 'js' feature to web package
- This enables proper random number generation for WASM target

💘 Generated with Crush

Assisted-by: GLM-4.7 via Crush <crush@charm.land>
2026-02-04 02:29:22 +01:00
ebeb39a10d Fix uuid crate for WASM support by adding js feature
Added the 'js' feature to the uuid dependency in workspace
dependencies to enable randomness on wasm32-unknown-unknown target.

💘 Generated with Crush

Assisted-by: GLM-4.7 via Crush <crush@charm.land>
2026-02-04 02:19:13 +01:00
bbed451f3e Initial braindump app implementation
Create a complete braindump note-taking application with Dioxus 0.7 featuring:
- Note capture with title, content, and tags
- Full CRUD operations (create, read, update, delete)
- Search functionality for notes
- Tag-based filtering
- Note pinning for quick access
- Modern dark theme with purple accents
- Responsive sidebar layout
- Clean card-based note list
- Full-text editor with auto-save hint

Implemented with:
- Dioxus 0.7.1 fullstack for reactive UI and server functions
- Workspace pattern with shared API crate
- In-memory storage using LazyLock
- Server functions for note management

All core features working and ready for testing.
2026-02-04 02:08:08 +01:00