Docs UI: show recently uploaded/cretaed on the list#62
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAdded backend query param Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
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 |
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 `@app/knowledge-base/page.tsx`:
- Around line 467-471: Remove the explicit full-page reload: when the job status
variable (status) equals 'successful' do not call window.location.reload();
instead rely on the existing fetchCollections() polling/refresh mechanism
already invoked when jobs complete (fetchCollections()). Locate the block that
checks if (status.toLowerCase() === 'successful') and delete the
window.location.reload() call so state is preserved and updates come via
fetchCollections().
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: b41d80b3-4468-4260-9b37-f71f4f23b66c
📒 Files selected for processing (3)
app/api/collections/[collection_id]/route.tsapp/document/page.tsxapp/knowledge-base/page.tsx
Target issue is #63
Notes