chore: record the Library and web admin decisions; drop ten admin strings no longer shown
The web admin's counts moved to plural keys, so the old single-form keys go from every catalog. DESIGN and DECISIONS now describe the admin's dark theme, server sequences in the Library and the archive's trash. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
40 files changed
+33
-384
No files matched your search
+32
-3
@@ -120,7 +120,7 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-02 | Deleting a sequence moves its folder to `<archive>/.titano/trash/<id>` (with dry run); upload completion is synchronous and idempotent, survives client disconnect, and a failed ingest returns the upload to receiving (503). | Erase files / async commit job | User data rule 8 and undo; clients need the frame id at once and retries stay safe. |
|
||||
| 2026-10-02 | Quota = used + pending uploads + new size, checked at start and at commit (render outputs not counted); the duplicate short-circuit matches a hash anywhere, preferring the target sequence; at most 8 concurrent chunk uploads per user (429), bodies capped at 1 MiB except chunks. | Committed bytes only / per-sequence only / request-rate limiter | Parallel uploads cannot slip past the quota; the brief's wording; simplest effective limit. |
|
||||
| 2026-10-02 | Render jobs never run on the server engine: render nodes claim them by codec and resolution, report failures, and a job fails after losing its node 5 times. | Managed rendering on the server | No server render handler yet. |
|
||||
| 2026-10-02 | Server settings page writes only edited keys to `server.json`; environment-fixed settings are locked; restart-only keys are flagged. Windows service: LocalSystem, automatic start, name `TitanoServer`. Admin panel: strict CSP (SVG charts, no inline styles), light theme only. | Rewrite the whole file / theme toggle | Secrets never written; DESIGN.md wins over the mockup toggle. |
|
||||
| 2026-10-02 | Server settings page writes only edited keys to `server.json`; environment-fixed settings are locked; restart-only keys are flagged. Windows service: LocalSystem, automatic start, name `TitanoServer`. Admin panel: strict CSP (SVG charts, no inline styles); light and dark themes (2026-10-06, toggle in the header). | Rewrite the whole file / theme toggle | Secrets never written; DESIGN.md wins over the mockup toggle. |
|
||||
| 2026-10-02 | Migrations are numbered without gaps (0001 initial, 0002 archive index, 0003 server uploads). | Keep 0005 | Parallel workstreams picked numbers to avoid collisions; renumbered at merge. |
|
||||
| 2026-10-02 | `xaml-lint` checks keyed value resources against the property type (GridLength for column/row sizes, Thickness, CornerRadius, Double). | Rely on Windows smoke tests | A Double used as a column width compiles and only fails when the template loads on Windows; the lint now fails on Linux too. |
|
||||
| 2026-10-02 | Languages with more plural forms add `key.few` / `key.many` beside the English `key.one` / `key.other`; `i18n check` accepts them, compares their placeholders with English `other` and lets any plural form omit the count. | One English-shaped key set for every language | "Rendered once" style forms cannot cover Russian 21 or Arabic 3–10 otherwise. |
|
||||
@@ -132,7 +132,7 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-03 | Selective claims (`ISelectiveJobHandler.AcceptsAsync`) look at the first 100 queued jobs of selective kinds per claim; other kinds keep the atomic claim. | Scan the whole queue | Bounded cost per claim; documented limit. |
|
||||
| 2026-10-03 | `POST /jobs` splits a batch into one job per preset; a render node fails a batch job instead of rendering only the main preset; a node registering again requeues jobs its previous run abandoned. Proxies have no hash: fetched whole on retry; originals are resumed and SHA-256 verified. | Nodes render batches | One output per job keeps progress, retries and uploads simple. |
|
||||
| 2026-10-03 | A render on the server ignores the client's export folder and always writes to the sequence's `exports/`. | Honour the folder | The server never writes outside its archive. |
|
||||
| 2026-10-03 | Sync state lives in a client-side `sync_links` table (one row per server sequence, linked to its local copy); server-only sequences appear on the Server screen, not in the Library. | Columns on `sequences` | One local copy per server; server-only rows need a home. The server-connected Library mode stays with the Library. |
|
||||
| 2026-10-03 | Sync state lives in a client-side `sync_links` table (one row per server sequence, linked to its local copy); server-only sequences appear on the Server screen and, since 2026-10-06, in the Library as remote cards. | Columns on `sequences` | One local copy per server; server-only rows need a home. The server-connected Library mode stays with the Library. |
|
||||
| 2026-10-03 | Uploads create the server sequence by sending the first original under the session key `titano-sync:<localId>`; every original is re-hashed before sending and a mismatch fails the job. | `POST /sequences` | The server cannot store uploads into an empty sequence created that way; originals are sacred. |
|
||||
| 2026-10-03 | Sync conflicts: any field changed differently on both sides is a conflict settled against the versions shown (Keep mine / Take server confirm the differing settings; Save both takes the server's and keeps this PC's settings as `.titano/project.this-pc-<time>.json`). A later change refuses the choice and compares again. | Tag union and newest-wins merge | §14.5 asks for last-writer-wins with an explicit prompt; a union brings removed tags back. |
|
||||
| 2026-10-03 | Sync timing: full comparison every 2 min, server events batched for 1 s, failures back off from 5 s to 5 min. "Keep proxies offline" refreshes stale caches only for sequences this PC opened with proxies, after a free-space check. "Sync projects automatically" defaults to on. | Every server sequence / polling only | Bounded disk use; the brief says "synced sequences"; the mockup shows the option on. |
|
||||
@@ -151,7 +151,7 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-03 | Import omits the Convert row and the profile "New" button: card profiles are born on first insertion and shared through camera profiles (settings row followed by the cards of that camera; a card without settings joins automatically). | Conversion at import / card-less profiles | A converted file breaks the hash-verified erase/format gate and immutable originals; a profile needs a card identity (§13 "rules shared by all cards of that camera"). |
|
||||
| 2026-10-03 | Import sessions merge in the session table and split per photo in Show plan (merges only into the earlier session of the same body and format). Folder and Server destinations run in the screen with a partial result on failure; a server 4xx (not 401/403) fails only that file. Automatic import always goes to this PC's archive. | New job kinds / abort on any error | No job handlers exist for those destinations; §13 lists errors per file; the archive is the gated destination for erase/format. |
|
||||
| 2026-10-03 | Format gate: every photo on the card must be verified by the job's own import records; non-photo files are listed in the typed confirmation, not blocking; the card is re-listed right before SHFormatDrive, behind a typed confirmation of the card name; a card that leaves needs a new check. | Count only DCIM photos / block on any file | Sony and Canon cards always carry camera files; §8.6 and DESIGN §4. |
|
||||
| 2026-10-03 | Archive manager: Overview (tree, tiles, charts, mass operations on the tree selection narrowed by a Camera/Status/Tag filter) and Maintenance (health with one fix per line, recent runs, duplicates, orphans); duplicates/orphans searches and retag run in-screen, cancellable and logged; rename apply is journaled and completed at the next open; Maintenance adds a database backup. No Delete… or Merge/split yet. | Engine jobs for every action / Archive.html's single page | No result store for read-only reports; deleting or moving frames needs engine operations (the trash lives in the server). |
|
||||
| 2026-10-03 | Archive manager: Overview (tree, tiles, charts, mass operations on the tree selection narrowed by a Camera/Status/Tag filter) and Maintenance (health with one fix per line, recent runs, duplicates, orphans); duplicates/orphans searches and retag run in-screen, cancellable and logged; rename apply is journaled and completed at the next open; Maintenance adds a database backup. No Merge/split yet (Delete… and Trash… exist since 2026-10-06, through the engine's trash). | Engine jobs for every action / Archive.html's single page | No result store for read-only reports; deleting or moving frames needs engine operations (the trash lives in the server). |
|
||||
| 2026-10-06 | Radio buttons that bind TwoWay are grouped by their shared panel, never by GroupName (kept only for chips in item templates, which bind OneWay). | GroupName on every group | WPF shares a GroupName across every window not yet connected to the screen, so the installer capture (one window per stage, each with its own view model) cross-wired Just me / All users into an endless loop; the same applies to views built in tests and captures. |
|
||||
| 2026-10-06 | Reading direction is set by TitanoWindow (constructor plus Loc.CultureChanged while shown, applied through the Dispatcher). UiLanguage keeps only a Window.Loaded class handler for plain windows such as FullScreenPreview. The Uploader's WindowDirection and Setup's own code are removed. | Keep three mechanisms (UiLanguage loop plus class handler, Uploader WindowDirection, SetupWindow code) | One place covers the client, Uploader and Setup windows created before or after a language switch. The class handler is still needed for the one non-TitanoWindow window. |
|
||||
| 2026-10-06 | Toasts are announced with a UIA notification event on the host: errors use ImportantAll (assertive), other notices use All (polite). | LiveSetting on each toast container plus LiveRegionChanged | A toast is a new element, not a text that changes, and the host's peer is always in the UIA tree, whereas an item container's peer may not be. |
|
||||
@@ -188,3 +188,32 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-06 | Save-both copies are listed and restored by a Restore settings split button under the Export history line. A restore is one undoable step, and its toast Undo only acts while the restore is still the latest change. | The header menu or the Frames tab | This is the least intrusive place: it is next to render history, it shows only when copies exist, and none of the mockups has room for it elsewhere. |
|
||||
| 2026-10-06 | Additive API: GET /api/v1/sequences/{id}/analysis/report (Read permission), and UpdateSequenceRequest.HeroFrameId. Settings sent alone move hero_frame_id when heroFrame changes. | Ship the deep report inside the manifest, or have the client resolve the hero frame only | The manifest stays small, and the Library thumbnail follows the hero whoever edits it (the editor, or sync of a local copy). |
|
||||
| 2026-10-06 | The checkbox's inner gap between box and text stays at the theme's 8 px. | Change the shared CheckBox template to 6 px | The template is shared by the whole app and lives outside this workstream. |
|
||||
| 2026-10-06 | Render quick action renders the project's export as stored now: the editor's preset, else the advisor's recommended export preset that analyses store as an Auto value, else the default. Sequence-preset bundles (Night sky and others) are not applied by it. | Apply SequencePresets.Generate(...)[0] (a whole bundle of timing, exposure and motion settings) when the project has no explicit export. | The Auto ExportPreset is what the Export tab marks as recommended. Applying a bundle silently would override settings the user never saw (BRIEF §10.4: the advisor never touches manual choices; presets are one click by the user). |
|
||||
| 2026-10-06 | A remote card's Render and Analyse are posted to the server (POST /api/v1/jobs render or deep-analyse) with the sequence's own project. The tooltip names no preset. | Download the server manifest for each card to name the preset in the tooltip. | Rendering happens where the originals are (BRIEF §14.6–14.7), and a manifest download per tooltip is costly. |
|
||||
| 2026-10-06 | Delete runs in an in-window dialog shared by the Library and the Archive manager: a dry run with progress, a typed confirmation, a move into the trash with progress, Cancel between whole sequences, and an Undo toast. It is not a Jobs-screen job. Restore runs per entry from Maintenance › Trash… or from the toast. | An ArchiveJobs delete job with checkpoints on the Jobs screen. | The typed confirmation must sit between the dry run and the move, and Undo needs the result at once. It matches the rename dialog, and each sequence moves atomically. |
|
||||
| 2026-10-06 | The typed confirmation for Delete is the number of sequences that move (Latin digits). | Typing a word such as DELETE or the sequence title. | It is language neutral and shows the user read the count (DESIGN §4 typed confirmation). |
|
||||
| 2026-10-06 | Trash layout: <archive>/.titano/trash/<id>[-stamp] plus a <name>.json record (index row and renders). Restore re-indexes from the sidecar with the same ids, into the old folder or 'folder (n)'. A folder without its sidecar is adopted under the same id with the record's title, tags, rating and notes; a missing hero frame is dropped. | A trash in the database only, or erasing the files. | BRIEF §0.2 rule 8: nothing is erased, and sidecars stay authoritative. |
|
||||
| 2026-10-06 | Delete is refused per sequence for an offline archive, the archive root, folders holding other sequences, busy sequences, a foreign sidecar or a missing folder. Busy covers running or paused jobs on the sequence, plus archive-wide Scan, Rebuild, Import, Maintenance and Verify-all on its archive. Sequences with no folder and no frames lose only their rows. | Block only on jobs that name the sequence. | Archive-wide jobs name the archive, not the sequences, and an import's target folders are known only to its plan. |
|
||||
| 2026-10-06 | Server DELETE maps refusals to codes: 503 archive_offline, 409 sequence_busy (busy, stale plan or lease), 409 archive_root / contains_sequences / sidecar_mismatch / folder_missing / folder_in_use, 404 when the sequence vanished. | A single 409 sequence_busy for every refusal. | Clients show the right sentence, and an offline archive is a retryable service state. |
|
||||
| 2026-10-06 | Move works on the sequences of one archive at a time, as a new folder layout through MassRenamer with a dry run. | Cross-archive move (copy, verify, then trash the source). | The task names the engine's existing move and rename facilities, and there is no engine operation for a cross-archive move. |
|
||||
| 2026-10-06 | Saved views are app-scope settings rows (library.view.<id>) listed in a menu next to the layout switch (show, save, rename, delete with Undo). They are not a chip row. | Chips under the toolbar. | Width at 1200 px: the filters already wrap. |
|
||||
| 2026-10-06 | The timeline is year bands with photos per month above the virtualised card grid, which stays visible. A month (click, or Enter from the keyboard) narrows to its year and scrolls to its first card once. | Replace the grid with a separate timeline list. | It reuses the virtualised grid and keeps the cards in sight (BRIEF §12.2 'timeline (year/month bands with density)'). |
|
||||
| 2026-10-06 | Origin filter: All origins / On this PC / Only on server. 'Only on server' means server sequences without a copy here; local copies that came from the server count as 'On this PC'. Remote cards count in the Year and Camera choices and in the timeline. | Filter by Sequence.Origin, which would mix local copies into 'Only on server'. | A remote card is what the user cannot open without proxies (BRIEF §4.4 mixed mode). |
|
||||
| 2026-10-06 | Remote card identity: a Sequence with Origin=Server and SyncState=RemoteOnly built from the server listing. Thumbnails come from the proxy cache, else the server thumb of the hero frame (or first frame, read as one row and remembered). Remote cards do not scrub. | Download the full manifest per card. | It is cheap, and the proxy cache is reused once opened. |
|
||||
| 2026-10-06 | Status filter adds Rendered, Not rendered and Synced (index columns rendered_count and sync_state). | Keep only the analysed/proxies/verified/warnings states. | Main.html shows 'Status: not rendered', and the brief's saved-view example needs it. |
|
||||
| 2026-10-06 | Rate and Tags… change only their own field from the current sidecar or index values (EditSequenceInfoAsync). | Write back the whole info from the Library's copy of the row. | The copy can be stale after an editor save or a settings sync; writing it back would undo those and bump the settings version. |
|
||||
| 2026-10-06 | Quick actions show on hover, on selection and while the keyboard is in the card or row, so Tab reaches them. The selected card's details panel also offers Render. | Hover only. | Keyboard access (DESIGN §4); the editor's frame rows do the same. |
|
||||
| 2026-10-06 | The Delete confirmation names at most 6 moves and 3 refusals (each with a '+ n more' line), in the UI font and reading direction (ConfirmRequest.IsDetailMonospaced=false). Fingerprints keep the mono, left-to-right detail. | A scrolling detail list. | It stays within a 768 px work area, and names are not fingerprints. |
|
||||
| 2026-10-06 | Archive dialog templates and their reviewed styles live in one shared dictionary (Archive/ArchiveDialogs.xaml) merged by ArchiveView and LibraryView. | Duplicate the templates in LibraryView. | Delete, Move and Tags… run from both screens, and one copy keeps the Archive review's fixes in both. |
|
||||
| 2026-10-06 | Delete, Restore, Rate and saved-view failures read as one localized sentence through ArchiveFailures.Cause. The engine's text goes to the log or the tooltip. | Show ex.Message in the toast. | BRIEF §0.2 rule 6, as the Archive manager's review established. |
|
||||
| 2026-10-06 | The web admin gets a dark theme: DESIGN dark tokens via light-dark(), following the OS setting, with a header toggle remembered per browser | Keep light-only as DESIGN.md §1 and DECISIONS 2026-10-02 say | BRIEF §14.8 says 'light/dark' and the Admin.html mockup has the Switch theme button; CLAUDE.md: the brief wins over the notes, and the mockup wins on looks |
|
||||
| 2026-10-06 | Tables are ARIA tables whose rows are CSS subgrids; fitColumns() measures the table and hides secondary columns level by level until the rows fit | The mockup's fixed tracks (… 210px) or fixed container-query breakpoints | Fixed widths cannot hold +40% translations (German row actions are about 330 px) or the side-panel state; measuring works for every language and width |
|
||||
| 2026-10-06 | Self reset is blocked twice: the UI shows Change password on the caller's own row and the server answers 409 'self' | Hide the button in the UI only | A reset revokes every token, the caller's included, so any client could lock the last admin out; the existing 'self' code and message already guard delete and demote |
|
||||
| 2026-10-06 | The sign-in log uses one audit query with a comma-separated action filter (AuditRepository.ListByActionsAsync) | Two client-side queries merged by time | A single cursor keeps 'Load more' paging correct |
|
||||
| 2026-10-06 | plural() uses Intl.PluralRules folded to Titano.Core's categories (two→few; zero→many in Latvian, else other) | Port the C# PluralRules table to JavaScript | Same results as the desktop for the shipped languages with far less duplicated code |
|
||||
| 2026-10-06 | Settings and archive validation messages are built in the panel from the field label (Admin.Common.Invalid), with a specific message for missing PEM files | Per-setting localized messages from the server (Server area resx) | The server's details already name the field; this keeps the change inside the panel and gives one sentence plus one action |
|
||||
| 2026-10-06 | The settings Save button moved into the sticky page header, like New user on the Users page | Offset the toast stack above page actions | Toasts can never cover it, and it stays reachable while editing a long form |
|
||||
| 2026-10-06 | Old single-form count keys stay in the catalogs unused, and new .one/.other keys were added | Rename or rewrite the existing keys | The rules forbid renaming or deleting keys; other cultures keep working until the integrator removes them |
|
||||
| 2026-10-06 | Empty-state buttons: Clear search; Show all (filtered jobs); Scan (empty jobs, empty charts and format table); a Users link (no render nodes); Refresh (activity, audit) | Leave the sentences without a button | BRIEF §0.2.6 asks for one sentence plus one button; each one is the most useful next step |
|
||||
| 2026-10-06 | Progress bars mirror in RTL (they fill from the reading start); charts keep a left-to-right axis; paths, templates, logs, IPs and fingerprints stay left to right | Mirror everything, or nothing | Follows the brief's RTL rules: time-axis charts and paths do not mirror, progress follows the reading direction |
|
||||
| 2026-10-06 | The side panel width is clamp(300px, 26vw, 340px) | A fixed 340 px (mockup) or 320 px (DESIGN) | It keeps the mockup's 340 px at 1440 and gives the table about 28 px more at 1200 |
|
||||
+1
-1
@@ -27,7 +27,7 @@ on behaviour, the brief wins; where they disagree on looks, the mockup wins.
|
||||
| `Brush.Error` | #F0625D | #C42B1C | errors, failed |
|
||||
| `Brush.Region` | #5AD1C8 | #1A9E95 | sky/landscape region masks only |
|
||||
|
||||
Dark is the client default; Light follows the OS setting; the web admin is Light-only.
|
||||
Dark is the client default; Light follows the OS setting; the web admin follows the browser's colour scheme, with a Light/Dark toggle in its header.
|
||||
Never use colour alone to carry state: pair it with a glyph (● ○ ◐ ▲ ✕ ▶) or a word.
|
||||
|
||||
## 2. Type (Segoe UI Variable, fallback Segoe UI; `FontSize` keys)
|
||||
|
||||
Reference in new issue
Block a user