P4-6: Files-on-demand UI and setup flow #49
Labels
No labels
data-integrity
engine
platform
procurement
remote
scaffold
ui
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Cordy/cairn-desktop#49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Depends on P4-5.
Goal
Make hydration state and disk usage legible, and let the user control both without reading
documentation.
Files
internal/app/status.go,internal/app/setup.go,frontend/*frontend/storage.*Setup wizard changes (P3-4)
Files-on-demand changes the first question the wizard asks. Offer the choice explicitly:
concrete numbers: "Your Cairn is 2.1 TB. This device has 180 GB free."
Making it a real choice with real numbers is what stops people picking the wrong one and then
filling their disk.
macOS is different and the wizard must say so. With files-on-demand enabled, macOS places
the domain in Finder's sidebar rather than at a folder path the user chooses (P4-3). Do not
pretend the platforms behave identically — explain it in one sentence.
Status window
offline · pinned.
Pin controls
users already know them from OneDrive.
Hydration feedback
leave a zero-byte file behind. A truncated file that opens and shows nothing is worse than a
clear failure.
Offline behaviour
This is the sharp edge of the whole feature. When the device is offline, placeholders cannot
be opened.
for immediately after their first flight.
Steps
git commit -s -m "feat(app): files-on-demand UI and setup flow"Acceptance criteria