Fix classify action being enabled for muted resources#7180
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Greptile SummaryFixed a bug where the classify action was incorrectly enabled for muted/ignored resources in the schema explorer tree. The fix adds a check to ensure that the classify action is only enabled for nodes that are both
Confidence Score: 5/5
Important Files Changed
|
Greptile's behavior is changing!From now on, if a review finishes with no comments, we will not post an additional "statistics" comment to confirm that our review found nothing to comment on. However, you can confirm that we reviewed your changes in the status check section. This feature can be toggled off in your Code Review Settings by deselecting "Create a status check for each PR". |
vcruces
left a comment
There was a problem hiding this comment.
Super clean and simple, thanks for fixing this so quickly!
Ticket ENG-2075
Description Of Changes
Fixed a bug where the classify action was incorrectly enabled for muted/ignored resources in the schema explorer tree. Muted resources should not be classifiable since they are intentionally ignored.
Code Changes
node.classifyabletonode.classifyable && node.diffStatus !== DiffStatus.MUTEDSteps to Confirm
Pre-Merge Checklist
CHANGELOG.mdupdatedmaindowngrade()migration is correct and works