mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-03-25 17:13:03 -04:00
Closes #11355, namely: 1. bug: editing the note does not edit the orginal content, but the rendered content -16368c4ccb- edit raw notes instead of rendered notes 2. bug: editing existing note on single-commit PR page leads to 404 page because it sends a POST request to `/OWNER/REPO/pulls/ID/commits/COMMIT_HASH/notes` -f036fc55db- add new paths for the actions on pull request pages for `/OWNER/REPO/pulls/ID/commits/COMMIT_HASH/notes` and `/OWNER/REPO/pulls/ID/commits/COMMIT_HASH/notes/remove` 3. feat: both for adding and editing there is no `Cancel` button -58d8c7cc87- moved both the `Cancel` and the `Save`/`Edit` button to the right for better consistency how, e.g., issue comments are edited/created. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11365 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: Robert Wolff <mahlzahn@posteo.de> Co-committed-by: Robert Wolff <mahlzahn@posteo.de>
203 B
203 B
fix: edit raw instead of rendered Git notes when editing notes on commit pages fix: make editing Git notes from single-commit PR page actually work feat: add cancel button to Git note adding and editing