Skip to content

Conversation

@iamprathosh
Copy link

@iamprathosh iamprathosh commented Jan 11, 2025

Fixes #495

Add feedback button functionality to the website's interface.

  • App Component: Import and add the FeedbackButton component inside the MatomoProvider component in src/App.tsx.
  • CSS Styling: Add styles for the .feedback-button class in src/app.css to position and style the feedback button.
  • Feedback Button Component: Create a new FeedbackButton component in src/components/FeedbackButton.tsx that renders a floating button and opens a modal with a feedback form on click.
  • Feedback Form Component: Create a new FeedbackForm component in src/components/FeedbackForm.tsx that renders a modal with a form for user feedback and handles form submission.

For more details, open the Copilot Workspace session.

Fixes apertium#495

Add feedback button functionality to the website's interface.

* **App Component**: Import and add the `FeedbackButton` component inside the `MatomoProvider` component in `src/App.tsx`.
* **CSS Styling**: Add styles for the `.feedback-button` class in `src/app.css` to position and style the feedback button.
* **Feedback Button Component**: Create a new `FeedbackButton` component in `src/components/FeedbackButton.tsx` that renders a floating button and opens a modal with a feedback form on click.
* **Feedback Form Component**: Create a new `FeedbackForm` component in `src/components/FeedbackForm.tsx` that renders a modal with a form for user feedback and handles form submission.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/apertium/apertium-html-tools/issues/495?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feedback Button Functionality

1 participant