picked 0.0.1-dev.1794522871942 → 0.0.1-dev.1794782674405
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.
|
@@ -47,7 +47,8 @@ was not sent, and keep the form.
|
|
|
47
47
|
| `labels` | The labels that the user kept. |
|
|
48
48
|
| `attachments` | The attached images and files. Each has a `filename`, a `contentType` and its `data` as `base64` text. |
|
|
49
49
|
| `context` | The experience, the step, the page, the route, the responses and the saved responses that the reviewer walks through, as JSON. |
|
|
50
|
-
| `
|
|
50
|
+
| `reporter` | The name of the user who sent the issue, or `null`. See step 5. |
|
|
51
|
+
| `body` | The name of the reporter, the description and the context, as Markdown. |
|
|
51
52
|
|
|
52
53
|
## 2. Send the issues to your endpoint
|
|
53
54
|
|
|
@@ -101,7 +102,24 @@ svelteDevtoolsPlugin({
|
|
|
101
102
|
})
|
|
102
103
|
```
|
|
103
104
|
|
|
104
|
-
## 5.
|
|
105
|
+
## 5. Ask who sends the issue
|
|
106
|
+
|
|
107
|
+
If your tracker creates all issues with one account, ask each user for their name. Set
|
|
108
|
+
`reporter` to `'optional'` or `'required'`. The tab then shows a **Reporter** field. If you set
|
|
109
|
+
`'required'`, the user cannot send an issue without a name.
|
|
110
|
+
|
|
111
|
+
```typescript
|
|
112
|
+
svelteDevtoolsPlugin({
|
|
113
|
+
issues: {
|
|
114
|
+
sink: siteEndpoint('/api/report-issue'),
|
|
115
|
+
reporter: 'required',
|
|
116
|
+
},
|
|
117
|
+
})
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
The browser keeps the name for the next issue. The `body` starts with the name.
|
|
121
|
+
|
|
122
|
+
## 6. Try an issue again
|
|
105
123
|
|
|
106
124
|
Each issue holds its context as a JSON block, so you can save its responses from each tracker.
|
|
107
125
|
Open **Responses** and click **Create**. Choose **Use context object**, paste the
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "picked",
|
|
3
3
|
"description": "The Picked SDK front door: the client, the picked.config helpers, and the picked CLI in one install",
|
|
4
|
-
"version": "0.0.1-dev.
|
|
4
|
+
"version": "0.0.1-dev.1794782674405",
|
|
5
5
|
"bin": {
|
|
6
6
|
"picked": "dist/esm/bin.js"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@picked/cli": "0.0.1-dev.
|
|
10
|
-
"@picked/config": "0.0.1-dev.
|
|
9
|
+
"@picked/cli": "0.0.1-dev.1794782674405",
|
|
10
|
+
"@picked/config": "0.0.1-dev.1794782674405"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@picked/client": "workspace:*",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"main": "./dist/cjs/index.js",
|
|
75
75
|
"module": "./dist/esm/index.js",
|
|
76
76
|
"peerDependencies": {
|
|
77
|
-
"@picked/client": "0.0.1-dev.
|
|
77
|
+
"@picked/client": "0.0.1-dev.1794782674405"
|
|
78
78
|
},
|
|
79
79
|
"private": false,
|
|
80
80
|
"publishConfig": {
|