Add page to display cohort derived collections - #1595
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (5)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughAdds staff-only cohort filtering to the collection list. Cohort actions now link to filtered collections. The template shows the active cohort and can clear the filter. Browser coverage validates filtered, unfiltered, and non-staff behavior. ChangesCohort collection filtering
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to Staff can view collections derived from a selected cohort and return to the full collection list, while non-staff requests ignore the cohort filter. The change has focused browser coverage and no remaining merge-blocking risk is identified. Sequence Diagram(s)sequenceDiagram
participant StaffUser
participant CohortActions
participant CollectionView
participant CollectionTemplate
StaffUser->>CohortActions: select View Derived Collections
CohortActions->>CollectionView: request with cohort and magic_filter
CollectionView->>CollectionTemplate: render filtered collections and cohort
CollectionTemplate-->>StaffUser: show derived collections and Show all collections
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 6 functions across 3 files. (2 skipped: 2 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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 |
Summary by CodeRabbit