Commit Graph
6 Commits
Author SHA1 Message Date
Alby96 5aeb6aa787 Add comprehensive tests for EditSection functionality in the Windows application
- Implement tests for picker behavior, including loading sequences, searching, and handling empty libraries.
- Validate sequence opening via Enter key and double-click actions.
- Ensure proper handling of unsaved edits and sequence deletion scenarios.
- Verify accessibility features for picker rows across different languages.
- Introduce a dialog counting mechanism to manage unsaved edit confirmations.
2026-10-19 12:10:42 +02:00
Alby96andClaude Opus 5.5 4ea44bb917 feat: wider rail and admin sidebar that collapse to icons
Owner review 1, phase 3a (docs/requests/2026-10-15-owner-review-1.md, R1).

The desktop rail is 200 px wide, so the section names fit in every
language, and collapses to 48 px of icons with its ≡ button or Ctrl+B.
Collapsed, each icon's tooltip names its section before saying what it is
for, while screen readers keep the name and the description. The choice is
written to the settings file the moment it changes (nothing else restarts)
and survives Settings › Reset all and Import; Ctrl+B waits behind the
first-run dialog like Ctrl+1…6, and a held key toggles once.

The admin panel's sidebar is 256 px and collapses to icons the same way,
with its own ≡ button or Ctrl+B (on the physical key where the layout's B
types no Latin letter, so Cyrillic, Greek, Hebrew and Arabic layouts work).
The choice is kept in the browser, for the page when the browser refuses
storage, and the tables fit their columns again after each toggle. At
900 px and below it stays the top bar and Ctrl+B stays the browser's.

The wider rail leaves 49-72 px less for every screen at the 1200 px
minimum. Six adversarial review rounds found what that cut, and in every
shipped language no action is cut off now: the Jobs columns share their
width (Target and Progress give way first, Kind/Where/State capped on wide
windows), the editor's preview tools take a second line, a server job's
Cancel has its own header column, the Archive tree keeps a year's label,
the Import rows and result, the certificates and cache rows and the frame
table fit. Headers, titles and cells that may be shortened end in an
ellipsis and show their text in their tooltip; state tooltips start with
the state, and their explanations were reworded not to repeat it (a queued
job "waits for its turn", jobs running one at a time). The crop-result
tool sits beside Crop mask, disabled with its reason while the mask is
off. Tests check these rows in all 38 languages at 1200 px; the App test
program now shuts WPF down in order, so its exit no longer crashes after
every test passed.

Phase 3 lands as two commits: R7 (the Edit section) edits the same shell
files and follows. Also updates BRIEF (12.1, 14.8, 24), DECISIONS,
CHANGELOG, STATUS, the request file, DESIGN and the mockups; every new or
reworded string is in all 38 languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 21:50:48 +02:00
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