gitea/routers/api/v1
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
..
activitypub Enable addtional linters (#34085) 2025-04-01 10:14:01 +07:00
admin Add workflow_run api + webhook (#33964) 2025-06-20 20:14:00 +07:00
misc Improve instance wide ssh commit signing (#34341) 2025-06-11 10:32:55 +07:00
notify Refactor error system (#33610) 2025-02-16 22:13:17 +07:00
org Add workflow_run api + webhook (#33964) 2025-06-20 20:14:00 +07:00
packages Add package version api endpoints (#34173) 2025-04-13 20:00:44 +07:00
repo fix(issue): Replace stopwatch toggle with explicit start/stop actions (#34818) 2025-06-25 07:22:58 +07:00
settings Add API endpoint to request contents of multiple files simultaniously (#34139) 2025-04-22 01:20:11 +07:00
shared Add workflow_run api + webhook (#33964) 2025-06-20 20:14:00 +07:00
swagger Add workflow_run api + webhook (#33964) 2025-06-20 20:14:00 +07:00
user Add workflow_run api + webhook (#33964) 2025-06-20 20:14:00 +07:00
utils Add workflow_run api + webhook (#33964) 2025-06-20 20:14:00 +07:00
api.go Add workflow_run api + webhook (#33964) 2025-06-20 20:14:00 +07:00