mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2025-12-11 20:15:30 +01:00
feat: Add pause and resume functionality for jobs in Spacedrive
- Implemented pauseJob and resumeJob methods in DaemonConnector to manage job states. - Updated SharedAppState to handle new pause and resume actions. - Introduced JobActionButton in JobRowView for user interaction to pause or resume jobs. - Enhanced launch configuration in VSCode for debugging Spacedrive applications.
This commit is contained in:
parent
601d9ae8c2
commit
94526824e6
18
.vscode/launch.json
vendored
18
.vscode/launch.json
vendored
@ -115,6 +115,24 @@
|
||||
"name": "Release SwiftUIDemo (packages/rust-swift/swift-ui)",
|
||||
"program": "${workspaceFolder:spacedrive}/packages/rust-swift/swift-ui/.build/release/SwiftUIDemo",
|
||||
"preLaunchTask": "swift: Build Release SwiftUIDemo (packages/rust-swift/swift-ui)"
|
||||
},
|
||||
{
|
||||
"type": "swift",
|
||||
"request": "launch",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder:spacedrive}/apps/macos",
|
||||
"name": "Debug Spacedrive (apps/macos)",
|
||||
"program": "${workspaceFolder:spacedrive}/apps/macos/.build/debug/Spacedrive",
|
||||
"preLaunchTask": "swift: Build Debug Spacedrive (apps/macos)"
|
||||
},
|
||||
{
|
||||
"type": "swift",
|
||||
"request": "launch",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder:spacedrive}/apps/macos",
|
||||
"name": "Release Spacedrive (apps/macos)",
|
||||
"program": "${workspaceFolder:spacedrive}/apps/macos/.build/release/Spacedrive",
|
||||
"preLaunchTask": "swift: Build Release Spacedrive (apps/macos)"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -97,3 +97,4 @@ mod tests {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -350,3 +350,4 @@ Rich UI/API responses
|
||||
---
|
||||
|
||||
This design provides a comprehensive, extensible foundation for job-action relationships that will improve user experience, debugging capabilities, and system observability across the entire Spacedrive platform.
|
||||
|
||||
|
||||
@ -153,3 +153,4 @@ fn demo_enhanced_progress_event() {
|
||||
println!("✅ Rich debugging info: location_id, device_id, trigger method");
|
||||
println!("✅ Full audit trail: user action → job → progress → completion");
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user