Skip to content

Clipper v0.1.8

Latest

Choose a tag to compare

@vmnair vmnair released this 19 Jul 04:06

Clipper v0.1.8

✨ New Features

  • Positioned multi-image note insert. Clip images now insert positioned and sized-to-fit the page width, stacked below existing content like text — multiple figures per page, freely mixed with text. Replaces the old one-figure-per-page limit and the "Figures go on their own page" behavior.
  • Image + text multi-select. Lifted the selection restriction so an image and text can be clipped and inserted together in a single pass.

🐛 Bug Fixes

  • Data loss — blank image clips (critical). sweepOrphanCaptures was deleting still-referenced clip_* image files (stale-timeout + a referenced-race window), leaving blank cards. The sweep now only removes transient capture files (reader_shot_ / temp_crop_page_) and never touches clip images.
  • Data loss — stale settings on insert. Insert now reads the auto-remove / combine / link-source settings fresh at insert start, instead of relying on async-loaded state that could apply a stale default and remove clips the user meant to keep.
  • Note crash on region insert. Sizing an inserted image from its natural rect and capping scale at 1× (no upscaling) fixes an OpenCV ROI assertion that was crashing the note.
  • Image / sidebar overlap. Images left-align to the text's visual left with a font-relative inset, clearing the left toolbar on any device/font (not a hardcoded offset).
  • Duplicate inserts. Rapid Insert taps could insert multiple copies; now guarded (re-entry ref + buttons disabled while inserting).
  • Short-selection prompt flashing away. The <5-word "Clip Text / Clip Region" prompt appeared briefly then vanished (an AppState race dismissed the just-shown dialog). Fixed with a promptActiveRef guard, plus awaiting the native launch-mode/prompt mirror and gating the dashboard render on contextResolved so the dashboard no longer flashes before the prompt.

🔧 Under the hood

  • 102 Jest tests passing; all diagnostic logging removed.
  • versionName 0.1.8, versionCode 215.