Skip to content

Test Delivery for inactive webhook behaves confusing #26824

@Young-Lord

Description

@Young-Lord

Feature Description

Currently, when user click Test Delivery for an inactivate webhook, Gitea will refuse to send the webhook. However, the Response or anywhere else (except log on server) doesn't describe the reason, and may make user think that the webhook server is crashed.
It would be great if a friendly notice was shown in Response column.
see PR #26814

Screenshots

Current behavior

Current page when webhook is inactivate, showing empty Response Headers and Response Body

Expected behavior

Page displayed after this PR, Response Body is set

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions