Skip to content

Comments

sem module improvements#360

Open
juliuspfadt wants to merge 6 commits intojasp-stats:masterfrom
juliuspfadt:feature/help-info-titlecase-preload
Open

sem module improvements#360
juliuspfadt wants to merge 6 commits intojasp-stats:masterfrom
juliuspfadt:feature/help-info-titlecase-preload

Conversation

@juliuspfadt
Copy link
Contributor

  • Replace help files with inline info fields on all QML controls across SEM, Mediation Analysis, MIMIC, PLS-SEM, and MNLFA
  • Standardize all table, plot, and container titles to Title Case across all R files
  • Wrap missing user-visible strings in gettext() for internationalization
  • Fix initCollapsed parameter placement in PLS-SEM correlation containers
  • Enable preloadData for all analyses
  • Fix "Residuals" → "Residual" in covariance matrix titles for consistency

juliuspfadt and others added 2 commits February 23, 2026 09:19
- Replace help files with inline info fields on all QML controls
- Standardize table/plot/container titles to Title Case
- Wrap missing strings in gettext() for i18n
- Fix initCollapsed placement in PLS-SEM correlation containers
- Fix "Residuals" → "Residual" in covariance matrix titles
- Enable preloadData for all analyses

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@juliuspfadt juliuspfadt changed the title Feature/help info titlecase preload sem module improvements Feb 23, 2026
@codecov-commenter
Copy link

codecov-commenter commented Feb 23, 2026

Codecov Report

❌ Patch coverage is 83.58974% with 32 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.41%. Comparing base (e60e5cb) to head (a6926c8).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
R/sem.R 72.97% 20 Missing ⚠️
R/plssem.R 74.35% 10 Missing ⚠️
R/lgcm.R 97.36% 1 Missing ⚠️
R/moderatedNonLinearFactorAnalysis.R 90.90% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #360      +/-   ##
==========================================
+ Coverage   61.67%   70.41%   +8.73%     
==========================================
  Files          13       13              
  Lines        6437     6537     +100     
==========================================
+ Hits         3970     4603     +633     
+ Misses       2467     1934     -533     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

juliuspfadt and others added 2 commits February 23, 2026 14:12
- MIMIC: add additionalFitMeasures, rSquared, pathPlot, syntax tests
- MediationAnalysis: add rSquared, pathPlot, syntax tests
- LGCM: add quadratic growth, additionalFit, rSquared, impliedCov,
  residualCov, syntax, curvePlot, pathPlot tests
- SEM: add equality constraints (loading, intercept, regression,
  latent covariance) multigroup tests
- PLSSEM: add endogenous indicator prediction test
- MNLFA: add configural invariance, loadings, factor variance/means/
  covariances, fit-per-group tests
- Remove empty R/moderation.R

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR modernizes the SEM module by replacing separate help files with inline tooltips, standardizing UI text formatting, and improving internationalization support.

Changes:

  • Replaced markdown help files with inline info fields on all QML controls across SEM, Mediation Analysis, MIMIC, PLS-SEM, and MNLFA analyses
  • Standardized all table, plot, and container titles to Title Case (e.g., "Model fit" → "Model Fit", "Std. error" → "Std. Error")
  • Wrapped previously unwrapped user-visible strings in gettext() for proper internationalization
  • Fixed initCollapsed parameter placement in PLS-SEM correlation containers
  • Enabled preloadData at module level for all analyses
  • Fixed inconsistent naming: "Residuals covariance matrix" → "Residual Covariance Matrix"

Reviewed changes

Copilot reviewed 27 out of 29 changed files in this pull request and generated no comments.

Show a summary per file
File Description
inst/qml/SEM.qml Added comprehensive info fields to all controls; removed HelpButton for estimators
inst/qml/PLSSEM.qml Added info fields throughout the interface
inst/qml/ModeratedNonLinearFactorAnalysis.qml Added info fields for factor analysis controls
inst/qml/Mimic.qml Added info fields to MIMIC model controls
inst/qml/MediationAnalysis.qml Added info fields for mediation analysis options
R/sem.R Standardized 20+ table/container titles to Title Case with gettext()
R/plssem.R Fixed title spacing, standardized titles, fixed initCollapsed placement
R/mimic.R Standardized titles to Title Case
R/mediationanalysis.R Standardized titles and wrapped strings in gettext()
R/lgcm.R Standardized titles throughout latent growth curve functions
R/common.R Standardized fit table title
inst/Description.qml Enabled preloadData for entire module; removed redundant per-analysis settings
inst/help/*.md Deleted 7 help markdown files replaced by inline info
tests/testthat/*.R Updated test expectations for numerical changes (likely R package updates)
NEWS.md Documented all changes
.gitignore Added AI assistant config patterns and test problem files

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants