pet-rescue
pet-rescue copied to clipboard
Feedback Form: Add topic dropdown and explanation of how to report a bug fix
On this feedback page, please add a required select called Subject, that has values: General feedback, Feature request, Bug. Whatever is selected should then become the title of the email sent to the developers via the Mailer.
I think it would also be good to add a link 'How to submit a bug or feature request' above the Message label. When clicked, we use a turbo frame to load the response above the message label. We can use the Feedback Controller #show for this. Now, I think placing a turbo frame within a form should work fine, as long as it's a sub-section of the form. If this does not work, you can place this frame/link outside the form, just under the description Found a bug? Want to request a feature? Contact our dev team with the form below.
The content rendered in the frame should be a card with the following text (you can refine this text - ask GPT for something better perhaps! But keep it brief):
Reporting Bugs Provide as much detail as possible including:
- the organization name
- the url of the page the bug was found
- the steps that led to the bug
- your expected outcomes versus what you experienced
Requesting Features Provide as much detail as possible including:
- what page the feature should live
- what the feature should do
- why this feature will be useful