Files desk: Stop a send in flight, show replaces loops, freshest last event on add #151
Loading…
Reference in a new issue
No description provided.
Delete branch "void/files-desk-send-cancel"
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?
Follow-up
ratatoskr:follow_up:files-desk-release-146-and-send-cancel.sendShareSettakesport.signal; an abort marks the running file and every later one unsent with reasonstopped, so they stay picked (remainingAfter) and one tap resumes.ShareSetcancels the running upload throughonPromise+mx.cancelUpload; the controller hasstop(); the sending view has aStoprow.foldVersionsshows files that replace one another with no head outside the loop, none folded (test fails on the old return).freshest()moveslastIdto the newest sent event of that thread in the room's live timeline at send time (ExistingAlbum.lastTs;lastEventreplaceslastEventId).Untested: the real
mx.cancelUploadabort against a live upload (the ShareSet wiring is read, not run; the sendShareSet side is tested with an abort-throwing port); timeline events in a zone room that is never opened.🤖 Generated with Claude Code