Skip to content

Allow Test Results to be Visible on First Click #126

@zihanKuang

Description

@zihanKuang

When you exit and then click to re-enter, the results are not visible. The results are only displayed in the feedback immediately after a submission. When you first click to enter, the answers are not returned.

The backend only saves the score and pass/fail status of your quiz, but not the specific answers you submitted at that time.

The function that the frontend calls when you click "Submit" is located at: https://github.com/layer5io/meshery-cloud/blob/master/server/handlers/academy/quiz.go#L214C1-L214C67.

https://github.com/layer5io/meshery-cloud/blob/master/server/handlers/academy/quiz.go#L70C26-L70C46

This code does not store the submitted answers. The field is declared in the schema here: https://github.com/meshery/schemas/blob/master/schemas/constructs/v1beta1/academy/openapi.yml#L1232.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions