Commit graph

8 commits

Author SHA1 Message Date
Utku Bilen Demir
aa3fc5ebc5 Kanzi 0.7.1: safer imports and resilient positioning 2026-10-15 14:01:05 +02:00
Utku Bilen Demir
d365ca28e1 Kanzi 0.7.0: safe incremental imports and collector hardening 2026-09-24 14:57:00 +02:00
Utku Bilen Demir
deaa105be2 Kanzi 0.6.20: kanzi.xpi only, dedup identical highlights, pagination 50
- scripts/build_plugin.py: OUTPUT kanzi.xpi (was kindle-zotero-importer.xpi), clean legacy
- plugin/manifest.json: homepage/update_url -> kanzi repo, name Kanzi 0.6.20
- README: Install kanzi.xpi from kanzi/releases, build -> dist/kanzi.xpi
- updates.json: 0.6.20 link -> kanzi/kanzi.xpi
- src/kindle_zotero_importer/clippings.py: dedup_clippings() collapse identical highlights (same title + norm text) to fix badiou yellow×3
- plugin/bootstrap.js: norm dedup for existing yellow over yellow, mergeComments bracket stripped
2026-09-24 01:01:49 +02:00
Utku Bilen Demir
edf777e8f7 Kanzi 0.6.18: fix double bracket comment + missing text/DOI
- plugin/bootstrap.js: mergeComments now strips leading [code] before dedup, so [r] red note + red note collapse to single red note (was double [r] + stripped)
- plugin/manager.html: 0.6.17 text: a.annotation?.text now sent, vis shows text snippet and DOI/ISBN (simondon was isbn, not DOI, correctly)
- Bump to 0.6.18
2026-09-24 00:00:52 +02:00
Utku Bilen Demir
0cc49d3bac 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
935bc049ce 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
e2578358fb hygiene: minimalist unification with chess tool (F tokens) + prune legacy
- plugin/manager.html: replace stark B mono (#ffffff/#0a0a0a, radius 0) with
  chess F Cleaned D+B tokens (#f8f8f8/#ddd, radius 8px, soft shadow,
  Inter + iA Writer Duo) — same :root, --bg/--panel/--line/--accent/--radius,
  unified tabs as underline (vs boxed), cards/tables/pills with shadow.
  Update inline JS styles (#0a0a0a -> var(--accent)/var(--line)) for
  reimport bar, infobox, status, artifacts.
- plugin/bootstrap.js: remove 394 lines legacy static-dashboard code
  (openStaticDashboard, buildManagerHtml, conflictRows, groupedRows,
  tableRows, conflictTables, statusCards, countStatuses, escapeHtml,
  fileHref, artifactLink, importClippings, configure, pickDirectory) —
  now only manager pipeline + annotation writer remain (881 vs 1275 lines).
- src/kindle_zotero_importer/cli.py: minimalist description, primary
  highlighted (others are developer utilities).
- Build verified: tests pass, XPI rebuilt 23K, JS syntax ok.
2026-09-22 01:02:32 +02:00
Utku Bilen Demir
830b27e510 0.6.4: incremental id-based import, Mappings/Integrated, black iA Duo, resizable tables
- id-based incremental (new_ids - prev_integrated_ids) with --full flag, kindle-id tag, deletions handling
- Mappings tab with delete to return to Conflicts, sorted by updated_at newest first
- Integrated tab with Added On / Integrated dates and Citekey
- black over white iA Writer Duo theme, candidate-list per-row Use buttons, resizable/sortable tables
- Settings editable + save, Artifacts Open/Reveal, Re-import bar with last file reuse
- Fix override single-field validation and ignore cleanup
2026-09-16 14:44:31 +02:00