-
Notifications
You must be signed in to change notification settings - Fork 923
Remove todo!() in pause/resume and fix timing on macos #1153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -232,7 +232,6 @@ export const Caps = ({ | |||||
data.error === 1 ? "" : "s" | ||||||
}`; | ||||||
} | ||||||
router.refresh(); | ||||||
return `Successfully deleted ${data.success} cap${ | ||||||
data.success === 1 ? "" : "s" | ||||||
}`; | ||||||
|
@@ -267,7 +266,7 @@ export const Caps = ({ | |||||
[data, isUploading, uploadingCapId], | ||||||
); | ||||||
|
||||||
if (count === 0 && folders.length === 0) return <EmptyCapState />; | ||||||
if (count === 0) return <EmptyCapState />; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reconsider empty state condition. The empty state now displays when Consider restoring the original condition: -if (count === 0) return <EmptyCapState />;
+if (count === 0 && folders.length === 0) return <EmptyCapState />; 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
||||||
|
||||||
return ( | ||||||
<div className="flex relative flex-col w-full h-full"> | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Propagate cancel failure during restart
We now discard
recording.cancel().await
errors, so a failed cancel silently falls through to a newstart_recording
while the previous pipeline may still be alive. That can leak temp dirs and confuse state. Please propagate the error (e.g. returnErr(err.to_string())
) before continuing.📝 Committable suggestion
🤖 Prompt for AI Agents