Skip to content
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

Results: Show success, anomaly and failed counts on items #346

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

sdsantos
Copy link
Collaborator

Closes #340

@sdsantos sdsantos requested a review from aanorbel December 10, 2024 18:45
}

when {
descriptorName == "websites" || firstTest == TestType.WebConnectivity -> {
Copy link
Member

Choose a reason for hiding this comment

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

I would rather the test names come from a defined type/enum

Copy link
Member

Choose a reason for hiding this comment

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

Is there some way we can make this view be general enough to not be so reliant on specific descriptor name and test_names?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Is there some way we can make this view be general enough to not be so reliant on specific descriptor name and test_names?

The requirement was to match the previous UI we had. Each one has a different name for anomalies, and we show the total websites tested. If it's OK to just use a more generic term for all of them, then we can simplify this.

Not sure how to deal with performance, which is showing quite different information. Should we just show if the tests didn't fail? Or start showing the performance summary like before?

Screenshot 2024-12-17 at 10 37 17

Comment on lines 6 to 8
val doneMeasurementsCount: Long,
val failedMeasurementsCount: Long,
val anomalyMeasurementsCount: Long,
Copy link
Member

Choose a reason for hiding this comment

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

Maybe something like this.
measurementCount: MeasurementCount

data class MeasurementCount( val done: Int, val failed: Int, val anomaly: Int ) { fun total() = done + failed + anomaly }

@sdsantos sdsantos requested a review from aanorbel December 18, 2024 12:39
@sdsantos
Copy link
Collaborator Author

I made changes in the migrations in #355. So let's merge that PR first, before merging this one, to avoid DB corruptions.

Copy link
Member

@aanorbel aanorbel left a comment

Choose a reason for hiding this comment

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

🐳

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.

Results: Show success, anomaly and failed counts on items
3 participants