mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-12-03 20:41:50 +01:00
Discarding one queued change drops every change queued on the same node: a file on Drive goes back to how Drive has it, and a node made here is removed. The dialog was titled "Discard Change?" and named one change, so discarding a failed rename could also undo a later edit. The queue listing now carries each op's node and whether Drive ever had it (PendingOpInfo::node, ::local_only, both serde-defaulted). The dialog lists every change the discard drops, says which of the two outcomes applies, counts them in the heading and the button, and offers "Export My Version…" for the newest content among them. The discard sim now also checks that an edit and a rename of one file share a node, and that only a file made here is local_only.