mirror of
https://github.com/go-gitea/gitea.git
synced 2025-10-27 07:30:15 +00:00
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> |
||
|---|---|---|
| .. | ||
| assignee_test.go | ||
| assignee.go | ||
| comments.go | ||
| commit_test.go | ||
| commit.go | ||
| content.go | ||
| issue_test.go | ||
| issue.go | ||
| label_test.go | ||
| label.go | ||
| main_test.go | ||
| milestone_test.go | ||
| milestone.go | ||
| pull.go | ||
| reaction_test.go | ||
| reaction.go | ||
| status.go | ||
| suggestion_test.go | ||
| suggestion.go | ||
| template.go | ||