Commit 89651fe
Apply PR review feedback: fix key bindings, tests, and documentation
- Fix VK_PLUS binding: use Shift+VK_EQUALS for '+' key on standard keyboards, add numpad support
- Remove unreachable catch block in SpeedPresetAction (setSpeed doesn't throw IllegalStateException)
- Remove unused companion object logger in SimulationKeyBindings
- Remove headless test skip - tests use lightweight Swing components that don't need display
- Fix test setup: block context.run() with CountDownLatch to prevent race conditions
- Run all tests and actions on EDT using SwingUtilities.invokeAndWait
- Update MenuBar KDoc to reflect global keyboard shortcuts (remove mention of removed accelerators)
- Remove commented-out accelerator code in MenuBar
- Fix SonarQube workflow condition: include workflow_dispatch to allow manual scans on feature branches
Agent-Logs-Url: https://github.com/bedaHovorka/interlockSim/sessions/86ce4646-5290-410d-98d6-86fe02b0300a
Co-authored-by: bedaHovorka <5263405+bedaHovorka@users.noreply.github.com>1 parent 74186c1 commit 89651fe
4 files changed
Lines changed: 212 additions & 141 deletions
File tree
- .github/workflows
- desktop-ui/src
- main/kotlin/cz/vutbr/fit/interlockSim/gui
- test/kotlin/cz/vutbr/fit/interlockSim/gui
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
385 | | - | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
386 | 387 | | |
387 | 388 | | |
388 | 389 | | |
| |||
399 | 400 | | |
400 | 401 | | |
401 | 402 | | |
402 | | - | |
| 403 | + | |
403 | 404 | | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | 405 | | |
408 | 406 | | |
409 | 407 | | |
| |||
Lines changed: 9 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
75 | 76 | | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
106 | | - | |
107 | | - | |
| 108 | + | |
| 109 | + | |
108 | 110 | | |
| 111 | + | |
109 | 112 | | |
110 | 113 | | |
111 | 114 | | |
| |||
121 | 124 | | |
122 | 125 | | |
123 | 126 | | |
124 | | - | |
| 127 | + | |
| 128 | + | |
125 | 129 | | |
126 | 130 | | |
127 | 131 | | |
| |||
130 | 134 | | |
131 | 135 | | |
132 | 136 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
| |||
194 | 195 | | |
195 | 196 | | |
196 | 197 | | |
197 | | - | |
198 | | - | |
199 | 198 | | |
200 | 199 | | |
201 | 200 | | |
| |||
0 commit comments