@qaiddev/thumbs-embed 1.9.1 → 1.10.0
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 +2 -3
- package/dist/chunks/{loader-DepVS4i5.js → loader-BVNyi56k.js} +335 -287
- package/dist/chunks/loader-BVNyi56k.js.map +1 -0
- package/dist/chunks/{modal-CEfcaIQR.js → modal-DwwbWQ-F.js} +82 -75
- package/dist/chunks/modal-DwwbWQ-F.js.map +1 -0
- package/dist/embed.d.ts +17 -1
- package/dist/index.js +435 -380
- package/dist/index.js.map +1 -1
- package/dist/loader.js +1 -1
- package/dist/modal.d.ts +8 -2
- package/dist/qaid.umd.cjs +12 -12
- package/dist/qaid.umd.cjs.map +1 -1
- package/dist/quest-launcher.d.ts +24 -4
- package/package.json +1 -1
- package/dist/chunks/loader-DepVS4i5.js.map +0 -1
- package/dist/chunks/modal-CEfcaIQR.js.map +0 -1
package/README.md
CHANGED
|
@@ -72,8 +72,7 @@ For complex configurations, use a separate JSON config element:
|
|
|
72
72
|
2. User clicks a thumb button
|
|
73
73
|
3. A targeting overlay activates — the user clicks on any page element to attach their feedback to it
|
|
74
74
|
4. Optional permission to save a screenshot of the current tab.
|
|
75
|
-
|
|
76
|
-
5. Feedback is submitted to your endpoint as a JSON POST.
|
|
75
|
+
5. Feedback is submitted to your endpoint as a JSON POST, and a modal opens at the same moment where the user can leave a more detailed message. The modal does not wait for the POST to answer; a message the user sends goes out as a PATCH once the POST has returned its id.
|
|
77
76
|
|
|
78
77
|
If `skipTargeting` is `true`, step 3 is skipped and the modal opens immediately.
|
|
79
78
|
|
|
@@ -190,7 +189,7 @@ Screenshots use the browser's Screen Capture API. The user will see a permission
|
|
|
190
189
|
|
|
191
190
|
### Linking buttons to quests
|
|
192
191
|
|
|
193
|
-
Instead of the optional message box, a button can open a **quest** — a short questionnaire powered by [`@qaiddev/quests-embed`](https://www.npmjs.com/package/@qaiddev/quests-embed). You can ask one set of questions after a thumbs-up, a different set after a thumbs-down, and another after a video recording is sent. The quest widget is loaded
|
|
192
|
+
Instead of the optional message box, a button can open a **quest** — a short questionnaire powered by [`@qaiddev/quests-embed`](https://www.npmjs.com/package/@qaiddev/quests-embed). You can ask one set of questions after a thumbs-up, a different set after a thumbs-down, and another after a video recording is sent. The quest widget is loaded from a CDN once the page is idle, along with each linked quest's definition, so a click opens the quest at once with no server round trip; the thumbs bundle itself stays zero-dependency. If it can't load, the classic message box is shown instead.
|
|
194
193
|
|
|
195
194
|
```typescript
|
|
196
195
|
new QaidFeedback({
|