Skip to content

Validate SCREEN params and fix options dialogs#2752

Merged
jmthomas merged 4 commits intomainfrom
screen_refresh
Jan 25, 2026
Merged

Validate SCREEN params and fix options dialogs#2752
jmthomas merged 4 commits intomainfrom
screen_refresh

Conversation

@jmthomas
Copy link
Copy Markdown
Member

@jmthomas jmthomas commented Jan 22, 2026

Once I started going through the various options dialog I realized the CmdTlmServer one was completely broken. I implemented the same look and feel throughout including Cancel Save buttons and Esc to close the dialog without changes.

closes #2739

jmthomas and others added 2 commits January 22, 2026 09:13
- Fix CmdTlmServer refresh interval not being passed to tabs by making
  refreshInterval a prop in Updater.js mixin instead of data
- Update refresh interval dialogs to use seconds instead of milliseconds
- Add persistent dialogs with Save and Cancel buttons matching
  FileOpenSaveDialog styling
- Add form validation requiring refresh interval to be at least 1
- Disable Save button when validation fails
- Fix TlmGrapher SettingsDialog to properly implement v-model and emit
  save event instead of mutating props

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Add validation for SCREEN width, height, and polling period parameters
- Allow polling period of 0 to disable screen polling
- Add validation for stale time and tooltip delay parameters
- Use ConfigParserError for better error messages
- Update screen.yaml documentation for polling period
- Reorder CmdTlmServer routes to place DataFlowsTab before StatusTab
- Add margin styling fixes for EditScreenDialog and AppNav

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@jmthomas
Copy link
Copy Markdown
Member Author

Screenshots of the changes:
Screenshot 2026-01-22 at 9 12 10 AM
Screenshot 2026-01-22 at 9 09 26 AM
Screenshot 2026-01-22 at 9 09 44 AM
Screenshot 2026-01-22 at 9 03 39 AM
Screenshot 2026-01-22 at 9 10 00 AM

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.17%. Comparing base (00dde86) to head (e28ba19).
⚠️ Report is 11 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2752      +/-   ##
==========================================
- Coverage   79.18%   79.17%   -0.01%     
==========================================
  Files         670      670              
  Lines       54278    54259      -19     
  Branches      734      731       -3     
==========================================
- Hits        42978    42958      -20     
- Misses      11220    11221       +1     
  Partials       80       80              
Flag Coverage Δ
python 80.97% <ø> (-0.01%) ⬇️
ruby-api 83.65% <ø> (ø)
ruby-backend 82.20% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

@clayandgen clayandgen left a comment

Choose a reason for hiding this comment

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

SonarQube issues seem simple to implement -- worth addressing I think!

Copy link
Copy Markdown
Contributor

@clayandgen clayandgen left a comment

Choose a reason for hiding this comment

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

Looks like you can set the Refresh Interval on Tlm Grapher to 1ms -- but I don't see changes to the API calls. How does that refresh interval work?

The Screen polling rate change looks good
Screenshot 2026-01-23 at 1 12 01 PM

@jmthomas
Copy link
Copy Markdown
Member Author

jmthomas commented Jan 25, 2026

Looks like you can set the Refresh Interval on Tlm Grapher to 1ms -- but I don't see changes to the API calls. How does that refresh interval work?

The refresh is passed to Graph.vue which uses it in a setInterval directly.

@sonarqubecloud
Copy link
Copy Markdown

@jmthomas jmthomas merged commit 06907ed into main Jan 25, 2026
47 of 49 checks passed
@jmthomas jmthomas deleted the screen_refresh branch January 25, 2026 17:59
jmthomas added a commit that referenced this pull request Mar 21, 2026
Validate SCREEN params and fix options dialogs
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.

Bad SCREEN line causes high rate polling

3 participants