Commit Graph
19 Commits
Author SHA1 Message Date
Claude e583b6ed74 feat(tools): screenshot diff against committed baselines, reproducible captures
BRIEF §20.2 asks for visual regression of the --capture screenshots with a
pixel-diff tolerance; CI only published them. `Titano.Tools screenshots diff
<dir>` compares every PNG with tests/visual/baselines: a pixel differs when a
channel moves by more than --tolerance (8 of 255), and a screen fails when more
than --max-diff of its pixels differ (0.05 %), when its size changed or when a
baseline lost its screen; a screen without a baseline only warns. It writes a
diff image per screen with differing pixels (the baseline faded, the differences
magenta) and a Markdown summary, also to the GitHub job summary.
`screenshots accept <dir>` copies screenshots over the baselines. The baselines
folder starts with its README; the pictures come later from ci-screenshots.

The captures were not reproducible: the sample's jobs, renders, transfers,
cards, trash and remote sequences were dated from the clock, the Library
timeline and the Archive heatmap laid out around today, the Uploader captured
in the computer's language and an indeterminate bar animated. The sample now
dates everything from SampleData.Now, --capture freezes the new AppClock there,
formats are English, and the new Motion attached property (off in the captured
windows) keeps the indeterminate sweep still in the middle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-12 10:05:49 +00:00
Claude 0a513fb213 fix(i18n): texts kept by view models follow a language switch; right-to-left meta lines keep their fields
A language switch re-read computed properties only: the job bar of a running job,
the Jobs rows, the editor's chart legends and summaries, Auto chips, markers and
info line, the Archive figures and the Import session table kept the old language
until their next change. LocalizedViewModel gains OnLanguageChanged, where each of
them makes those texts again.

Meta lines joined their fields with a plain " · ": in Arabic or Hebrew a number
after a Latin field ("Canon EOS R5 · 2 h") joined the Latin run and split its own
field. Loc.Separator puts right-to-left marks around the dot in right-to-left
languages and is used for every such line. Desktop file sizes use the Common.Size
formats, as the Setup and the Uploader do.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-11 23:47:03 +00:00
Claude a09ef98eac fix(app): failure toasts are announced at once
Shell.Notify takes isError; every toast that reports a failure or a refusal
sets it (archive actions and fixes, sync, settings import and cache, proxy
fetch, welcome folder check, card check, erase, format and eject). The
Uploader marks its unexpected-error, sign-out and choose-a-sequence toasts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-06 20:56:08 +00:00
Claude 03872a1719 merge: integration branch (radio groups by panel, captures render RTL windows as they are)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-06 08:19:54 +00:00
Claude a7f5f83e04 fix(ui): text and password boxes pad their text once; shared password error state
- The text box hands its Padding to the content host itself; the template no longer adds it again, so
  typed text starts where the placeholder does (12 px, 8 px after a leading icon). Same for the password box.
- ui:Field.Error marks an input without a validating binding (a password box) with the error border and
  makes the sentence its help text; the Uploader and the login dialog use it instead of drawing their own.
