fix: Add project chips to notebooks including private projects#3935
fix: Add project chips to notebooks including private projects#3935cemreinanc merged 6 commits intomainfrom
Conversation
Notebooks were missing project chips (tournaments, question series, etc.) while question-posts displayed them correctly. This fix adds all project types as chips to notebooks, matching the behavior of question-posts. This includes private project chips which were completely missing from notebooks but are now displayed consistently with how they appear on question-posts. Fixes #3924 Co-authored-by: Sylvain <SylvainChevalier@users.noreply.github.com>
📝 WalkthroughWalkthroughRemoved category display from the notebook page and refactored notebook editor to aggregate multiple project sources and render them as Chip components with type-based coloring and custom chip text. Changes
Sequence Diagram(s)(omitted) Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
🧰 Additional context used🧬 Code graph analysis (1)front_end/src/app/(main)/notebooks/components/notebook_editor/index.tsx (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
🔇 Additional comments (3)
✏️ Tip: You can disable this entire section by setting Comment |
🧹 Preview Environment Cleaned UpThe preview environment for this PR has been destroyed.
Cleanup triggered by PR close at 2026-01-23T16:44:30Z |
- Removed unused project chip rendering logic from IndividualNotebookPage. - Consolidated project chip display in NotebookEditor, ensuring default and other projects are shown correctly. - Updated imports to reflect the removal of unused components and functions.
Fixes #3924
Notebooks were missing project chips (tournaments, question series, etc.) while question-posts displayed them correctly. This fix adds all project types as chips to notebooks, matching the behavior of question-posts.
This includes private project chips which were completely missing from notebooks but are now displayed consistently with how they appear on question-posts.
Changes
front_end/src/app/(main)/notebooks/[id]/[[...slug]]/page_compotent.tsxto display project chipsGenerated with Claude Code
Summary by CodeRabbit
Improvements
UI Changes
✏️ Tip: You can customize this high-level summary in your review settings.