-
Notifications
You must be signed in to change notification settings - Fork 26
Fix filter #526
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 filter #526
Conversation
… slash to result and history URLs.
matsduf
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I can see filtering works.
tgreenx
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Release tested on Debian 13 and works as advertised. Thanks for the fix!
| if (currentState === 'complete' && previousState === 'testing') { | ||
| const base = import.meta.env.BASE_URL; | ||
| document.location.href = `${base}${getLocale()}/result/${currentContext.testId}`; | ||
| document.location.href = `${base}${getLocale()}/result/${currentContext.testId}/`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Out of curiosity, any particular reason for this change?) Nvm, commit 692f1dc message description explains it :)
MichaelTimbert
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Release tested on Rocky 8. Everything good.
marc-vanderwal
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested it on my end and I see no problems either. Thanks for the fix!
Purpose
Fixes #525
Context
resultcould no longer be updated after it was converted to a derived rune, since derived state is immutable. This change moves the filtering logic into the derived computation somodulesandmodulesMapupdate reactively.Changes
resultfiltering into the derived computationmodulesandmodulesMapupdate when filters changeHow to test this PR
Run a test and apply filters to the result. Verify that the displayed modules update correctly.