gitea/services
Sebastian Weigand 7b518bc6c7
Change "rejected" to "changes requested" in 3rd party PR review notification (#34481)
This PR changes 3rd party notifications wording on a PR review that
requests changes and can be considered a follow up for #5858 to also fix
#5857 in 3rd party notifications.

The difference in the actual notification would be the following:

```diff
- Pull request review rejected
+ Pull request review changes requested
```

While this is a simple string change at first look, it has a deeper UX
meaning.

# Motivation

We could observe that some developers are hesitant to press the "Request
changes" button since their peers first see that their changes were
rejected, thus a more appropriate wording that also falls in line with
the meaning and UI would be beneficial.

## Meaning

Pressing the `Request changes` button in a PR review means that as a
reviewer you are willing to merge the general change in a PR if changes
requested review comments are implemented.
Rejecting a PR on the other hand would be equivalent with closing it
since that change isn't welcome at all (e.g. out of scope feature).

## Sync with UI

The UI button says `request changes` and the other options 


![image](https://github.com/user-attachments/assets/3766cc89-40d7-4c5e-9ff7-a0e1f6991ea6)



## Considered Problems

This might break some automation for users who rely on string matching.
2025-05-15 23:56:26 -04:00
..
actions Add endpoint deleting workflow run (#34337) 2025-05-13 19:18:13 +00:00
agit Option to delay conflict checking of old pull requests until page view (#27779) 2025-04-24 19:26:57 +00:00
asymkey Cache GPG keys, emails and users when list commits (#34086) 2025-04-09 16:34:38 +00:00
attachment Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
auth Enforce two-factor auth (2FA: TOTP or WebAuthn) (#34187) 2025-04-28 15:31:59 -07:00
automerge Option to delay conflict checking of old pull requests until page view (#27779) 2025-04-24 19:26:57 +00:00
context Add endpoint deleting workflow run (#34337) 2025-05-13 19:18:13 +00:00
contexttest Add API endpoint to request contents of multiple files simultaniously (#34139) 2025-04-22 01:20:11 +08:00
convert feat: return time of last usage for public keys and access tokens in the api (#34323) 2025-05-01 21:42:17 +03:00
cron Use default Git timeout when checking repo health (#33593) 2025-02-14 15:13:56 +00:00
doctor Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
externalaccount Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
feed Fix notify watch failure when the content is too long (#34233) 2025-04-20 02:49:57 +00:00
forms Enforce two-factor auth (2FA: TOTP or WebAuthn) (#34187) 2025-04-28 15:31:59 -07:00
git Cache GPG keys, emails and users when list commits (#34086) 2025-04-09 16:34:38 +00:00
gitdiff Mark parent directory as viewed when all files are viewed (#33958) 2025-04-15 22:35:22 +08:00
indexer Update issue indexer after merging a PR (#30715) 2024-05-08 14:45:15 +00:00
issue Fix wrong review requests when updating the pull request (#34286) 2025-04-28 22:57:56 +00:00
lfs Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
mailer Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
markup Refactor Git Attribute & performance optimization (#34154) 2025-04-11 21:41:29 +08:00
migrations Only git operations should update `last changed` of a repository (#34388) 2025-05-11 19:18:46 +00:00
mirror Only git operations should update `last changed` of a repository (#34388) 2025-05-11 19:18:46 +00:00
notify Add workflow_job webhook (#33694) 2025-03-11 10:40:38 -07:00
oauth2_provider Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
org Fix remove org user failure on mssql (#34449) 2025-05-14 02:33:56 +08:00
packages Fix package upload temp path (#34196) 2025-04-14 18:55:02 +08:00
projects Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
pull Fix wrong review requests when updating the pull request (#34286) 2025-04-28 22:57:56 +00:00
release Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
repository Only git operations should update `last changed` of a repository (#34388) 2025-05-11 19:18:46 +00:00
secrets Added Description Field for Secrets and Variables (#33526) 2025-03-17 19:24:54 +00:00
task Fix bug when migrating repository (#34182) 2025-04-14 04:48:03 +00:00
uinotification Penultimate round of `db.DefaultContext` refactor (#27414) 2023-10-11 04:24:07 +00:00
user Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
versioned_migration Add global lock for migrations to make upgrade more safe with multiple replications (#33706) 2025-03-07 21:08:53 +00:00
webhook Change "rejected" to "changes requested" in 3rd party PR review notification (#34481) 2025-05-15 23:56:26 -04:00
webtheme Improve theme display (#30671) 2025-03-08 21:38:11 +00:00
wiki Only git operations should update `last changed` of a repository (#34388) 2025-05-11 19:18:46 +00:00