Commit Graph
20 Commits
Author SHA1 Message Date
Claude 740e56464c fix(jobs): leave a followed render's toast to the editor and bound Open on large jobs
The Jobs screen's flush could take a render's end before the editor that
followed it had seen it, and announce it without the output file. It now
yields while the open editor follows that render (FollowsRender); an editor
closed in between still says it once, without the output.

Open on a job over more sequences than a Library page (a maintenance run over
a whole archive) now opens the Library as it is instead of looking every
target up and paging through the list to select them all. Selecting many
cards (Open's selection, Clear selection) counts the selection once instead
of once per card over every card.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-12 16:21:19 +00:00
Claude 789c2dae3e fix(jobs): announce every finished render once and open every target
A finished render's toast is claimed once (JobsViewModel.ClaimRenderToast):
the editor that followed the render to its end says it with its output,
also when the sequence cannot be read again (then without Show in
folder) or the editor closed meanwhile; any other render is said by the
Jobs screen. Before, the Jobs screen stayed silent whenever an editor had
the sequence open, so a failed reload or a render the editor did not
follow ended without a completion toast.

Open on a job over several sequences (toast, Windows notification, Jobs
row) shows the Library with every one of them selected, clearing a
search or filter that hides one and reading pages until each is listed,
instead of opening the first in the editor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-12 15:53:58 +00:00
Claude 6417e2b3c2 fix(app): notification clicks run only what the toast names, batches speak once, warnings get badges
- Toast.RunsFromNotification: a click on a Windows notification restores the window and runs the toast's
  action only when the toast opts in (card detected: Import; interrupted import: Resume; job finished: Open;
  navigation to Import or Jobs) and it is the only notification shown since the icon appeared. Cancel, Undo
  and Retry stay in the window, and the notification text no longer offers them.
- Job endings are coalesced: finished jobs of one kind wait until no job of that kind the user waits for is
  queued or running, then one toast says how many finished ("12 jobs finished", action Jobs); failures of one
  update share one toast. Server > Upload all no longer raises one toast and one notification per sequence.
- Every failure that is not upkeep (scan, thumbnails, proxies, light analysis) is announced, including move,
  adopt and user downloads; finished moves and adoptions are announced too.
- Rail badges: Library counts the sequences with warnings (the Warnings filter), refreshed after analyses;
  Archive counts the index health lines that need attention.
- Tests: the balloon click path, the --minimized restore to a saved maximised window, batch and failure
  coalescing, and the new badges.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-12 10:35:19 +00:00
Claude d25ecca64e feat(app): taskbar progress, Windows notifications, job toasts, rail badges and section shortcuts
UI-05: the main window's TaskbarItemInfo mirrors the job bar (progress, sliding while
the total is unknown) and turns red while a failure waits on the Jobs screen.

UI-06: the Uploader's tray icon moves to Titano.Ui (Interop/TrayIcon, with a balloon
click callback and error balloons) and the Uploader keeps using it. While the main
window is minimised, hidden or behind another program, every toast (card inserted,
auto-import, job ended, server messages) also becomes a Windows notification; clicking
it restores the window and runs the toast's action. The icon exists only while such a
notification can be clicked. Settings › General gains Notifications (on by default)
and Startup: Start with Windows writes the HKCU Run value "Titano" with --minimized,
and the window then waits minimised on the taskbar.

UI-07: Ctrl+1…6 and Ctrl+, navigate from anywhere in the window, as the rail tooltips
say (not behind the first-run dialog). The editor's 1:1 view moves to Ctrl+Shift+1;
its tooltip key is renamed so no translation keeps the old shortcut.

UI-08: the Jobs screen raises one toast when a long operation ends (render, deep
analysis, verify, rebuild, maintenance, upload: Open; failures: Retry, or Import for a
failed import), whichever screen started it. Background work and scans end silently,
and a finished render of the sequence open in the editor is left to the editor's own
toast with its output file.

UI-10: the Jobs badge adds failures not seen on the Jobs screen yet; the Server badge
counts settings conflicts waiting for a choice.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-12 09:32:39 +00:00
Claude e4bbf11da9 fix(app): exit without waiting for the UI thread, close the editor with the shell, cancel sign-in safely
DESK-1: SyncHost's dispose, session switch and stop now continue on the thread pool
(ConfigureAwait(false)) and keep the running agent in one reference. A signed-in user
whose archive is not polled no longer waits 10 s at every exit, after which the job
engine and the index were never closed.

DESK-7: ShellViewModel.Dispose disposes the Sequence section first, so the open
editor stops its runners and closes its source before the engine and the index go.

DESK-8: Cancel stays available while the server answers a sign-in. It now cancels
the request; an answer that still arrives changes nothing (the connection flow
ignores answers for a client it dropped), and a sign-in that completed just before
the cancel was handled is signed out again. The form no longer sets a result after
it closed, and an unexpected failure shows inline instead of escaping async void.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-12 09:29:58 +00:00
Claude 77e07bf000 fix(ui): the viewport's tools are its logical children; remote editor tests read a shared job table safely
The preview tools are a property value of the viewport, presented by its template
with no logical parent, so neither an element-name nor an ancestor binding gave
them the editor reliably: the crop result toggle then showed with no tooltip.
As logical children they inherit the viewport's data context like any content.

