Ilia Denisov
e82c9f8bbd
Tests · UI / test (push) Waiting to run
Tests · UI / test (pull_request) Successful in 3m35s
fix(ui): no-op when re-selecting the turn already on screen
...
Clicking the current-turn row in the header turn navigator while
already viewing it routed through returnToCurrent() →
viewTurn(currentTurn), which re-fetches the live report and flips the
view through `loading`. At turn 0 the only row is the live turn, so
the dropdown always fired a pointless backend round-trip and redraw.
Guard goToTurn() against re-selecting the on-screen turn
(turn === viewedTurn): just close the popover and stop. Leaving
history is unaffected — there the viewed turn differs from the target.
Closes #45
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-26 00:18:30 +02:00
..
2026-05-25 23:53:20 +02:00
2026-05-13 12:24:20 +02:00
2026-05-23 20:49:35 +02:00
2026-05-07 16:14:40 +02:00
2026-05-24 08:49:37 +02:00
2026-05-13 18:52:40 +02:00
2026-05-21 20:04:07 +02:00
2026-05-21 21:24:40 +02:00
2026-05-23 20:49:35 +02:00
2026-05-09 11:50:09 +02:00
2026-05-22 13:29:11 +02:00
2026-05-23 18:19:07 +02:00
2026-05-21 21:24:40 +02:00
2026-05-24 08:49:37 +02:00
2026-05-23 18:19:07 +02:00
2026-05-23 20:49:35 +02:00
2026-05-23 20:49:35 +02:00
2026-05-21 20:04:07 +02:00
2026-05-12 00:13:19 +02:00
2026-05-12 00:13:19 +02:00
2026-05-22 08:48:13 +02:00
2026-05-07 16:14:40 +02:00
2026-05-10 13:23:56 +02:00
2026-05-09 20:48:42 +02:00
2026-05-10 21:32:37 +02:00
2026-05-10 15:08:41 +02:00
2026-05-10 21:32:37 +02:00
2026-05-10 17:55:43 +02:00
2026-05-10 16:27:55 +02:00
2026-05-21 20:04:07 +02:00
2026-05-10 13:24:17 +02:00
2026-05-08 21:17:17 +02:00
2026-05-23 20:49:35 +02:00
2026-05-08 21:17:17 +02:00
2026-05-23 20:49:35 +02:00
2026-05-25 23:53:20 +02:00
2026-05-16 22:38:59 +02:00
2026-05-24 08:49:37 +02:00
2026-05-19 21:33:53 +02:00
2026-05-19 21:33:53 +02:00
2026-05-08 14:06:23 +02:00
2026-05-09 20:01:34 +02:00
2026-05-24 08:49:37 +02:00
2026-05-19 23:39:39 +02:00
2026-05-19 23:39:39 +02:00
2026-05-08 22:47:38 +02:00
2026-05-12 00:13:19 +02:00
2026-05-09 20:01:34 +02:00
2026-05-10 22:00:03 +02:00
2026-05-11 22:00:16 +02:00
2026-05-11 22:00:16 +02:00
2026-05-24 08:49:37 +02:00
2026-05-21 20:04:07 +02:00
2026-05-11 14:33:56 +02:00
2026-05-11 14:33:56 +02:00
2026-05-11 14:33:56 +02:00
2026-05-23 20:49:35 +02:00
2026-05-10 21:32:37 +02:00
2026-05-24 08:49:37 +02:00
2026-05-09 08:29:03 +02:00
2026-05-07 15:24:21 +02:00
2026-05-07 12:58:37 +02:00
2026-05-07 08:24:44 +02:00
2026-05-22 13:29:11 +02:00
2026-05-09 21:44:21 +02:00
2026-05-19 21:33:53 +02:00
2026-05-10 17:55:43 +02:00
2026-05-10 13:23:56 +02:00
2026-05-07 14:08:09 +02:00
2026-05-07 14:08:09 +02:00
2026-05-09 20:01:34 +02:00
2026-05-10 16:27:55 +02:00
2026-05-10 16:27:55 +02:00
2026-05-13 14:22:53 +02:00
2026-05-11 11:19:57 +02:00
2026-05-23 20:49:35 +02:00
2026-05-21 20:04:07 +02:00
2026-05-22 08:36:17 +02:00
2026-05-11 16:16:31 +02:00
2026-05-26 00:18:30 +02:00
2026-05-22 13:29:11 +02:00
2026-05-19 23:39:39 +02:00
2026-05-21 21:24:40 +02:00
2026-05-07 12:58:37 +02:00
2026-05-07 12:58:37 +02:00