Skip to content

RF: Use a dedicated param ctrl for choosing validators#7421

Merged
TEParsons merged 2 commits intopsychopy:devfrom
TEParsons:dev-rf-validator-ctrls
Oct 6, 2025
Merged

RF: Use a dedicated param ctrl for choosing validators#7421
TEParsons merged 2 commits intopsychopy:devfrom
TEParsons:dev-rf-validator-ctrls

Conversation

@TEParsons
Copy link
Copy Markdown
Contributor

This is for compatibility with Svelte - currently, validators are listed by calling self.getAllValidatorRoutines, but when interacting via a websocket there isn't necessarily the context of self so the method fails.

Now, instead of needing the class context, the param supplies the relevant validator classes in allowedVals (which is the part of self that's needed to list relevant validators) so that the front end has the necessary data to handle it.

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 6, 2025

Codecov Report

❌ Patch coverage is 77.77778% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 48.19%. Comparing base (0fbca35) to head (dd6fd66).
⚠️ Report is 6 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #7421   +/-   ##
=======================================
  Coverage   48.18%   48.19%           
=======================================
  Files         353      353           
  Lines       65090    65107   +17     
=======================================
+ Hits        31366    31376   +10     
- Misses      33724    33731    +7     
Components Coverage Δ
app ∅ <ø> (∅)
boilerplate ∅ <ø> (∅)
library ∅ <ø> (∅)
vm-safe library ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@TEParsons TEParsons merged commit d8c2171 into psychopy:dev Oct 6, 2025
5 checks passed
@TEParsons TEParsons deleted the dev-rf-validator-ctrls branch November 6, 2025 13:52
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.

1 participant