Improve export failure diagnostics#536
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThis PR standardizes export/save error diagnostics and surfaces them in the UI, preserves multiline export error formatting, and memoizes a countdown-overlay cleanup callback used by the screen recorder. Changes touch export/error messaging in VideoEditor, ExportDialog rendering, and useScreenRecorder cleanup wiring. ChangesExport & Recorder Error Diagnostics
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 6/8 reviews remaining, refill in 15 minutes.Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@src/components/video-editor/ExportDialog.tsx`:
- Line 164: The error paragraph in ExportDialog.tsx currently uses
"whitespace-pre-wrap" which preserves newlines but allows very long tokens to
overflow; update the <p> that renders the error (the node showing {error}) to
include the Tailwind word-break class (e.g., add "break-words") so long
paths/URLs wrap within the modal — keep existing classes and just append
"break-words" to the className for the error paragraph.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: e5d7af31-b76f-43ba-972a-b0459a6b0196
📒 Files selected for processing (3)
src/components/video-editor/ExportDialog.tsxsrc/components/video-editor/VideoEditor.tsxsrc/hooks/useScreenRecorder.ts
Summary
Testing
Summary by CodeRabbit