From e675d3d3d51d03d823dbe811a3f30e53e9e3ff58 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Sat, 1 Nov 2025 12:47:18 +0000
Subject: [PATCH 1/3] Initial plan
From 0b84265189956ff5d51717e4ffc8f5e5a7a2880b Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Sat, 1 Nov 2025 12:57:40 +0000
Subject: [PATCH 2/3] Replace emojis with professional text labels and remove
hardcoded token
Co-authored-by: valiantlynx <86688436+valiantlynx@users.noreply.github.com>
---
README.md | 58 ++++++++++++++++++++++++------------------------
index.html | 53 +++++++++++++++++++++----------------------
package.json | 4 ++--
scripts/build.js | 12 +++++-----
4 files changed, 64 insertions(+), 63 deletions(-)
diff --git a/README.md b/README.md
index ddc39b2..8ee34f0 100644
--- a/README.md
+++ b/README.md
@@ -1,24 +1,24 @@
-# ๐ฌ Universal Feedback Widget
+# Universal Feedback Widget
A lightweight, framework-agnostic feedback widget that automatically creates **GitHub discussions** or **GitHub issues**. Works with **any** website - React, Vue, Svelte, plain HTML, or any other framework.
  
-## โจ Features
+## Features
-- ๐ฏ **Zero Dependencies** - Works without any external libraries
-- ๐ **Universal Compatibility** - Works with any framework or vanilla HTML
-- ๐ฌ **GitHub Discussions** - Creates threaded discussions (recommended)
-- ๐ **GitHub Issues** - Creates trackable issues for bugs/features
-- ๐จ **Flexible Theming** - Inherit page styles, Tailwind CSS, or custom colors
-- ๐ฑ **Responsive Design** - Mobile-friendly with elegant vertical tab
-- โก **Lightweight** - Under 20KB minified and gzipped
-- ๐ง **Custom Triggers** - Use your own buttons or the default tab
-- ๐ **Custom Forms** - Bring your own form design
-- ๐ **Programmatic API** - Trigger modals via JavaScript
-- โจ๏ธ **Accessibility Ready** - Full keyboard navigation and ARIA support
+- **Zero Dependencies** - Works without any external libraries
+- **Universal Compatibility** - Works with any framework or vanilla HTML
+- **GitHub Discussions** - Creates threaded discussions (recommended)
+- **GitHub Issues** - Creates trackable issues for bugs/features
+- **Flexible Theming** - Inherit page styles, Tailwind CSS, or custom colors
+- **Responsive Design** - Mobile-friendly with elegant vertical tab
+- **Lightweight** - Under 20KB minified and gzipped
+- **Custom Triggers** - Use your own buttons or the default tab
+- **Custom Forms** - Bring your own form design
+- **Programmatic API** - Trigger modals via JavaScript
+- **Accessibility Ready** - Full keyboard navigation and ARIA support
-## ๐ Quick Start
+## Quick Start
### Option 1: CDN (Recommended)
@@ -49,7 +49,7 @@ npm install @samletnorge/feedback-widget
```
-## ๐ญ Discussions vs Issues
+## Discussions vs Issues
Choose the right GitHub feature for your feedback collection:
@@ -60,7 +60,7 @@ Choose the right GitHub feature for your feedback collection:
| **Workflow** | Community-driven discussions | Project management, assignees, milestones |
| **Configuration** | `data-type="discussion"`
`data-category="feedback"` | `data-type="issue"`
`data-labels="feedback,bug"` |
-## โ๏ธ Configuration Reference
+## Configuration Reference
### Core Options
| Attribute | Type | Default | Description |
@@ -99,7 +99,7 @@ Choose the right GitHub feature for your feedback collection:
| `data-text-color-class` | String | CSS class for text color |
| `data-border-color-class` | String | CSS class for border color |
-## ๐จ Theming & Customization
+## Theming & Customization
### 1. Inherit Page Styles (Recommended)
@@ -236,7 +236,7 @@ For Svelte/Vue with Tailwind:
| `.feedback-widget-btn-primary` | Submit button | Primary action button |
| `.feedback-widget-btn-secondary` | Cancel button | Secondary action button |
-## ๐ฏ Custom Triggers & Forms
+## Custom Triggers & Forms
### Custom Trigger Button
@@ -289,7 +289,7 @@ Provide your own completely custom form:
```
-## ๐ GitHub Token Setup
+## GitHub Token Setup
### For GitHub Discussions
@@ -309,7 +309,7 @@ for these i would recomend using a github finetuned token with only the `issues`
**โ ๏ธ Security Note:** Never expose your token in client-side code for production. Consider using a serverless function or GitHub App for production deployments. THIS IS ALSO WHY I RECOMMEND USING TOKEN WITH ONLY `write:discussion` SCOPE or `issues` SCOPE.
-## ๐ Framework Examples
+## Framework Examples
### React/Next.js
@@ -451,7 +451,7 @@ export class AppComponent implements OnInit {