- The brand mark keeps its orientation by itself; the local left-to-right settings are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-06 08:10:36 +00:00
Claude 7cb34e70da fix(capture): render right-to-left windows as they are, without a second mirror
The Arabic Uploader captures came out mirrored with reversed glyphs: a
right-to-left window's content already renders mirrored, so drawing it through
another flip undid the layout. Flipping that capture back gives the screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-06 08:07:15 +00:00
Claude 70dc18787a merge: integration branch into the shared fixes; every window takes its reading direction from TitanoWindow
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-06 07:52:36 +00:00
Claude 833a638c03 fix(uploader): visible password error, no sign-in from the settings panel, installer screenshots in CI
- A refused password draws the Error border over the password box, so it stays visible while the box has
  focus (the shared template paints its focus border over the box's own).
- Enter in the settings panel no longer triggers the sign-in form's default button underneath.
- Queue rows the list has not realized are named by their file name; the retry arrow is not mirrored.
- CI's Screenshots step also runs Titano.Setup.exe --capture.
- Smoke test: the password box shows no error before use; Sign in is the default only outside the panel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-05 22:07:47 +00:00
Claude 39627b3f4a feat(setup): --capture renders every setup stage, uninstall plan and Arabic layout
The installer had no screenshot mode, so CI could not review its stages. Titano.Setup.exe --capture <dir>
builds a small sample installer in a temporary folder and renders install options, programs running,
installing, installed, failed and uninstall with the "Remove my data" plan, in the dark and light themes and
in Arabic (mirrored). Nothing is installed, removed or registered.

Also: uploader smoke tests (names, focusable rows, no premature errors, right-to-left islands), and watch
chips cap the path itself because the button template measures content without a width limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-03 17:20:42 +00:00
Claude 1187c36d66 fix(uploader): follow right-to-left languages, name and reach every control by keyboard
Uploader:
- Mirror the main window, the confirmation dialog and the tray menu for ar/he/fa/ur; keep paths, addresses,
  file names, the fingerprint, the brand mark and media glyphs left to right.
- Queue rows take keyboard focus, are named "file · state" for screen readers, and Enter retries a failed
  file; a "✕ n failed" link jumps to the first failure; the list follows the upload near its top.
- Focus moves into the settings panel (Tab cycles inside) and back to the gear, to Browse after sign-in and
  to the refused field after a failed one; activity changes and sign-in errors are announced.
- A wrong address or password marks its field (error border, message in the tooltip); Retry only where it
  can help; session-ended toasts offer Sign in; the form stays visible while its own sign-in runs.
- Watch chips and the add button wrap and shorten long paths; target choices wrap with their fields; the
  settings panel uses the side-panel width with wrapping labels; disabled controls say why.
- The window opens at 760x700 (min 630 high) so the per-file list shows five rows; --capture adds an
  Arabic pass.

Setup:
- Every stage has a default and a cancel button (safe action first), the keyboard moves to the new
  default and outcomes are announced; the title-bar Close is disabled while files are written.
- "Remove my data" measures the user data folder and shows the plan (largest entries, total) before
  Uninstall can run; the tooltip names backups and the uploader queue.
- Folder field before Browse in Tab order; paths and file names left to right; disabled tooltips say why.

Both: byte units come from the language (Common.Size.*).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-03 17:14:54 +00:00
Claude 93f8dca1db fix(uploader): sign-in default button, neutral watch status, typed MB/s limit
The hidden sign-in button is the default only while visible and sign-in
runs only when signed out; the password copy is cleared after success.
A watch folder shows a neutral dot until its first check. The MB/s field
parses its own text so invalid input reverts instead of showing a
framework validation message.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:31:58 +00:00
Claude ebe62b77ad refactor(uploader): drop members only tests used
Tests write serialized queue and watch-memory bytes directly; the app
persists through its coalescing writer. Single-instance hand-over no
longer returns an unused flag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:31:47 +00:00
Claude 192fc7dcb3 feat(uploader): uploader window, dialogs, tray icon and screenshot mode
Single 760x560 window after the Uploader mockup: header with server,
user, connection glyph and quota; first-run connect form with LAN
servers and a TOFU fingerprint dialog; drop zone with an IFileOpenDialog
browse menu (files or folder/card); target choice; queue line,
pause/stop and MB/s limit; progress and per-file states with retry;
watch-folder chips; options, with a destructive confirmation before
"Delete after upload"; in-window settings panel. Shell_NotifyIcon tray
icon (program icon, Show/Pause/Exit menu, balloon on completion), app
bootstrap with logging, language, theme, single instance hand-over, and
--capture rendering connect/queue/settings in dark and light from a
design-time sample provider.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:28:03 +00:00
Claude 42d96c962d feat(uploader): server session with trust-on-first-use sign-in and LAN discovery
Checks the certificate before sending the password and returns an
unknown self-signed fingerprint for confirmation; restores the saved
token, reports quota, probes every 30 s while offline, signs out when
the token is rejected or the certificate changes, and maps transport
failures for the engine. UDP beacon listener for servers on the LAN.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:36 +00:00
Claude ad5c3e0f37 feat(uploader): settings, DPAPI token, single instance and startup registration
uploader.json (server, user, DPAPI CurrentUser-protected token, trusted
fingerprints, options, watch folders) written atomically; command line
(paths, --tray, --capture); named mutex plus a current-user named pipe
that hands a second launch's paths to the running instance; HKCU Run
key for "Start with Windows"; coalescing background writer for state
files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:36 +00:00
Claude 27f0d73f05 feat(uploader): watch folders with stable-file detection and processed-file memory
Polls each folder at its interval with FileSystemWatcher hints on local
disks (network shares are polled only); a photo is queued once its size
and write time are unchanged in two consecutive checks. Files the server
confirmed are remembered by path, size and write time in
uploader-watch.json together with each folder's last session.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:24 +00:00
Claude 2a74c12fd1 feat(uploader): upload engine with queue retries and verified-only source deletion
Two parallel files: hash, resumable upload through a transport, then
verified or already-on-server. Failed items retry after 30 s up to 3
times on top of the client's transient retries; an unreachable server
requeues without spending a retry. A new-sequence batch creates its
sequence once. "Delete after upload" removes only files the server
confirmed and that still match the hashed size and write time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:24 +00:00
Claude 62c7b0d956 feat(uploader): persisted upload queue, session grouping and queue texts
Per-file states (queued, hashing, uploading, verified, skipped, failed
with reason), batches with their target (auto sessions, sequence, new
sequence), uploader-queue.json persistence with interrupted transfers
resuming as queued, photo scanning of files/folders/card roots, BRIEF
§13 session keys (45 min gap, test shots merged), throughput meter and
culture-aware queue/progress lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:12 +00:00
Claude 83a54fb57b chore: bootstrap repository foundation
Solution layout, build rules with zero-package guard, in-house test
framework, localization runtime, brand mark rasteriser with ICO/PNG
generation, Core contracts (imaging, video, domain model, TIFF reader),
Titano.Tools (make-icon, i18n, xaml-lint, package-guard) and docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 08:59:40 +00:00