Skip to content

Conversation

@henchaves
Copy link
Member

@henchaves henchaves commented Jul 4, 2023

Description

This PR aims to fix the UI on the Debugger tab when changing from one instance to another. The actual value was changing before modifying the colour. Now, all results will be forced to be rendered again.

Also, a few components were migrated to Composition API in this PR:

  • PredictionResults.vue
  • Inspector.vue
  • ResultPopover.vue

Related Issue

GSK-1289 (available on Linear)

Type of Change

  • 📚 Examples / docs / tutorials / dependencies update
  • 🔧 Bug fix (non-breaking change which fixes an issue)
  • 🥂 Improvement (non-breaking change which improves an existing feature)
  • 🚀 New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 🔐 Security fix

@linear
Copy link

linear bot commented Jul 4, 2023

GSK-1289 UI issue. Incorrect colour of correctly predicted labels.

Pay attention on the "Prediction" zone. When samples changed from correctly predicted to incorrectly, colour is switched from green to red too early.

076bc90e-b785-40d6-9067-5395912fc3aa

@henchaves henchaves changed the title [GSK-1289 UI issue incorrect colour of correctly predicted labels [GSK-1289] UI issue incorrect colour of correctly predicted labels Jul 4, 2023
@henchaves henchaves marked this pull request as ready for review July 4, 2023 10:47
henchaves and others added 3 commits July 4, 2023 14:22
…ssue-incorrect-colour-of-correctly-predicted-labels

# Conflicts:
#	frontend/src/views/main/project/Inspector.vue
@henchaves henchaves requested a review from kevinmessiaen July 4, 2023 12:27
@henchaves henchaves self-assigned this Jul 4, 2023
@henchaves henchaves requested a review from AbSsEnT July 4, 2023 12:27
const errorLoadingMetadata = ref("")
const dataErrorMsg = ref("")
const classificationResult = ref("")
const debouncingTimeout = ref(500);
Copy link
Member

Choose a reason for hiding this comment

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

This can be a constant since its immutable const debouncingTimeout = 500

Copy link
Member Author

Choose a reason for hiding this comment

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

It's true, I forgot to convert it as a constant when migrating

henchaves and others added 3 commits July 7, 2023 11:58
…ssue-incorrect-colour-of-correctly-predicted-labels

# Conflicts:
#	frontend/src/views/main/project/Inspector.vue
@henchaves henchaves requested a review from kevinmessiaen July 7, 2023 10:09
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@kevinmessiaen kevinmessiaen merged commit 34ba392 into main Jul 10, 2023
@Hartorn Hartorn deleted the feature/gsk-1289-ui-issue-incorrect-colour-of-correctly-predicted-labels branch September 13, 2023 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants