Commit Graph
4 Commits
Author SHA1 Message Date
Claude e97b0e4f84 fix(import): staging failures of a server import name this PC, failed jobs show catalog sentences
A server import stages its copies in this PC's cache folder, yet a full disk
there read 'The destination is full.' beside every photo, and a refused
write 'Titano may not write to the destination.', which sent the user to
the server. IImportSink.StagesOnThisPc (true for ServerImportSink) selects
Import.Failed.CacheFull and Import.Failed.CacheAccess instead.

A failed archive import job showed the job engine's raw text (SQLite, file
system or framework English) as the Import screen's line. ImportFailures.Job
keeps the archive engine's own localized sentences and shows 'The import
stopped before the end.' for anything else; the raw text stays in the
tooltip and the logs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-12 19:00:51 +00:00
Claude 5cf918ed66 fix(import): say why a photo was not copied with a catalog sentence
A photo the executor could not copy now carries one localized sentence
(ImportExecutor.FailureText: its own checks, a full destination, access
denied, else "The photo could not be read or copied.") on the Import
screen and in the import job's log. The photos a stopped folder or
server import never reached show the stop's cause (ImportFailures.Stop:
the server's own sentence, not answering, untrusted certificate, card
gone, destination full or not writable), and a failed index check reads
"The index could not be read or written.". A refusal without words
reads as the catalog's sentence. The system's text stays in the log.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-12 15:53:49 +00:00
Claude f7a7506fe7 fix(app): say why an action failed in localized words, not exception text
Error toasts showed the exception's own message, often technical English from
.NET or the OS, under a translated title. The editor's failed save, a job posted
to the server from the Library, and the card check or delete after an import now
say why in one catalog sentence: what the server answered or that it does not
answer, that the card left, is locked or a file could not be read, and the
archive causes of ArchiveFailures for a local save. The details stay in the log.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-12 10:13:34 +00:00
Claude 0dada9bf47 fix(import): accessible, right-to-left safe Import screen after the visual review
- The folder path is validated only while Folder is the destination (no red
  box under Archive) and shows faint text when unused; typing one chooses
  Folder, as "…" does; a path change replans only for Folder.
- Session times are no longer cut: the Session column sizes to its content.
- Show plan lists file names under a two-line session heading (folder below),
  with full paths in tooltips; header and cells line up (scroll bar reserved).
- Failures say what happened in one localized sentence (source gone, disk
  full, access, server, other), wrap up to three lines, keep the raw text in
  the tooltip, and offer Retry only.
- The status sentence comes with one action (Folder…, Refresh devices,
  Library, Choose folder, Server, Retry).
- The form is locked once an import finished ("New import" plans again); the
  plan header drops the estimate and free space then.
- A card stays "new" until it has a nickname.
- Device entries show keyboard focus and a disabled state with its reason;
  row actions (Merge, Split here) are revealed on the row and named per row;
  composite buttons carry accessible names; tab order follows the layout;
  rows are 36 px.
- Live regions announce planning status, copy progress, the result and the
  failure; progress bars are labelled.
- Right-to-left: paths, templates, name previews and numbers stay left to
  right (numbers right-aligned), the session range uses its own arrow, and
  paths or serials inside sentences are embedded left to right.
- The 56 px number boxes fit four digits despite the kit's double padding.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-03 17:13:20 +00:00