-
Notifications
You must be signed in to change notification settings - Fork 58
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
Select all oois triggers toggle all #2536
Merged
Merged
Conversation
This file contains 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
underdarknl
previously approved these changes
Feb 20, 2024
Checklist for QA:
What works:The code and check seem to work as expected. Nice explanation of what you are trying to fix with your PR! Ready for merge. What doesn't work:n/a Bug or feature?:n/a |
dekkers
reviewed
Feb 22, 2024
…s/nl-kat-coordination into fix-toggle-all-triggered-by-button
underdarknl
approved these changes
Feb 26, 2024
zcrt
pushed a commit
to zcrt/nl-kat-coordination
that referenced
this pull request
Feb 27, 2024
jpbruinsslot
added a commit
that referenced
this pull request
Mar 5, 2024
* main: (85 commits) Fix wrong solving of merge conflict (#2585) Add metrics collection for scheduler using prometheus (#2468) Hotfix for where_in queries for abstract types (#2577) Update django (#2587) Fix octopoes typing (#2555) Create findings report (#2393) Raise exception if boefje input OOI has been deleted (#2573) Set a timeout on hanging test ssl container (#2560) Feature/efficient reporting (#2516) Updated findings database. Removed old findings, added Impact, Source… (#2569) add unit test for web report (#2528) Add pool size config and logs (#2541) Quick fix for PDF table overflow (#2562) Fix/2527 octopoes unicode (#2558) Add return typing to report test fixtures (#2557) Sort vulnerabilities in vulnerability report (#2378) Disable ruff split-on-trailing-comma and update ruff (#2544) Select all oois triggers toggle all (#2536) Remove unnecessary toplevel dependencies (#2554) Make valid time required parameter in the octopoes API (#2543) ...
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.
Changes
Select all oois button triggered toggle all, which is not necessary.
The problem
Pressing the button "Continue with all OOIs" cannot go to the next page, because it triggers the toggle all functionality in JS which requires at least 1 checkbox to be selected from the list of objects(OOIs). No selection is needed with "Continue with all OOIs".
"Continue with all OOIs" should go to the next page with query parameter :
ooi="all"
and should not be interrupted by the toggle all functionality.Under what circumstances is this problem occurring?
screenshot:
Steps to reproduce
Possible solutions
Remove the button outside the ooi selection form and having its own form
What other options have you considered?
Put a
href
attribute, but then it also needs to continue with all the selection from query parameters, so need to refactor that as well.Solution
Remove the button outside the ooi selection form and having its own form
Code Checklist
Communication
.env
changes files if required and changed the.env-dist
accordingly.Checklist for code reviewers:
Copy-paste the checklist from the docs/source/templates folder into your comment.
Checklist for QA:
Copy-paste the checklist from the docs/source/templates folder into your comment.