makethisbetter 1.18.0 → 1.18.1
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 -2
- package/dist/makethisbetter.cjs +9 -9
- package/dist/makethisbetter.cjs.map +1 -1
- package/dist/makethisbetter.esm.js +49 -43
- package/dist/makethisbetter.esm.js.map +1 -1
- package/dist/makethisbetter.js +11 -11
- package/dist/makethisbetter.js.map +1 -1
- package/dist/popup/clarify.d.ts.map +1 -1
- package/package.json +2 -5
- package/src/popup/clarify.ts +17 -2
- package/src/styles/widget.css +7 -7
package/README.md
CHANGED
|
@@ -227,7 +227,7 @@ Disable with `frustrationDetection: false`.
|
|
|
227
227
|
|
|
228
228
|
### AI Clarification
|
|
229
229
|
|
|
230
|
-
Before
|
|
230
|
+
Before submission, an AI assistant may ask one short follow-up question to clarify the real need — avoiding [XY problems](https://xyproblem.info/) where users describe their attempted solution instead of the actual problem. Once the exchange is complete, the widget submits the feedback automatically.
|
|
231
231
|
|
|
232
232
|
### Auto-Collected Context
|
|
233
233
|
|
|
@@ -335,7 +335,7 @@ MakeThisBetter.init({
|
|
|
335
335
|
})
|
|
336
336
|
```
|
|
337
337
|
|
|
338
|
-
When `userToken` or `userTokenFn` is set, the widget sends an `X-User-Token` header with every request. After
|
|
338
|
+
When `userToken` or `userTokenFn` is set, the widget sends an `X-User-Token` header with every request. After a successful submission, a "View my feedback" link appears that opens the project board filtered to the user's submissions.
|
|
339
339
|
|
|
340
340
|
**The JWT wins over `user`.** These are not two independent ways to name the
|
|
341
341
|
reporter. Whenever the server receives a valid token, it takes the reporter's id,
|