@superfeedback/widget 0.0.6 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/dist/index.iife.js +1 -1
- package/dist/index.js +17 -12
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,9 +27,9 @@ Collecting high-quality feedback is often a friction-heavy process for both user
|
|
|
27
27
|
|
|
28
28
|
Before installing the widget, you need to configure your backend settings:
|
|
29
29
|
|
|
30
|
-
1. **Create an account:** Go to [app.superfeedback.ai](https://
|
|
31
|
-
2. **Get your API Key:** Navigate to [app.superfeedback.ai/api-keys](https://
|
|
32
|
-
3. **Connect Integrations:** Go to [app.superfeedback.ai/integrations](https://
|
|
30
|
+
1. **Create an account:** Go to [app.superfeedback.ai](https://app.superfeedback.ai).
|
|
31
|
+
2. **Get your API Key:** Navigate to [app.superfeedback.ai/api-keys](https://app.superfeedback.ai/api-keys) and generate a public key for your project.
|
|
32
|
+
3. **Connect Integrations:** Go to [app.superfeedback.ai/integrations](https://app.superfeedback.ai/integrations) and authorize the tools you use (Jira, GitHub, etc.).
|
|
33
33
|
|
|
34
34
|
-----
|
|
35
35
|
|
|
@@ -65,6 +65,7 @@ Ideal for React, Vue, Angular, Svelte, or standard bundlers (Vite, Webpack).
|
|
|
65
65
|
|
|
66
66
|
```javascript
|
|
67
67
|
import { Superfeedback } from "@superfeedback/widget";
|
|
68
|
+
import "@superfeedback/widget/style.css";
|
|
68
69
|
|
|
69
70
|
// Initialize with your public API Key
|
|
70
71
|
Superfeedback.init("YOUR_API_KEY_HERE");
|
|
@@ -75,6 +76,9 @@ Superfeedback.init("YOUR_API_KEY_HERE");
|
|
|
75
76
|
If you are not using a build step, you can load the widget directly from `unpkg`.
|
|
76
77
|
|
|
77
78
|
```html
|
|
79
|
+
<head>
|
|
80
|
+
<link rel="stylesheet" href="https://unpkg.com/@superfeedback/widget/style.css">
|
|
81
|
+
</head>
|
|
78
82
|
<script src="https://unpkg.com/@superfeedback/widget"></script>
|
|
79
83
|
|
|
80
84
|
<script>
|