Hide AI triage panel when unavailable and prevent auto-requests#1611
Hide AI triage panel when unavailable and prevent auto-requests#1611prathmeshpatel merged 1 commit intomainfrom
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
5562168 to
8c7d2fa
Compare
eec1488 to
cffa855
Compare
8c7d2fa to
cc3c105
Compare
cc3c105 to
ea7fd0e
Compare
cffa855 to
7b6571d
Compare
ea7fd0e to
381213c
Compare
3421fa3 to
7c2ec0a
Compare
381213c to
1dadedf
Compare
7c2ec0a to
bc79e76
Compare
5f1dbd2 to
6f74f89
Compare
bc79e76 to
55c03d6
Compare
6f74f89 to
6322213
Compare
55c03d6 to
16823f0
Compare
6322213 to
f97123d
Compare
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
WalkthroughThe change adds runtime availability detection for the AI triage feature: 📝 Coding Plan
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 |

TL;DR
Added proper handling for unavailable AI triage functionality to prevent auto-requests and hide UI panels when the backend mutation doesn't exist.
What changed?
unavailablestate to theuseCommitTriagehook that gets set when the triage mutation is not registeredunavailableis true