Skip to content

Update forest plot UI visibility and enabling#445

Merged
FBartos merged 3 commits into
jasp-stats:masterfrom
FBartos:fix-forest-tau
Jul 2, 2026
Merged

Update forest plot UI visibility and enabling#445
FBartos merged 3 commits into
jasp-stats:masterfrom
FBartos:fix-forest-tau

Conversation

@FBartos

@FBartos FBartos commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Hide and disable forest plot options that are not applicable to multilevel/multivariate meta-analysis and scale-regression models.

Added visibility checks to the Estimate section and individual heterogeneity checkboxes (tau, tau^2, I^2, H^2) for analysisType === "multilevelMultivariateMetaAnalysis", adjusted enabled/checked conditions to also exclude multilevel/multivariate and scale-regression cases, and updated informational text for I^2 and H^2. Also prevent fixed-effect estimate/test when scale regression is present and require isMetaRegression for the moderation test. These changes ensure the UI only presents valid options for the selected analysis type.

Hide and disable forest plot options that are not applicable to multilevel/multivariate meta-analysis and scale-regression models. Added visibility checks to the Estimate section and individual heterogeneity checkboxes (tau, tau^2, I^2, H^2) for analysisType === "multilevelMultivariateMetaAnalysis", adjusted enabled/checked conditions to also exclude multilevel/multivariate and scale-regression cases, and updated informational text for I^2 and H^2. Also prevent fixed-effect estimate/test when scale regression is present and require isMetaRegression for the moderation test. These changes ensure the UI only presents valid options for the selected analysis type.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the forest plot QML section to hide/disable model-information options that are invalid for multilevel/multivariate meta-analysis and for heterogeneity meta-regression (scale regression), so the UI better matches what the backend can meaningfully report.

Changes:

  • Hide heterogeneity Estimate subsection (and related τ/τ²/I²/H² controls) for analysisType === "multilevelMultivariateMetaAnalysis".
  • Disable I²/H² estimates and fixed-effect estimate/test in scale-regression cases; tighten moderation-test enabling to require isMetaRegression.
  • Bump module version and add NEWS entry for the fix.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
inst/qml/qml_components/ForestPlotSection.qml Adds visibility/enabling rules for forest plot model-information options across analysis types.
NEWS.md Adds changelog entry for 0.97.0 fix.
DESCRIPTION Bumps package version to 0.97.0.

Comment thread inst/qml/qml_components/ForestPlotSection.qml
Comment thread inst/qml/qml_components/ForestPlotSection.qml
Comment thread inst/qml/qml_components/ForestPlotSection.qml
Comment thread inst/qml/qml_components/ForestPlotSection.qml

@juliuspfadt juliuspfadt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can you address the copilot feedback?

@FBartos

FBartos commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator Author

fixed

@FBartos FBartos requested a review from juliuspfadt July 1, 2026 15:18
@juliuspfadt

Copy link
Copy Markdown
Contributor

build builder bot build for glory

@FBartos FBartos merged commit 843e158 into jasp-stats:master Jul 2, 2026
5 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants