Uh oh!
There was an error while loading. Please reload this page.
fix: show toast notification when grouped export format is unavailable - #29
Conversation
Previously, when the backend returned success: false with an error for grouped format, the error was silently ignored. Now displays a toast message and reverts the format selector to Row.
📝 WalkthroughWalkthroughAdded post-response error handling in the evaluation export flow that displays error messages via toast notifications and forces the export format to 'row' when the backend returns an error response. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
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. Comment |
Uh oh!
There was an error while loading. Please reload this page.
Target Issue: #30
Summary:
success: falsewith an error for the grouped format, the error was silently ignored.Reason for the issue:
question_idis only created when a new dataset is uploaded.question_id, which caused the grouped format to fail silently.How it looks: