Commit graph

7 commits

Author SHA1 Message Date
Utku Bilen Demir
0a75b52d45 Kanzi 0.6.12: readme restructure per request
- README.md: Caution -> Kanzi -> centred please give me money+ button (div align center, #111, 8px, shadow) -> headers # Install / # Use / # Coloured highlights / # Tips / # Detailed Guide / # For developers/ CLI / # Releases / # Support
- Coloured highlights section keeps unique single letters y/o/r/e/g/b/p/m with table, full names, bracket stripped example
- Detailed Guide expands Manager tabs (Summary/Integrated/Conflicts/Mappings/Settings+Highlight colours/Artifacts) with incremental note
- Reduce em dashes, British spelling throughout
- Bump to 0.6.12
2026-09-23 11:03:20 +02:00
Utku Bilen Demir
e3ec7cbd5f Kanzi 0.6.11: README user guide + highlight colours table
- README.md: add Highlight colours table (y/o/r/e/g/b/p/m with hex + full names) and Manager — User guide (Summary/Integrated/Conflicts/Mappings/Settings with Highlight colours + Artifacts), incremental recolours note
- Bump to 0.6.11 for release
2026-09-23 10:54:03 +02:00
Utku Bilen Demir
2d06b50148 Kanzi 0.6.10: unique single-letter colours, bracket stripped
- src/kindle_zotero_importer/import_plan.py: grey=[e] #8a8a8a, red=[r] #ff6666 (unique single letters y/o/r/e/g/b/p/m), all 8 colours have single + full name, bracket stripped from highlight text and note comment (so [o] hello → hello, [r] note → note)
- plugin/manager.html: update colourDefaults and desc to All codes are single letters (y,o,r,e,g,b,p,m) — e.g. [o] orange, [r] red, [e] grey, reset text grey=[e]
- README.md: colours tip with unique letters, bracket stripped
- Bump to 0.6.10
2026-09-23 10:39:35 +02:00
Utku Bilen Demir
9a08cbbfc4 Kanzi 0.6.9: incremental recolours past highlights
- src/kindle_zotero_importer/cli.py: incremental now re-queues past highlights whose bracket colour changed ([r] on note etc.) and when colourMap in Settings changes (stores colourMap in final_plan for comparison)
- plugin/bootstrap.js: writeAnnotations now updates colour for existing annotations (so Full and incremental recolours work, not just new)
- Bump to 0.6.9 for auto-update
2026-09-22 19:44:13 +02:00
Utku Bilen Demir
48359919ec Kanzi 0.6.8: fix [r] on notes colours highlight
- src/kindle_zotero_importer/import_plan.py: _annotation_stub now checks comment first for [code] (so [r] on a Kindle note colours its highlight), strips bracket from comment, handles highlight text bracket too
- Fixes grey=[r] not applying when note is '[r] this is a red note' with yellow highlight (was all yellow)
- Add missing 'color' field (was dropped in previous refactor)
- Bump to 0.6.8 for release
2026-09-22 16:15:50 +02:00
Utku Bilen Demir
98539dadbd Kanzi 0.6.7: bracket colours [r]=grey + editable Settings
- src/kindle_zotero_importer/import_plan.py: add DEFAULT_COLOUR_MAP with grey->[r] per request (y/o/r/grey/gray/red/g/b/p/m etc.), _extract_colour() strips leading [code] and maps to hex, _annotation_stub() uses it, build_import_plan() accepts colour_map
- src/kindle_zotero_importer/cli.py: _load_colour_map() from workdir/colour-map.json or plugin-config.json colourMap, passed to build_import_plan (incremental + full)
- plugin/bootstrap.js: saveSettingsFromManager() persists colourMap to plugin-config.json + colour-map.json, getRuntimeSettings() loads it, loadColourMap() helper, label Kanzi
- plugin/manager.html: Settings → Highlight colours editor (table bracket→hex with colour picker, preview, +Add, Reset, grey=[r] note, example [o] orange), saveSettings() collects colourMap, init uses F tokens
- plugin/manifest.json: name Kanzi, 0.6.6→0.6.7, description Kindle annotations to Zotero
- README.md: Kanzi title, Tools → Kanzi…, colours tip with British spelling
- updates.json: add 0.6.7 on top
2026-09-22 15:19:27 +02:00
Utku Bilen Demir
755e078d00 0.6.6: fix Loading... (manager syntax)
- plugin/manager.html: add missing '},' after completeRun (hygiene prune
  had removed comma, causing 'Loading Kindle Zotero Importer...' hang,
  node --check now passes)
- Bump to 0.6.6 for auto-update (manifest 0.6.5->0.6.6, updates.json
  adds 0.6.6 on top, README 0.6.6)
2026-09-22 09:51:12 +02:00