gitea/routers
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 +07:00
..
api fix(issue): Replace stopwatch toggle with explicit start/stop actions (#34818) 2025-06-25 07:22:58 +07:00
common Fix footnote jump behavior on the issue page. (#34621) 2025-06-09 17:18:11 +07:00
install Add post-installation redirect based on admin account status (#34493) 2025-06-21 18:48:06 +07:00
private Upgrade `gopls` to v0.19.0, add `make fix` (#34772) 2025-06-18 19:30:40 +07:00
utils Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +07:00
web fix(issue): Replace stopwatch toggle with explicit start/stop actions (#34818) 2025-06-25 07:22:58 +07:00
init.go Prepare for support performance trace (#33286) 2025-01-15 20:05:18 +07:00