Commit graph

24 commits

Author SHA1 Message Date
Utku Bilen Demir
9622cec49f 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
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
f17a2b8bf6 track updates.json for releases (remove from .gitignore) 2026-09-22 09:51:31 +02:00
Utku Bilen Demir
22ed6fc7dc 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
Utku Bilen Demir
34e779758c 0.6.5: hygiene minimal + chess F tokens, auto-update
- Bump to 0.6.5 for auto-update (manifest 0.6.4 -> 0.6.5, updates.json)
- Hygiene: manager F tokens, bootstrap 394 lines pruned
2026-09-22 09:40:35 +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
146fd863c7 privacy: anonymized sharing on by default with opt-out, mention in README 2026-09-19 18:06:06 +02:00
Utku Bilen Demir
1448a67c97 collect anonymized notes too (comment + hash) with opt-in 2026-09-19 18:03:43 +02:00
Utku Bilen Demir
062d8b842c private collect -> annotation.utkubilen.de (not public) 2026-09-19 18:02:57 +02:00
Utku Bilen Demir
20ef34b930 ignore updates.json and local configs 2026-09-18 18:55:07 +02:00
Utku Bilen Demir
07b66823d9 feat: add anonymized sharing prompt and fuzzy tests 2026-09-18 18:54:25 +02:00
Utku Bilen Demir
6db1a3e8c9 Revise README content and add sponsorship badge
Updated README to clarify project purpose and add badge.
2026-09-16 22:47:29 +02:00
Utku Bilen Demir
70e03c4709 Update disclaimer to caution in README 2026-09-16 22:47:13 +02:00
Utku Bilen Demir
1ebb37604e Update disclaimer section in README.md 2026-09-16 22:46:55 +02:00
Utku Bilen Demir
245b558b58 Update README.md 2026-09-16 22:46:39 +02:00
Utku Bilen Demir
c8f60f0b32 Fix badge link formatting in README.md 2026-09-16 22:45:53 +02:00
Utku Bilen Demir
5dbd1b93ba docs: add vibecoded disclaimer box, replace em dashes with ; 2026-09-16 22:44:18 +02:00
Utku Bilen Demir
83f6d751d8 donation: single button 'please give me money+' (README badge + manager infobox) 2026-09-16 22:39:54 +02:00
Utku Bilen Demir
c6fa5a8b0c donation: button says 'please give me money+' 2026-09-16 22:34:57 +02:00
Utku Bilen Demir
d0cb5e0782 donations: humble 'please give me money' link (FUNDING.yml + README + manager infobox) 2026-09-16 15:33:47 +02:00
Utku Bilen Demir
f18e04eab0 docs: update README to 0.6.4 actual plugin (manager, incremental, Mappings)
- describe Tools -> Manager, 6 tabs, incremental, Full re-import, candidate-list
- update Install and Use, CLI, Releases/beta, Donations
2026-09-16 14:51:04 +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
Utku Bilen Demir
0838e6049a Improve override review and PDF positioning 2026-06-03 10:51:15 +02:00
Utku Bilen Demir
d8b273ad6e Initial Kindle Zotero importer baseline 2026-05-27 10:49:04 +02:00