Add simulation menu with speed control#486
Merged
bedaHovorka merged 3 commits intocopilot/goal-7-simulation-speed-controlfrom May 5, 2026
Merged
Add simulation menu with speed control#486bedaHovorka merged 3 commits intocopilot/goal-7-simulation-speed-controlfrom
bedaHovorka merged 3 commits intocopilot/goal-7-simulation-speed-controlfrom
Conversation
Owner
|
@copilot : please try again |
Copilot stopped work on behalf of
bedaHovorka due to an error
May 5, 2026 19:33
Owner
|
@copilot : please try again |
Contributor
Author
Done in commit 5e85d2c. The implementation adds:
|
Copilot
AI
changed the title
[WIP] Add simulation menu with speed control
Add simulation menu with speed control
May 5, 2026
bedaHovorka
approved these changes
May 5, 2026
Owner
|
@copilot apply changes based on the comments in this thread |
Contributor
Author
Done in commit 895fd42. Applied all four issues from the review:
|
bedaHovorka
approved these changes
May 5, 2026
895fd42 to
514be4c
Compare
Agent-Logs-Url: https://github.com/bedaHovorka/interlockSim/sessions/69dde112-6219-41c1-8517-555ceb9dcb6e Co-authored-by: bedaHovorka <5263405+bedaHovorka@users.noreply.github.com>
…r modificationTracker, add setSpeed tests Agent-Logs-Url: https://github.com/bedaHovorka/interlockSim/sessions/d9498f97-4781-4986-98c1-96cb2a57850d Co-authored-by: bedaHovorka <5263405+bedaHovorka@users.noreply.github.com>
514be4c to
b1acb3e
Compare
|
b23bcb1
into
copilot/goal-7-simulation-speed-control
9 checks passed
Copilot AI
added a commit
that referenced
this pull request
May 6, 2026
* Add Simulation menu with Start/Stop/Speed control to MenuBar Agent-Logs-Url: https://github.com/bedaHovorka/interlockSim/sessions/69dde112-6219-41c1-8517-555ceb9dcb6e Co-authored-by: bedaHovorka <5263405+bedaHovorka@users.noreply.github.com> * Apply reviewer feedback: fix resource leak, enable report types, clear modificationTracker, add setSpeed tests Agent-Logs-Url: https://github.com/bedaHovorka/interlockSim/sessions/d9498f97-4781-4986-98c1-96cb2a57850d Co-authored-by: bedaHovorka <5263405+bedaHovorka@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: bedaHovorka <5263405+bedaHovorka@users.noreply.github.com>
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 a "Simulation" menu to the MenuBar (positioned between File and Help) and wires it into the existing simulation infrastructure.
Changes Made
MenuBar (
MenuBar.kt)SimulationContextviaSimulationContextFactory, then callsFrame.setContext()+Frame.startSimulation()Frame.stopSimulation()SimulationController.setSpeed()SimulationController (
SimulationController.kt)setSpeed(multiplier: Double)method with input validation; stores the desired speed and applies it immediately to the current runner (if any) and to each new runner onstart()MenuBarTest (
MenuBarTest.kt)Testing
detektandktlintCheckpassMenuBarTestintegration tests compile and run (skipped in headless CI as expected)