Skip to content

"Delete from iPhone" on a kept Take in the moves list (#656) - #905

Merged
Skeyelab merged 2 commits into
mainfrom
feat/656-release-button
Oct 21, 2026
Merged

Skeyelab merged 2 commits into
mainfrom
feat/656-release-button

Conversation

@Skeyelab

@Skeyelab Skeyelab commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

#656, PR 3 of 3 (#865 the check, #866 the Kit action). Closes the issue.

A kept Take in the moves list (MoveReportSheet) gets a Delete from iPhone button (ThisHardware.word). Tapping it runs Recorder.checkRelease: "Checking the Drive…", then, only if the Drive holds everything the Device holds of the Take, a confirmation that names the Take, its Stems and their lengths, says the Drive copy stays and that it can't be undone on this iPhone. If the check fails: "Not deleted. The Take stays on this iPhone." plus the Kit's first reason. The button is disabled during a Take, a save or a move, with "Available once the current Take is saved."; the Kit refuses in those states too.

Availability (cos, per CLAUDE.md): hidden behind DeviceTakeDeleteAvailability, Debug + TestFlight only, never the App Store build, until Eric has tried it on a device. Raising it is a one-line PR.

Wording: proposed by me, reviewed and edited by agent3 (copy owner). It lives in DeviceTakeRelease.Summary.title/message (Kit) so it is tested (DeviceTakeReleaseWordsTests).

VERIFY full passes (package tests, macOS build and AppTests, iOS Simulator build). Not tried on a device or in the Simulator: the row, dialog and states are checked by build only. Eric should try it on the iPhone with a kept Take; delete is real and permanent on the iPhone, though the Drive copy is verified twice first.

Closes #656

https://claude.ai/code/session_01Wx6Spsz6BcTiKDzUUP9CzN

A Take the moves keep on the iPhone gets a button that asks the Kit whether the Drive holds
everything the iPhone holds of it, then confirms in words that name the Take, its Stems and
their lengths, that the Drive copy stays and that it can't be undone on the iPhone. Disabled
during a Take or a save. The words live in the Kit (DeviceTakeRelease.Summary) so they are tested.

Claude-Session: https://claude.ai/code/session_01Wx6Spsz6BcTiKDzUUP9CzN
@Skeyelab
Skeyelab enabled auto-merge (squash) October 21, 2026 03:26
…656)

It deletes the Device's copy of a Take, so it ships hidden behind DeviceTakeDeleteAvailability
until Eric has tried it on a device; raising it is that one rule.

Claude-Session: https://claude.ai/code/session_01Wx6Spsz6BcTiKDzUUP9CzN
@codecov

codecov Bot commented Oct 21, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 86.36364% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...urces/Recording/DeviceTakeDeleteAvailability.swift 40.00% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

@Skeyelab
Skeyelab merged commit 57b6a0a into main Oct 21, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drive only: a crashed Take that can't fully move stays on the iPhone, with a reason and a manual delete

1 participant