Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feedback button functionality #509

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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