After a move, the source doesn't delete its copy. It renames the folder into <library>/.jellymove-trash/, so nothing is lost if something went wrong. That's deliberate, but at the moment the trash can only be emptied by hand on the server's filesystem.
Until it's emptied, the moved item still takes up its full size on the source. That defeats the point of moving things off a small disk: in the first real move (U1 → X1, v0.1.1), the 2.6 GB film was still using space on U1 afterwards.
Proposal
Add a Trash view to the web UI, for both this server and the peer:
List what's in each library's .jellymove-trash/: item name, size, when it was moved, and which job moved it.
Show the total size per library and overall.
Empty a single item, or all trash for a library, with a confirmation.
Only allow emptying an item once its job is Done.
Deletion must go through the agent that owns the files. A peer may ask for trash to be emptied, but only by trash entry ID, never by path, in line with the existing rule that peers can only refer to files by index.
This is the UI half of "trash retention and a trash view" on the roadmap. Automatic retention (e.g. empty after N days) can follow separately.
Done when
Trash on both servers can be seen and emptied from the UI, with sizes shown.
Nothing outside .jellymove-trash/ can be deleted through this feature.
E2E test covering: move → item appears in trash → empty → folder gone.
## Background
After a move, the source doesn't delete its copy. It renames the folder into `<library>/.jellymove-trash/`, so nothing is lost if something went wrong. That's deliberate, but at the moment the trash can only be emptied by hand on the server's filesystem.
Until it's emptied, the moved item still takes up its full size on the source. That defeats the point of moving things off a small disk: in the first real move (U1 → X1, v0.1.1), the 2.6 GB film was still using space on U1 afterwards.
## Proposal
Add a **Trash** view to the web UI, for both this server and the peer:
- List what's in each library's `.jellymove-trash/`: item name, size, when it was moved, and which job moved it.
- Show the total size per library and overall.
- Empty a single item, or all trash for a library, with a confirmation.
- Only allow emptying an item once its job is `Done`.
Deletion must go through the agent that owns the files. A peer may ask for trash to be emptied, but only by trash entry ID, never by path, in line with the existing rule that peers can only refer to files by index.
This is the UI half of "trash retention and a trash view" on the roadmap. Automatic retention (e.g. empty after N days) can follow separately.
## Done when
- Trash on both servers can be seen and emptied from the UI, with sizes shown.
- Nothing outside `.jellymove-trash/` can be deleted through this feature.
- E2E test covering: move → item appears in trash → empty → folder gone.
ClaudeBot
added this to the v0.2.0 milestone 2026-11-06 16:05:14 +01:00
New Trash tab: lists trash on either server with size, file count, when and where each item was moved, and empties one item, a library or everything after a confirmation.
Entries are deleted by opaque ID only, resolved by scanning the trash folders. Only real folders directly inside .jellymove-trash/ can be removed.
Each move now gets its own trash entry, which also fixes moves failing when the same item had been trashed before.
Emptying doesn't wait for the job to reach Done. The source only trashes a folder after the destination has indexed it and applied watch state, and checking the job would mean the source calling the destination, which U1 can't do yet.
Done in 4c6217bd4062985af47c1beab771d69c0b9a3aec on `develop`, for v0.2.0.
- New **Trash** tab: lists trash on either server with size, file count, when and where each item was moved, and empties one item, a library or everything after a confirmation.
- Entries are deleted by opaque ID only, resolved by scanning the trash folders. Only real folders directly inside `.jellymove-trash/` can be removed.
- Each move now gets its own trash entry, which also fixes moves failing when the same item had been trashed before.
- Emptying doesn't wait for the job to reach `Done`. The source only trashes a folder after the destination has indexed it and applied watch state, and checking the job would mean the source calling the destination, which U1 can't do yet.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Background
After a move, the source doesn't delete its copy. It renames the folder into
<library>/.jellymove-trash/, so nothing is lost if something went wrong. That's deliberate, but at the moment the trash can only be emptied by hand on the server's filesystem.Until it's emptied, the moved item still takes up its full size on the source. That defeats the point of moving things off a small disk: in the first real move (U1 → X1, v0.1.1), the 2.6 GB film was still using space on U1 afterwards.
Proposal
Add a Trash view to the web UI, for both this server and the peer:
.jellymove-trash/: item name, size, when it was moved, and which job moved it.Done.Deletion must go through the agent that owns the files. A peer may ask for trash to be emptied, but only by trash entry ID, never by path, in line with the existing rule that peers can only refer to files by index.
This is the UI half of "trash retention and a trash view" on the roadmap. Automatic retention (e.g. empty after N days) can follow separately.
Done when
.jellymove-trash/can be deleted through this feature.Done in
4c6217bd40ondevelop, for v0.2.0..jellymove-trash/can be removed.Done. The source only trashes a folder after the destination has indexed it and applied watch state, and checking the job would mean the source calling the destination, which U1 can't do yet.