Skip to content

Wire up variant analysis updates to Model Alerts view#3485

Merged
charisk merged 1 commit intomainfrom
charisk/va-updates-to-model-alerts
Mar 18, 2024
Merged

Wire up variant analysis updates to Model Alerts view#3485
charisk merged 1 commit intomainfrom
charisk/va-updates-to-model-alerts

Conversation

@charisk
Copy link
Copy Markdown
Contributor

@charisk charisk commented Mar 15, 2024

Updates model evaluation to listen to updates to pieces of state that relate to variant analyses (variant analysis, repo states, repo results) and propagate those updates to the Model Alerts view.

To achieve this, I've updated the VariantAnalysisManager to publish events for changes to the repo states and repo results (it was already publishing events for variant analyses updates).

The view doesn't use the repo states and repo results properly yet - it just prints stuff out as JSON.

Checklist

N/A:

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

@charisk charisk marked this pull request as ready for review March 15, 2024 14:57
@charisk charisk requested review from a team as code owners March 15, 2024 14:57
Copy link
Copy Markdown
Contributor

@shati-patel shati-patel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks! ✨

await this.updateView({
if (variantAnalysis.id === variantAnalysisId) {
// Update model editor view
await this.updateModelEditorView({
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating these names and making things clearer ❤️

@charisk charisk merged commit 79d4e8c into main Mar 18, 2024
@charisk charisk deleted the charisk/va-updates-to-model-alerts branch March 18, 2024 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants