-
Notifications
You must be signed in to change notification settings - Fork 218
Add model alerts stats to the view #3481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
f8ae2aa to
25d0335
Compare
| import { ModelAlerts as ModelAlertsComponent } from "../../view/model-alerts/ModelAlerts"; | ||
|
|
||
| export default { | ||
| title: "CodeQL Model Alerts/CodeQL Model Alerts", | ||
| title: "Model Alerts/Model Alerts", | ||
| component: ModelAlertsComponent, | ||
| } as Meta<typeof ModelAlertsComponent>; | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't get anything to appear in the main "model alerts" story (only in the new "model alerts header" story) 🤔
I could delete it, but I'm probably just doing something stupid to prevent things from working 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We (me) probably broke the story - you shouldn't need to do anything to get it working. I can take a look.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR to fix this: #3490
| case "openLogs": | ||
| await this.app.commands.execute( | ||
| "codeQL.openVariantAnalysisLogs", | ||
| 123, // TODO: Get the actual variantAnalysisId |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't figure out how to get the variant analysis (ID) at this point 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can get send the id in the message from the view.
charisk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Add a stats row to the model alerts view
Checklist
N/A
ready-for-doc-reviewlabel there.