fix(import): keep a server rename on re-import and show multi-day sessions

A whole folder imported again to the server sent its folder name as the
sequence title on every run, undoing a rename made on the server. The
sink now sends a typed title as before, but the folder's default name
only to a sequence that has no title yet (it reads the sequence first).
The archive already applied a title only when it created the sequence.

A session that ends on another day, as a whole folder often does,
showed only its first date ("28/09/2026 · 18:02 → 18:05"), which read
as a few minutes on one day. Its plan row and Show plan heading now
show both dates, from two new invariant resources (with the
right-to-left arrow).

The Gap and Minimum boxes now show their tooltip while disabled, so the
reason Whole folder turns them off reaches them, not only the Sessions
check box. Doc comments that said a merge needs the same camera now
mention the whole-folder rule.

Tests: a server whole-folder import run twice keeps the server's rename
and still applies a typed title; multi-day time text in both reading
directions; and the Import view model's Group rules (folder only, cards
planned by sessions, switching drops splits, tooltips say why).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-10-26 23:33:16 +01:00
1 parent a34b33d50b
commit a809416199
13 files changed
+181 -25

No files matched your search

+3 -2
View File
@@ -8,8 +8,8 @@ commits follow Conventional Commits (release notes are generated from them by `C
### Added
- Import › Folder…: **Group › Whole folder** imports the picked folder, with its subfolders when Subfolders is on, as
one sequence per file format, whatever the cameras and pauses (RAW+JPEG stays two sequences). The title defaults to
the folder's name, and an interrupted or repeated import of the folder continues the same sequence. Desktop only
(owner review 2, R9).
the folder's name, and an interrupted or repeated import of the folder continues the same sequence without renaming
it. Desktop only (owner review 2, R9).
- Server: `CHRONOS_SPACE_PATH` (`SpacePath` in `server.json`) makes the admin panel show the free space of that
folder's volume instead of the archive's. The Unraid template maps the share's array view (`/mnt/user0/Timelapse`)
read-only to `/space` (*Array view*), so the dashboard shows the array's free space, not the cache's (owner review 2,
@@ -37,6 +37,7 @@ commits follow Conventional Commits (release notes are generated from them by `C
(owner review 2, R4).
### Fixed
- Import: a session that ends on another day shows both dates in its plan row and in Show plan, not only the first.
- Server: completing an upload, a render upload or a render node's result now checks the archive volume's free space
first. A full volume answers 507 `insufficient_storage` and the upload stays resumable, instead of the copy into
staging failing (owner review 2, R2).