This package is archived.
Feedback.farm core api
This small package allow you to call the Feedback.farm api from your custom UI.
-
Create a project on the feedback.farm platform and then grab the project id.
-
npm install @feedbackfarm/core
-
Insert the following snippet
// index.jsx
import { seendFeedback } from "@feedbackfarm/core";
async function handleSubmitFeedback() {
const result = await sendFeedback(
projectId,
feedbackText,
type,
identifier,
pageName
);
}
Parameters | Type | Description | Required |
---|---|---|---|
projectId |
string | Project identifier available on feedback.farm platform | ✅ |
feedbackText |
string | User feedback | ✅ |
type |
BUG ; FEATURE ; OTHER | Feedback type | ✅ |
identifier |
string | User identifier (email, id, ...) | |
pageName |
string | Page name / page url | |
logs |
Log[] | Logs |
Full documentation