Commit de528bc
Claude/review auto tagging docs 011 c uu z pg hdk v he mn e qf4f fy (#75)
* feat: implement Smart Auto-Tagging infrastructure (Phase 1)
- Add TagParser for YAML frontmatter tag storage with metadata
* Supports tags format: [tag1, tag2, tag3]
* Stores tag metadata: name, confidence, source, addedAt
* Preserves existing frontmatter fields
* Compatible with existing tag system
- Add TagManager for comprehensive tag operations
* CRUD operations: tagNote, getNoteTags, removeTag, removeAllTags
* Advanced operations: renameTag, mergeTags, deleteTag
* Search functionality: findNotesByTag, getAllTags
* In-memory caching with 5s TTL for performance
* Excludes template files from operations
- Add TagGenerator with VS Code LLM API integration
* AI-powered tag generation using GitHub Copilot (gpt-4o)
* Confidence-based filtering (>0.6 threshold)
* Content hashing (SHA-256) for cache invalidation
* Configurable tag categories and exclude patterns
* Graceful error handling for offline/rate limit scenarios
- Add configuration settings for auto-tagging
* noted.tagging.enabled (default: true)
* noted.tagging.autoTagOnCreate (default: false)
* noted.tagging.maxTags (default: 5)
* noted.tagging.customCategories (default: [])
* noted.tagging.excludePatterns (default: ["draft", "temp"])
- Install js-yaml dependency for frontmatter parsing
- Update documentation (CHANGELOG.md, CLAUDE.md)
Implements design from dev-docs/DESIGN-AUTO-TAGGING.md
Part of Smart Auto-Tagging feature implementation
* feat: add Smart Auto-Tagging UI integration (Phase 3)
- Register new auto-tagging commands in extension.ts
* noted.generateTags - Generate tags for a note with AI
* noted.generateTagsCurrentNote - Generate tags for current note
* noted.batchGenerateTags - Batch process multiple notes
* noted.manageNoteTags - Manually manage tags with AI suggestions
* noted.addCustomTag - Add custom tags manually
- Add command definitions to package.json
* All commands available via Command Palette
* Icons: sparkle for AI generation, tag for custom tags
- Add context menu integration
* Right-click on notes in tree view to access commands
* Commands appear in 'ai@' group alongside other AI features
* Generate Tags and Manage Note Tags available in context menu
- Interactive UI features
* Quick pick for reviewing suggested tags with confidence scores
* Multi-select interface for choosing which tags to apply
* Progress indicators for batch operations
* Full error handling with user-friendly messages
- Update CHANGELOG with Phase 3 features
Implements Phase 3 from dev-docs/DESIGN-AUTO-TAGGING.md
All code compiles successfully
* feat: add Smart Auto-Tagging advanced features (Phase 4)
- Implement auto-tagging on note creation
* Add autoTagOnCreate.ts module for background auto-tagging
* Hooks into openDailyNote() and createNoteFromTemplate()
* Controlled by noted.tagging.autoTagOnCreate setting (default: false)
* Waits 2 seconds after creation to avoid interrupting user
* Only applies high-confidence tags (>0.75) automatically
* Shows notification with option to view/manage tags
* Skips notes shorter than 50 characters
* Non-blocking: runs in background without blocking UI
- Add comprehensive tag statistics and analytics
* New tagStatistics.ts module for tag analytics
* noted.showTagStats - Quick summary dialog with key metrics
* noted.showTagStatsDetailed - Beautiful webview with charts
* Tracks:
- Total unique tags and tag occurrences
- Tagged vs untagged notes count
- Average tags per note
- Most used tags (top 10)
- AI-generated vs manual tag breakdown
- Recently added tags (last 24 hours)
* Interactive webview with:
- Stat cards for key metrics
- Progress bars for AI vs manual tags
- Sorted tag lists with usage counts
- Recent activity timeline
- Relative time formatting
- Register new commands in extension.ts and package.json
* Icons: for stats, for detailed view
- Update CHANGELOG with Phase 4 features
Implements Phase 4 (Advanced Features) from dev-docs/DESIGN-AUTO-TAGGING.md
All code compiles successfully
* docs: add comprehensive Smart Auto-Tagging documentation
- Add dev-docs/TESTING-AUTO-TAGGING.md
* Step-by-step testing guide for developers
* 7 different test scenarios with expected results
* Configuration testing instructions
* Troubleshooting common issues
* Performance benchmarks
* What to look for when testing
- Add docs/auto-tagging.md
* Complete user guide for Smart Auto-Tagging
* Quick start tutorial with examples
* Feature documentation (auto-tag, statistics, manual)
* Configuration reference with all settings
* Tag quality tips and best practices
* Real-world examples (bug reports, meetings, research)
* Use cases and workflows
* Integration with existing features
* Troubleshooting section
* FAQ
* Privacy information
Provides complete documentation for testing and using the feature
* refactor: simplify command titles and update tag handling to support array format
* Update src/tagging/TagManager.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* fix: ensure tagged-at is updated correctly based on tag presence in frontmatter
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Jason Rueckert <jruecke@costco.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>1 parent eb7636c commit de528bc
File tree
13 files changed
+2786
-59
lines changed- dev-docs
- docs
- src
- tagging
13 files changed
+2786
-59
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
5 | 47 | | |
6 | 48 | | |
7 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
56 | 61 | | |
57 | 62 | | |
58 | 63 | | |
| |||
198 | 203 | | |
199 | 204 | | |
200 | 205 | | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
201 | 242 | | |
202 | 243 | | |
203 | 244 | | |
| |||
250 | 291 | | |
251 | 292 | | |
252 | 293 | | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
253 | 299 | | |
254 | 300 | | |
255 | 301 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
0 commit comments