@parsifal-m/backstage-plugin-open-feedback
TypeScript icon, indicating that this package has built-in type declarations

0.4.0 • Public • Published

OpenFeedback Frontend

This is the frontend for OpenFeedback.

Adding the OpenFeedback Frontend to your Backstage Application

Firstly you will want to add the OpenFeedbackPage component to your packages/app/src/App.tsx file under the routes. This will add the feedback page to your Backstage application.

In the OpenFeedbackPage you will be able to see all the feedback that has been collected from users, and you will also have the option to delete feedback if needed.

const routes = (
  <FlatRoutes>
    // Other routes
    <Route path="/open-feedback" element={<OpenFeedbackPage />} />
  </FlatRoutes>
);

Using the OpenFeedbackModal Component

To use the OpenFeedbackModal component, you will need to add it to your packages/app/src/components/Root/Root.tsx file. This will add the feedback modal to your Backstage application, personally I like to add it under the search button, or above/with the user settings button.

Clicking on it will open a dialog box for users to send feedback.

import { OpenFeedbackModal } from '@parsifal-m/backstage-plugin-open-feedback';

// Inside your Root component
<Sidebar>
  {/* Other SidebarItems */}
  <OpenFeedbackModal />
  {/* Other SidebarItems */}
</Sidebar>;

Using the OpenFeedbackForm Component

I would recommend using the OpenFeedbackForm on the Backstage HomePage to collect feedback from users. This component can be added to any page, but it is more specifically designed for the Backstage HomePage.

Package Sidebar

Install

npm i @parsifal-m/backstage-plugin-open-feedback

Weekly Downloads

59

Version

0.4.0

License

Apache-2.0

Unpacked Size

49.5 kB

Total Files

12

Last publish

Collaborators

  • parsifal-m