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

Create Feedback Collector Script #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/Feedback Collector Script
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Feedback Collector Script

def collect_feedback():
"""
Collect user feedback about an extension experience.
"""
print("=== User Feedback Collector ===")

# Collect feedback
experience = input("Describe your experience (what you liked and what could be improved):\n")
suggestions = input("Suggestions for improvement (enhancing user experience):\n")
screenshots = input("Provide a link or path to screenshots, if any (or type 'None'):\n")
additional_context = input("Add any additional relevant information or examples:\n")

# Organize feedback
feedback = {
"Experience": experience,
"Suggestions": suggestions,
"Screenshots": screenshots,
"Additional Context": additional_context
}

print("\n=== Thank you for your feedback! ===")

# Display collected feedback
for key, value in feedback.items():
print(f"\n{key}:\n{value}")

return feedback

if __name__ == "__main__":
feedback_data = collect_feedback()

# Optionally save feedback to a file
save_to_file = input("\nWould you like to save this feedback to a file? (yes/no): ").strip().lower()
if save_to_file == "yes":
filename = input("Enter the filename (default: feedback.txt): ").strip() or "feedback.txt"
with open(filename, "w") as file:
for key, value in feedback_data.items():
file.write(f"{key}:\n{value}\n\n")
print(f"Feedback saved to {filename}")
else:
print("Feedback not saved to a file.")