0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-08-02 12:35:42 +02:00
Junsik Kong 0e629c545a
fix(issue): Replace stopwatch toggle with explicit start/stop actions (#34818)
This PR fixes a state de-synchronization bug with the issue stopwatch,
it resolves the issue by replacing the ambiguous `/toggle` endpoint
with two explicit endpoints: `/start` and `/stop`.

- The "Start timer" button now exclusively calls the `/start` endpoint.
- The "Stop timer" button now exclusively calls the `/stop` endpoint.

This ensures the user's intent is clearly communicated to the server,
eliminating the state inconsistency and fixing the bug.

---------

Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-06-25 07:22:58 +08:00
..
2025-06-24 21:24:09 +08:00
2025-02-16 22:13:17 -08:00
2025-04-13 12:27:31 -07:00
2025-03-13 07:04:50 +08:00
2025-06-21 19:20:51 +08:00
2025-06-21 19:20:51 +08:00
2025-06-21 19:20:51 +08:00
2025-06-21 19:20:51 +08:00
2025-02-16 22:13:17 -08:00
2025-02-16 22:13:17 -08:00
2025-02-16 22:13:17 -08:00
2025-06-19 10:33:30 -07:00
2025-02-16 22:13:17 -08:00
2025-03-13 11:07:48 +08:00
2025-02-05 02:14:03 +08:00
2025-05-13 08:18:45 +00:00
2025-02-05 02:14:03 +08:00
2025-06-22 18:53:33 +08:00
2025-06-22 18:53:33 +08:00