The remote editor tests changed the fake server's job table while the source's
event loop read it, which could hand the loop a null job; it is now a concurrent
dictionary. The read-only test waits for the event, which is raised after the
flag is set, instead of the flag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-11 23:20:51 +00:00
Claude 9930959883 merge: shared kit follow-ups (disabled lists, chart contrast and keyboard, RTL category charts, error toasts, short names)
Resolved: ArchiveView keeps the shared dialog dictionary from the Library branch
and drops its local focus and list styles, now in the kit; the redundant
left-to-right flag on the Move template box goes from ArchiveDialogs.xaml.
Archive.View.Maintenance also leaves the 23 newly translated catalogs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-06 22:22:46 +00:00
Claude 1f0adc76bb fix(app): short accessible names for the rail and archive-year toggles
Both icon-only buttons used their tooltip sentence as their name. They now
read "Collapse navigation" / "Expand navigation" (Shell.Nav.Collapse,
Shell.Nav.Expand) and "Hide year" / "Show year" (Archive.Tree.Collapse,
Archive.Tree.Expand); the sentences stay their tooltips.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-06 21:10:45 +00:00
Claude 7d9b0a800f test(ui): disabled lists, chart tones, activation, RTL bars, failure toasts, icon names
- Visuals: a disabled list and the card grid keep their fill, a ListView keeps
  its column headers; chart labels are TextMuted and months without data the
  Stroke tone; charts show the hand and take the keyboard only with a handler;
  arrows, Home, Enter and Space choose and activate a bar; category bars start
  on the reading side in Arabic while months stay left to right.
- Screens: every visible icon-only button or segment has a name and a
  tooltip; a failed archive action raises an error toast, a notice does not.
- Uploader: an unexpected error raises an error toast.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-06 21:03:37 +00:00
Claude 38e40bf96d test(app): screen tests start past the first-run dialog; look inside dialogs once laid out
The shell is now disabled behind the first-run dialog, so the sample app used by
the screen tests completes the first run unless a test asks for it (the Arabic
start-up test does). The Archive right-to-left test rendered after looking for
the dialogs' texts, which exist only once laid out; the padding test moves to
the Settings page that has text boxes without an icon.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-06 20:48:02 +00:00
Claude a48ed8ed72 fix(app): captures render RTL windows as they are; the rail's check binds one way
- As the Uploader and Setup captures now do: the content of a right-to-left window already renders
  mirrored, so no second flip.
- The rail's buttons share a GroupName across its two lists; their check binds one way, so a window not
  yet on screen cannot write another's selection back into the shell.
- The Arabic smoke test also checks that the rail is drawn on the right.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-06 08:20:20 +00:00
Claude 8f9d975637 test(app): close the editor the Arabic smoke test opened; the Import gap box comment matches the kit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-06 08:13:04 +00:00
Claude 739d51eb7e test(app): Arabic shell, toasts, chrome names and paddings; RTL captures are drawn mirrored
- Smoke tests: the main window opens mirrored when Arabic is applied before it exists, directional icons
  follow while other glyphs, the logo, the preview surface and the charts do not; the shell behind the
  first-run dialog is disabled; toasts draw, are named and close after their action; caption buttons,
  the job bar and the pause button have names; text boxes pad once.
- --capture draws right-to-left windows through the window's mirror, as the Uploader and Setup do.
- DESIGN §5 states the directional icon rule and the left-to-right islands.

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 93e47c2dee test(app): one shared WPF Application host for every WPF test
The Server screen tests now run first and created the process's Application
through ScreenHost; the visuals tests then tried to create a second one and the
process aborted. Both hosts now use the same lazily started Application.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-03 10:55:15 +00:00
Claude b6533b4c1c test(app): build the section templates pack URI after the Application exists
The Server screen smoke tests now run before any other WPF test, so ScreenHost's
static pack:// URI was parsed before the scheme was registered and every later
screen test failed with a type initializer exception.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-03 10:47:14 +00:00
Claude 10a9db9c91 merge: client server mode (sync engine, Server screen sync table and conflicts, Library sync glyphs, render transfers)
Keeps the render node host from the processing branch and disposes the sync
host after it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-03 10:38:05 +00:00
Claude 03da77277c fix(diagnostics): scrub whole passwords; unique bundle names; no temporary files left behind
- A secret value runs to the next ';' or the end of the line unless quoted
  (backslash and doubled-quote escapes), so passwords with spaces, commas or
  quotes never leak in part; URL passwords run to the last '@' before the path.
- Desktop bundles get " (2)", " (3)"… instead of overwriting one made in the
  same minute, and a bundle that fails half-way deletes its .tmp file.
- The server builds its bundle in a temporary file that no crash leaves behind
  (DeleteOnClose on Windows, unlinked at once elsewhere).
- Tests: passwords with spaces, commas, quotes and '@'; a DbConnectionString in
  the server bundle; bundle name collisions and failure cleanup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-03 10:05:45 +00:00
Claude b31c6aa332 feat(app): sample server for sync captures, server-sync and server-conflict screenshots, sync tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 23:00:15 +00:00
Claude 2650aa31fb feat(diagnostics): scrubbed diagnostics bundles on the desktop and the server
SecretScrubber removes passwords, tokens, keys, cookies, authorisation
headers, URL credentials and private-key blocks from text and JSON;
DiagnosticsArchive zips reports, settings, failed jobs and log tails through
it. The desktop bundle (Settings > Advanced, About) now adds the codec and
encoder inventory, the settings and recent failed jobs; the server serves
the same as GET /api/v1/server/diagnostics (ManageArchive, audited), linked
from admin > Logs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 22:29:26 +00:00
Claude 8d4b00aceb test(app): screen smoke tests and thumbnail decoding on Windows
Every screen is rendered from the --capture sample data in an off-screen
main window in both themes; thumbnails are decoded from embedded previews
with orientation. The sign-in flow now stores the login token on every
IServerApi, and thumbnail pending loads include index lookups so capture
waits for them. A cancelled-load test no longer depends on scheduling.

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