Commit graph

65 commits

Author SHA1 Message Date
gabriele-cusato
82b864276e fixati bug e warning TODO, testato e funziona tutto 2026-05-24 00:30:13 +02:00
gabriele-cusato
382d4d528a fixato il bug del tema sul pad 5 e anche reso piu solido il cambio tema in generale per altri dispositivi 2026-05-18 22:01:18 +02:00
gabriele-cusato
86e207c5ce aggiornate versioni 2026-05-17 22:24:09 +02:00
gabriele-cusato
9675217e15 corretti i bug di windows e della toolbar 2026-05-17 22:06:43 +02:00
gabriele-cusato
d25e72e72d fix alla end table che non veniva vista 2026-05-17 18:37:25 +02:00
gabriele-cusato
59a82598d2 tolto il preview al modello gemini, è uscito dal preview 2026-05-17 18:13:56 +02:00
gabriele-cusato
67a8280267 fix: risolti warning e errori segnalati da Obsidian community review
- bumped minAppVersion a 1.7.2 (no-unsupported-api)
  - sostituito document con activeDocument (prefer-active-doc)
  - aggiunto prefisso window. a setTimeout/clearTimeout/requestAnimationFrame/cancelAnimationFrame
  - aggiornato eslint-plugin-obsidianmd a 0.3.0, aggiunto tseslint.configs.recommendedTypeChecked
  - rimossi globals obsoleti da eslint.config.mjs
  - fix prefer-const in editor-view.ts e md-parser.ts
  - bumped versione a 1.0.2
2026-05-17 18:03:44 +02:00
gabriele-cusato
33a5f4bed9 modificata la versione release a 1.0.2 2026-05-17 17:12:00 +02:00
gabriele-cusato
625830009f aggiornato git ignore 2026-05-17 17:00:59 +02:00
gabriele-cusato
d3bfd9a3f2 cambiata ultima cosa required richiesta da obsidian 2026-03-29 16:39:37 +02:00
gabriele-cusato
b42451f65a agginti ulteriori fix per controllo obsidian 2026-03-29 00:00:06 +01:00
gabriele-cusato
bcc689411b cambiato anche il manifest nella root della repo per validazione obsidian 2026-03-28 20:11:55 +01:00
gabriele-cusato
c1dc48ab28 fix: resolve ESLint errors, fix parser empty values and TABLE rows, bump to 1.0.1
- Fix collapse/expand animation: use img.naturalWidth (actual SVG viewBox width)
    instead of settings.canvasWidth, which could differ when the canvas auto-widened
    on wide screens; add WAAPI animation replacing CSS height transition
  - Add resolveJsonModule to tsconfig to fix i18n.ts JSON import typing errors
  - Cast JSON.parse results to explicit types in embed.ts and svg-utils.ts
  - Replace Vault.delete() with FileManager.trashFile() in embed.ts and editor-view.ts
  - Remove unused MarkdownView import from main.ts
  - Remove stale eslint-disable comments on WAAPI style assignments
  - Fix md-parser: preserve empty comma-separated values in LIST, NUMLIST, CHECK
    and TABLE headers (removed .filter(item => item))
  - Fix md-parser TABLE: remove body-row continuation (rows ending with comma were
    merged with the next line, causing multiple rows to collapse into one)
  - Bump version to 1.0.1 in manifest.json, package.json, versions.json
2026-03-28 20:04:42 +01:00
gabriele-cusato
61329f2f43 fix: collapse/expand animation uses img.naturalWidth for correct height calculation
The collapse animation in the inline SVG embed was broken on Windows due to
  three compounding issues: CSS height transitions don't animate from auto→px in
  Electron; the guard direction was inverted for SVGs shorter than canvasHeight;
  and the canvas auto-widens when the modal is opened on wide screens
  (expandWorld=true), making the real SVG naturalWidth differ from
  settings.canvasWidth, causing the computed target height to be larger than the
  current rendered height and inverting the animation direction.

  Fix: use img.naturalWidth (actual SVG viewBox width) instead of
  settings.canvasWidth for the collapsed height calculation. Also moves
  touch-action from JS style.setProperty to CSS (.hwm_canvas) to resolve the
  Obsidian Required ESLint violation.
2026-03-28 19:03:17 +01:00
gabriele-cusato
791e5870c9 fix: apply all required Obsidian community plugin bot fixes
Required fixes:
  - recognizer.ts: fetch() → requestUrl() (Obsidian API)
  - settings.ts: createEl('h2') → Setting.setHeading()
  - parser.test.ts: console.log → console.debug (4 occurrences)
  - md-parser.ts: remove unnecessary escape in char class [^\s\-] → [^\s-]
  - main.ts: async callbacks → void (async()=>{})() pattern; menu as any → as unknown as
  - embed.ts / editor-view.ts: innerHTML → setIcon(); key: string → I18nKey; async handlers wrapped in void
  - editor-view.ts: setState(state: any) → (state: unknown, result: ViewStateResult); querySelector generic
  - i18n.ts: window as any → typed cast; export type I18nKey
  - styles.css: CSS utility classes and CSS vars replace inline styles

  Bug fixes found during testing:
  - setCssProps is a method (el.setCssProps), not a standalone export — caused white modal
  - collapse animation broken after expand: replaced rAF with forced reflow (void wrapper.offsetHeight)
  - md-parser: // LIST with space not recognized — added \s* after // in both regexes
