WebUI stat cards & test button: self-managed IO support, dash when JVS disconnected, vertical centering#200
Merged
Conversation
…button deactivation Agent-Logs-Url: https://github.com/dazzaXx/ModernJVS/sessions/66ed281a-d521-4470-9e53-f7d32789f73c Co-authored-by: dazzaXx <48131734+dazzaXx@users.noreply.github.com>
…nactive Agent-Logs-Url: https://github.com/dazzaXx/ModernJVS/sessions/78545398-e9c0-49a3-a09d-41e286236bb7 Co-authored-by: dazzaXx <48131734+dazzaXx@users.noreply.github.com>
…OR for auto-release Agent-Logs-Url: https://github.com/dazzaXx/ModernJVS/sessions/78545398-e9c0-49a3-a09d-41e286236bb7 Co-authored-by: dazzaXx <48131734+dazzaXx@users.noreply.github.com>
…naged from API Agent-Logs-Url: https://github.com/dazzaXx/ModernJVS/sessions/78545398-e9c0-49a3-a09d-41e286236bb7 Co-authored-by: dazzaXx <48131734+dazzaXx@users.noreply.github.com>
…ve for self-managed test button systems Agent-Logs-Url: https://github.com/dazzaXx/ModernJVS/sessions/78807dbc-568b-4b06-a086-2386d099f8f9 Co-authored-by: dazzaXx <48131734+dazzaXx@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dazzaXx/ModernJVS/sessions/c6d224d3-2738-4b7a-9da2-1a2cab3b3958 Co-authored-by: dazzaXx <48131734+dazzaXx@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dazzaXx/ModernJVS/sessions/feb40c66-eefc-4001-996d-8542d1798115 Co-authored-by: dazzaXx <48131734+dazzaXx@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
dazzaXx
May 1, 2026 15:18
View session
Owner
|
@copilot update the PR description if possible to show all changes made in this PR. |
Author
Done — the PR description now lists every changed file and what was done in each, covering all 7 commits:
|
Copilot
AI
changed the title
WebUI stat cards: dash when JVS disconnected, vertical centering in mixed-height rows
WebUI stat cards & test button: self-managed IO support, dash when JVS disconnected, vertical centering
May 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds first-class support for Sega IO boards that manage their own test-menu exit, plus two cosmetic fixes for the stat card grid.
Changes
src/jvs/io.htestButtonSelfManagedfield toJVSCapabilitiesto flag IO boards whose arcade system manages its own test-menu exit.src/console/config.cTEST_BUTTON_SELF_MANAGEDconfig directive intoJVSCapabilities.src/modernjvs.cTEST_PULSE_MS(300 ms) constant andCLEAR_PULSE_TIMERmacro.testButtonSelfManagedis set, the test button is only held active for a brief pulse and then automatically released (usingCLOCK_MONOTONICtiming), so the WebUI status reflects reality after the user exits the test menu on the machine.src/webui/modernjvs-webui.py_io_self_managed()helper and exposedemulate_test_self_managedin both the config API response and the/api/control/test_buttonPOST response.src/webui/templates/index.html#testModeSelfManagedNoteelement (yellow warning text) that is shown when a self-managed IO board is active, prompting the user to use Exit & Save inside the test menu to exit.src/webui/static/app.js—updateTestButtonUIselfManagedparameter.Self-Managedlabel in yellow with the Exit & Save warning note.—in muted colour instead of"Inactive".Active/Inactiveas before.src/webui/static/style.css—.stat-carddisplay: flex; flex-direction: column; justify-content: center; align-items: center;so that when one card in a row grows taller than its siblings (e.g. due to the self-managed warning note), the other cards' text stays vertically centred rather than anchored to the top.docs/modernjvs/ios/sega-type-1,sega-type-2,sega-type-3,sega-838-13683B,sega-trackballTEST_BUTTON_SELF_MANAGED 1to each Sega IO board profile.misc/configuration.md