Add installed repo and exclude filters#168
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
Walkthroughスキル種別の除外フィルタとリポジトリ(ソース)ファセットを追加。Redux に excludedSkillTypeFilters を導入し、セレクタで除外を差し引いたフィルタ結果とソース別件数を生成。MainContent に除外チェックと repo ドロップダウンを実装し、空状態メッセージに除外文脈を反映。 ChangesExclude filters and repository facet feature
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/renderer/src/components/layout/MainContent.tsx`:
- Around line 200-203: selectedSkillTypeLabel uses a non-null assertion on
SKILL_TYPE_FILTER_OPTIONS.find(... ) which can throw if no match for
skillTypeFilter; change to a safe lookup and provide a fallback label (e.g.,
empty string or "Unknown") by using optional chaining or conditional logic
instead of `!`, and keep availableExcludeTypes =
getAvailableExcludeTypes(skillTypeFilter) as-is; update the expression that
computes selectedSkillTypeLabel to handle undefined cases so the UI never
accesses `.label` on undefined.
🪄 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: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 00bbb4ab-2a29-4a3a-b5c3-49960e314b54
📒 Files selected for processing (10)
src/renderer/src/components/layout/MainContent.browser.test.tsxsrc/renderer/src/components/layout/MainContent.tsxsrc/renderer/src/components/skills/SkillsList.tsxsrc/renderer/src/components/skills/skillsListHelpers.test.tssrc/renderer/src/components/skills/skillsListHelpers.tssrc/renderer/src/components/ui/FilterPill.tsxsrc/renderer/src/redux/selectors.test.tssrc/renderer/src/redux/selectors.tssrc/renderer/src/redux/slices/uiSlice.test.tssrc/renderer/src/redux/slices/uiSlice.ts
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #168 +/- ##
==========================================
+ Coverage 55.56% 56.06% +0.50%
==========================================
Files 184 184
Lines 4571 4664 +93
Branches 950 975 +25
==========================================
+ Hits 2540 2615 +75
- Misses 1819 1830 +11
- Partials 212 219 +7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary
Validation
Review Notes
Summary by CodeRabbit
リリースノート
新機能
改善
テスト