Skip to content

Conversation

@tbleckert
Copy link
Contributor

Purpose

Fixes #525

Context

result could 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 so modules and modulesMap update reactively.

Changes

  • Move result filtering into the derived computation
  • Ensure modules and modulesMap update when filters change

How to test this PR

Run a test and apply filters to the result. Verify that the displayed modules update correctly.

@matsduf matsduf added the RC-None Release category: Not to be included in Changes file. label Dec 18, 2025
@matsduf matsduf added this to the v2025.2 milestone Dec 18, 2025
@tgreenx tgreenx linked an issue Dec 18, 2025 that may be closed by this pull request
Copy link
Contributor

@matsduf matsduf left a 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.

Copy link
Contributor

@tgreenx tgreenx left a 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}/`;
Copy link
Contributor

@tgreenx tgreenx Dec 18, 2025

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 :)

@tgreenx tgreenx added the V-Patch Versioning: The change gives an update of patch in version. label Dec 18, 2025
Copy link

@MichaelTimbert MichaelTimbert left a 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.

Copy link
Contributor

@marc-vanderwal marc-vanderwal left a 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!

@tgreenx tgreenx merged commit 46bdf5f into zonemaster:develop Dec 18, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RC-None Release category: Not to be included in Changes file. V-Patch Versioning: The change gives an update of patch in version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New GUI: severity level filters do not work

5 participants