From 87d79af2cc0df0462e84798178038f117f5c5c7b Mon Sep 17 00:00:00 2001
From: Kalpita Birhade <84992682+kalpitabirhade28@users.noreply.github.com>
Date: Thu, 19 Dec 2024 17:46:17 +0530
Subject: [PATCH] Create Feedback Collector Script

How It Works:
Collects Feedback:

Prompts the user for input under four categories: experience, suggestions, screenshots, and additional context.
Displays Feedback:

Shows the collected feedback to the user for review.
Optional Save to File:

Allows users to save the feedback to a .txt file for further use.
---
 .../ISSUE_TEMPLATE/Feedback Collector Script  | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 .github/ISSUE_TEMPLATE/Feedback Collector Script

diff --git a/.github/ISSUE_TEMPLATE/Feedback Collector Script b/.github/ISSUE_TEMPLATE/Feedback Collector Script
new file mode 100644
index 0000000..66dbf4b
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/Feedback Collector Script	
@@ -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.")