sentry-php icon indicating copy to clipboard operation
sentry-php copied to clipboard

Feature request: User feedback capturing feature

Open JanMikes opened this issue 1 year ago • 1 comments

Problem Statement

There is API for sending user feedback, currently in beta. It would be awesome to add support to the official SDK to cover this Sentry feature.

The JavaScript SDK could do the job, but i want to not expose DSN to the user and have the feedback sent via backend with custom form and extra logic in PHP.

Solution Brainstorm

Probably adding it to the \Sentry\ClientInterface + \Sentry\State\HubInterface is the way (and ofc to the implementation).

My current solution is totally own sentry independent http client sending requests to https://sentry.io/api/0/projects/{{organization_slug}}/:project_slug/user-feedback/ as documented in the official postman collection.

JanMikes avatar Apr 03 '24 16:04 JanMikes

The API is not ready yet and we lack proper defined APIs in the SDKs, too. Backlogging for now.

cleptric avatar Apr 03 '24 17:04 cleptric