Skip to content

Canifol v1.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 14 Nov 20:37

Canifol v1.6.0 — Sketch Pad, Offline Database, TME & More

Major update: a full-featured sketch pad for drawing schematics, offline download of the entire knowledge base, a fourth datasheet source (TME), expanded pinouts, and full localization.

✏️ Sketch Pad (Набросок / 草图板)

  • Draw schematics with pencil, wires, points, and text.
  • Shape recognition based on geometric features (resistor, capacitor, inductor, diode, ground, VCC, transistor, microchip). Lines are no longer falsely recognized as shapes.
  • Stamps: pick a component from a palette and place it with one click. Faster than drawing by hand.
  • Background image: load a photo of a PCB and annotate it. Drag to move, Ctrl+wheel to scale, remove with one click. Saved to localStorage and restored on next launch.
  • Zoom & pan: mouse wheel zooms into the cursor, Shift+drag or middle mouse pans. On mobile — pinch-zoom and two-finger pan.
  • Undo / redo, export to PNG.
  • Mobile fixes: replaced native prompt/confirm with in-app modals (no more "Confirm action on http://tauri.localhost" popups).
  • Hotkeys work on any keyboard layout (via e.code): V, P, W, O, T, E, R, Del, Ctrl+Z/Ctrl+Y.

💾 Offline Knowledge Base

  • Download the entire Knowledge Base (6,000+ files, 10+ GB) to your local disk.
  • Choose any folder on desktop. On Android — saved to the app's internal storage.
  • Live progress bar with:
    • Files downloaded / total
    • Bytes downloaded / total
    • Speed (MB/s)
    • ETA (remaining time)
    • Current file name
  • Skip existing files — re-download only what's new.
  • Local database size shown in Settings, with a "Clear" button.

📄 Fourth Datasheet Source: TME

  • Search now works through DigiKey, LCSC, Farnell, and TME.
  • TME API V2.0 (OAuth 2.0) — token (300s lifetime), search via /products/search, files via /products/files.
  • Documents parsed as DTE (direct PDF) or LNK (link to PDF).
  • Cloudflare-protected TME links (www.tme.eu, tme.eu/Document) open in the system browser instead of failing silently.

🔌 Expanded Pinouts

Added:

  • Dev boards: Arduino Mega 2560, Raspberry Pi Pico.
  • ICs: MAX485 (RS-485), MCP2515 (CAN), MCP23017 (16-bit I2C expander), PCF8574 (8-bit I2C expander).
  • Wireless / modules: ESP32-CAM, NRF24L01+, HM-10 (BLE), RFID-RC522.

🌗 Light Theme

  • Whole app: switch in Settings (two buttons) or via the sun/moon icon in the header/sidebar. Saved to localStorage.
  • BoardView: auto-syncs with the app theme. Manual palette toggle cycles Canifol → OpenBoardView → Light.

🌍 Full Localization

  • English, Russian, Chinese — all strings localized.
  • Database controls (download, pick folder, progress, speed, ETA, results) now use i18n keys.
  • Sketch pad — all UI, tooltips, and help strings localized.
  • Sidebar theme toggle — icon only, no hardcoded text.
  • BoardView layer labels — all labels use i18n keys.

🎨 UI / UX

  • Sidebar: removed horizontal scrollbar (the "двигать" bar). Theme button is now icon-only.
  • BoardView toolbar: horizontal chip buttons, one-letter shortcuts on mobile (P / T / C / L / R).
  • Sketch toolbar: added "Image" (load background) and "ImageOff" (remove background) buttons, plus a Help button.

🐛 Bug Fixes

  • Pins no longer drift away from components when zooming in Sketch.
  • Sketch hotkeys no longer depend on keyboard layout.
  • svelte:component replaced with {@const Icon} (Svelte 5 compatibility).
  • Database: mobile folder picker no longer throws "Folder picker is not implemented on mobile".

Downloads:

  • Windows: .exe (NSIS installer) — attach manually
  • Android: .apk (Universal) — attach manually
  • Linux: .deb, .rpm, .AppImage — auto-built