nex_shift/src-tauri
mula.liu 45325f0a6c feat(ui): quiet the drop gesture, and refuse files OCR cannot read
Four changes to how the main window answers a drag.

The tray row said "识别图片文字…" where the window says 文字识别, and the ellipsis
made it read like a preview rather than a command. It now carries the same words
as the button, in both languages.

OCR refuses a file it cannot read instead of handing it to the format ring. The
fallback was meant to be helpful - "the format ring is more useful than a failing
OCR run" - but from the user's side it looked like the button they dropped on had
ignored their file and opened something else. A drop on OCR is now either a read
or a refusal that names the reason.

Dragging an outside file and dragging a Recent row are now the same interaction.
The panel used to scale, recolour and swap its heading when a file entered the
window from Finder, while a row dragged from the list did none of that, because
an in-webview drag raises no native drag events. The panel no longer animates at
all: the is-dragging class, its two rules, and the transition they drove are
gone, and feedback lives only on the three buttons, which both paths already
share.

Releasing off a button no longer pops the toast. 0.1.9 added it to explain why
nothing had run, but it fired at the pointer, in a place the user had not chosen
to aim at, and the buttons already show where a drop lands. Off a button,
nothing happens, silently, on both paths.

The version comparison test gains the patch-component case: 0.1.10 is the first
release whose patch number reaches two digits, and the rule was only asserted for
the minor position.
2026-11-01 12:48:36 +08:00
..
binaries release: prepare Shift 0.1.8 2026-10-27 18:45:32 +08:00
capabilities release: 0.1.1 — update channel, settings/UI trims, macOS + Windows x64 only 2026-10-26 03:06:46 +08:00
icons baseline: capture workspace state (bug fixes in progress) 2026-10-21 08:54:54 +08:00
src feat(ui): quiet the drop gesture, and refuse files OCR cannot read 2026-11-01 12:48:36 +08:00
Cargo.lock release: prepare Shift 0.1.9 2026-11-01 12:04:03 +08:00
Cargo.toml release: prepare Shift 0.1.9 2026-11-01 12:04:03 +08:00
Info.plist fix(share): declare the local network usage description 2026-10-26 18:54:25 +08:00
build.rs release: 0.1.1 — update channel, settings/UI trims, macOS + Windows x64 only 2026-10-26 03:06:46 +08:00
tauri.conf.json release: prepare Shift 0.1.9 2026-11-01 12:04:03 +08:00
tauri.macos.conf.json baseline: capture workspace state (bug fixes in progress) 2026-10-21 08:54:54 +08:00