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

Fix infinite progress bar when filtering students in an evaluation #4996

Merged
merged 3 commits into from
Sep 22, 2023

Conversation

jorg-vr
Copy link
Contributor

@jorg-vr jorg-vr commented Sep 22, 2023

Closes #4918

@jorg-vr jorg-vr added the bug Something isn't working label Sep 22, 2023
@jorg-vr jorg-vr requested a review from a team as a code owner September 22, 2023 08:10
@jorg-vr jorg-vr self-assigned this Sep 22, 2023
@jorg-vr jorg-vr requested review from bmesuere and niknetniko and removed request for a team September 22, 2023 08:10
Copy link
Member

@bmesuere bmesuere left a comment

Choose a reason for hiding this comment

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

This feels a bit like a hack. Why isn't the element present in the first place?

@jorg-vr
Copy link
Contributor Author

jorg-vr commented Sep 22, 2023

It is context depended. If there is scoring present, there will be a tab with scores of users.
If no scoring is made, this tab is not present. Which makes this feature crash.

If you prefer I can probably also fix this by a rails template check? (But that risks an edge case where the tab was not present before, but should be present now, which could create a bug....)

@jorg-vr
Copy link
Contributor Author

jorg-vr commented Sep 22, 2023

The issue is very similar to #4996

Copy link
Member

@niknetniko niknetniko left a comment

Choose a reason for hiding this comment

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

I we want to fix this like this (I have no opinion), could we do only one querySelector?

@jorg-vr jorg-vr merged commit 42aa7a7 into main Sep 22, 2023
12 of 13 checks passed
@jorg-vr jorg-vr deleted the fix/evaluation-loading branch September 22, 2023 11:35
@jorg-vr jorg-vr temporarily deployed to naos September 22, 2023 11:36 — with GitHub Actions Inactive
@jorg-vr jorg-vr temporarily deployed to production September 22, 2023 11:40 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Evaluation search acts as if it keeps searching
3 participants