2026-03-28 00:54:31 +01:00
gabriele-cusato
30cda8df3a spostata la licenza nella root della repo 2026-03-27 12:03:07 +01:00
gabriele-cusato
f4d585d03b spostato manifest nella root di progetto 2026-03-27 12:01:34 +01:00
gabriele-cusato
be1f5f6d24 fix al parser, non riconosceva a volte le righe vuote come fine 2026-03-27 11:35:58 +01:00
gabriele-cusato
e4cb367b2e aggiunto possibile errore nel readme, sul traffico elevato usando l'api gratis 2026-03-27 10:44:20 +01:00
gabriele-cusato
e02f936401 aggiunto layer di caricamento quando faccio partire la conversione 2026-03-25 20:52:33 +01:00
gabriele-cusato
e4f6059fcc parser reso piu intelligente 2026-03-25 19:38:39 +01:00
gabriele-cusato
500a5d25e7 merge di ultime modifiche al readme 2026-03-25 13:12:57 +01:00
gabriele-cusato
ab0cfd09b7 rimossi vecchi riferimenti dal readme 2026-03-25 13:12:03 +01:00
gabriele-cusato
46edfb0dcd rimosso .claude e messo nel gitignore + aggiornato readme rimuovendo vecchi riferimenti 2026-03-25 13:11:50 +01:00
gabriele-cusato
d8e5aa0b30 merge del branch feature overlay 2026-03-25 13:03:55 +01:00
gabriele-cusato
8dd8244d4f piccola modifica alle settings per la chiave gemini 2026-03-25 13:02:58 +01:00
gabriele-cusato
47efae3c04 modifiche qos al progetto 2026-03-25 12:56:22 +01:00
gabriele-cusato
cffaef0d69 rimossi i file di sviluppo dalla repo 2026-03-25 12:56:08 +01:00
gabriele-cusato
208703b273 Fixato bug //TABLE 2026-03-25 11:26:56 +01:00
gabriele-cusato
5e76163f90 fixato anche il problema delle barre vuote nell'overlay di disegno e la versione a 1.0.0 2026-03-24 22:27:44 +01:00
gabriele-cusato
7da1c09850 abbiamo quasi finito, manca solo il fatto di non pixelare il disegno seppur mantenendo schermo intero nell'overlay per avere piu spazio per disegnare. E ovviamente quello nelle impostazioni per mettere keyword custom 2026-03-24 20:50:36 +01:00
gabriele-cusato
0008e40bd2 aggiunte lingue, fixati bug, mancherebbe solo il bug su mobile del ridimensionamento e l'aggiunta nelle impostazioni per l'aggiunta delle keyword 2026-03-24 18:28:50 +01:00
gabriele-cusato
4da0de3181 aggiornati claude e notes 2026-03-24 00:51:02 +01:00
gabriele-cusato
aa4e6d565b corretto parsing, ora funziona anche per le tabelle con il carattere // al posto di <> 2026-03-24 00:49:51 +01:00
gabriele-cusato
e94264e3cf migliorato ocr, aggiungendo anche il supporto alle <keyword> 2026-03-23 22:21:57 +01:00
gabriele-cusato
58f13eeeb2 modificato embed come quello del branch 2026-03-23 20:44:30 +01:00
gabriele-cusato
0479205d6e commit dopo il pull necessario 2026-03-23 18:59:31 +01:00
gabriele-cusato
5cc2f0bfa2 merge del branch overlay 2026-03-23 18:58:06 +01:00
gabriele-cusato
b1267debd5 aggiunte anche voci al menu con i 3 puntini 2026-03-23 18:41:59 +01:00
gabriele-cusato
dd8db22ba2 aggiustato piccolo bug grafico su android 2026-03-23 15:45:35 +01:00
gabriele-cusato
3802ec7c57 corretto il bug che non si vedeva l'svg su android 2026-03-23 15:26:02 +01:00
gabriele-cusato
3993877e1b siamo arrivati ad un buon livello di grafica e funzionalità 2026-03-23 15:15:12 +01:00
gabriele-cusato
315e5f597e accettato il limite dell'handwriting, corretti vari bug 2026-03-23 02:03:11 +01:00
gabriele-cusato
32f1e76ce5 test di passare all'svg 2026-03-22 22:03:45 +01:00
gabriele-cusato
e63e713bf8 dai 2026-03-22 19:56:37 +01:00
gabriele-cusato
3a906bc4c7 dai 2026-03-22 19:54:38 +01:00
gabriele-cusato
2503cf3733 modifiche al claude.md per far funzionare bene i deploy 2026-03-22 19:21:17 +01:00
gabriele-cusato
fae69a5351 modifica al claude.md in modo che i comandi per il deploy funzionino 2026-03-22 19:19:43 +01:00
gabriele-cusato
2043a2e607 modifica alle settings 2026-03-22 18:59:50 +01:00
gabriele-cusato
7712638ffe modificate settings e gitignore 2026-03-22 18:59:42 +01:00