Commit 72d01d6
Refactor footer and improve commit UX (#6)
* Refactor footer and improve commit UX.
- Move GitStatus to Footer component with full commit workflow
- Add inline commit input (similar to search pattern)
- Fix markdown syntax displaying in note titles
- Place commit button next to settings for better organization
- Resolve "0" rendering bug when no uncommitted changes
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* Improve commit UX and fix UI flickering.
- Add helpful placeholder text to commit input (shows Enter/Esc shortcuts)
- Replace clear button with submit button in commit input
- Make commit button toggle input open/closed
- Make settings shortcut (⌘,) toggle settings page
- Move push button to right side with action buttons
- Add grayed CloudCheck icon when synced with remote
- Simplify changes text (remove confusing count)
- Fix status flickering during git operations (stale-while-revalidate pattern)
- Add React.memo to Footer to prevent unnecessary re-renders
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* Enhance command palette, add image support, and refactor settings.
Command palette improvements: add icons to commands, display first letter of note titles in serif font, conditionally show note-specific commands only when a note is selected, and remove non-working git commit command from palette (available in footer).
Add image handling: support pasting images from clipboard and inserting images from disk, with automatic copying to assets folder and proper Tauri asset URL handling.
Convert link editor styling from CSS classes to inline Tailwind for better maintainability.
Refactor settings page: consolidate appearance and git settings into a unified editor settings section with Select component.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* Add toast notifications, delete confirmations, and improve UX.
- Add Sonner toast notifications with theme integration
- Add delete confirmation dialogs using Radix AlertDialog
- Fix copy functionality to use Tauri clipboard-manager API
- Simplify git commit with automatic "Quick commit from Scratch" message
- Remove commit input UI from footer for cleaner interface
- Fix nbsp; display issue in command palette previews
- Configure toasts with neutral theme colors at bottom-right
- Add success/error toasts for copy, commit, and push operations
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* Styling General Settings
* Settings and dark mode styling
* Fix editor performance and note switching race conditions
- Fix listener leak in file watcher causing performance degradation
- Replace auto-reload with manual refresh for external changes (Cmd+R)
- Add debounced refreshNotes to prevent sidebar blocking typing
- Fix content saving to wrong note during flush on note switch
- Fix note switching not loading new content after save
- Add content comparison to distinguish rename from switch
- Remove isDirty state to eliminate extra render cycles
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Address code review feedback: security, error handling, and accessibility fixes
- Add re-entry guard to prevent duplicate commits in Footer
- Fix markdown image/link regex order in utils.ts
- Restrict assetProtocol scope in tauri.conf.json for security
- Add async error handling to delete operations in CommandPalette and NoteList
- Add validated numeric input handling with clamping in EditorSettingsSection
- Add FileReader onerror handler and URL scheme validation in Editor
- Replace direct Tauri plugin calls with invoke commands in GeneralSettingsSection
- Add new Tauri commands: open_folder_dialog, reveal_in_file_manager, open_url_safe
- Fix Tab navigation in Settings by removing tabIndex from Input component
- Scope Tab trap to notes view only in App.tsx for accessibility
- Update README and CLAUDE.md with additional keyboard shortcuts and commands
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Improve search: Tantivy for command palette, index external changes, strip markdown in preview
- Add Tantivy full-text search to command palette (local state, doesn't affect sidebar)
- Update file watcher to index external file changes in Tantivy
- Fix fallback search to search full content, not just title/preview
- Strip markdown formatting from note preview (headers, bold, italic, links, etc.)
- Fix regex panic by removing unsupported look-around assertions
- Add keyboard navigation improvements (stopPropagation) to command palette
- Disable spellcheck/autocorrect on command palette input
- Add regex dependency for markdown stripping
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Remove command counts from documentation
Makes the documentation more maintainable by not requiring
count updates when commands are added or removed.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Fix async blocking and add cross-platform file manager support
- open_folder_dialog: Wrap blocking_pick_folder in spawn_blocking
to avoid blocking the async runtime
- reveal_in_file_manager: Add platform-specific implementations
for macOS (open -R), Windows (explorer /select), and Linux (xdg-open)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Update remote instructions copy
* Add guards and improve cross-platform labels
- save_clipboard_image: Guard against empty base64 payloads and
zero-byte decoded data to prevent creating empty files
- handleAddRemote: Add isAddingRemote check to prevent concurrent
submissions when user double-clicks or presses Enter multiple times
- Change "Open in Finder" to platform-neutral "Open Folder" label
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Fix list marker regex and use async file I/O in fallback search
- Add '*' to list marker regex pattern (previously only matched '-' and '+')
- Convert fallback_search to async using tokio::fs::read_to_string
- Update search_notes to async, properly dropping mutex before await
- Adjust editor top padding
Co-authored-by: Cursor <cursoragent@cursor.com>
* Update Readme
* Update app icon image
---------
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 40a0e81 commit 72d01d6
38 files changed
Lines changed: 2891 additions & 1165 deletions
File tree
- docs
- src-tauri
- capabilities
- src
- src
- components
- command-palette
- editor
- git
- icons
- layout
- notes
- settings
- ui
- context
- lib
- types
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
153 | 155 | | |
154 | 156 | | |
155 | 157 | | |
| |||
183 | 185 | | |
184 | 186 | | |
185 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
186 | 191 | | |
187 | 192 | | |
188 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | | - | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | | - | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| |||
45 | 51 | | |
46 | 52 | | |
47 | 53 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
55 | 64 | | |
56 | 65 | | |
57 | 66 | | |
| |||
Loading
Loading
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
0 commit comments