Add feedback button functionality#509
Open
iamprathosh wants to merge 1 commit intoapertium:masterfrom
Open
Conversation
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #495
Add feedback button functionality to the website's interface.
FeedbackButtoncomponent inside theMatomoProvidercomponent insrc/App.tsx..feedback-buttonclass insrc/app.cssto position and style the feedback button.FeedbackButtoncomponent insrc/components/FeedbackButton.tsxthat renders a floating button and opens a modal with a feedback form on click.FeedbackFormcomponent insrc/components/FeedbackForm.tsxthat renders a modal with a form for user feedback and handles form submission.For more details, open the Copilot Workspace session.