@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 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
- 4. A modal appears where the user can optionally leave a more detailed message
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 on demand from a CDN the first time it's needed, so the thumbs bundle stays zero-dependency; if it can't load, the classic message box is shown instead.
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({