Repository navigation
Remove unused legacy js code from participant tagging - #1565
Merged
Merged
Conversation
ihalaij1
approved these changes
Nov 13, 2026
ihalaij1
left a comment
Contributor
There was a problem hiding this comment.
Nice!
I deleted two orphaned translations.
Contributor
Author
|
Nice, thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
What?
CodeQL warned about a potential XSS issue so I investigated this and found, that the vulnerable code was actually never reached and could be removed (along with some related code). The old code was left in place after my earlier PR which changed the logic with which student tags are removed. Earlier it was possible to select multiple students from the list, then from one of the students, click on a tag and remove it from all currently selected students. This was quite confusing so I changed it so, that there is a separate "global" button to remove a tag from selected students, and the context-sensitive menus opening when clicking on a single tag only affect that particular one. This PR removes all the related legacy code, including one whole html template that was no longer needed as it is now created in javascript.
This change should not have any effect on the UI. One e2e test failed for me, but that was unrelated to this.
Fixes #1564
Testing
Remember to add or update unit tests for new features and changes.
What type of test did you run?
[ADD A DESCRIPTION ABOUT WHAT YOU TESTED MANUALLY]
Did you test the changes in
Think of what is affected by these changes and could become broken
Translation
Programming style
Have you updated the README or other relevant documentation?
Is it Done?
Clean up your git commit history before submitting the pull request!