picked 0.0.1-dev.1794524488993 → 0.0.1-dev.1795054184042

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
- | `body` | The description and the context, as Markdown. |
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. Try an issue again
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
@@ -56,6 +56,7 @@ const client = createClient({
56
56
  | `enabled` | `boolean` | `false` | When `true`, the devtools open on page load. When `false`, the Chrome extension opens them. |
57
57
  | `customTools` | `CustomTool[]` | `[]` | Your own tools. See [How to add a tool to the devtools](/how-to/add-a-tool-to-the-devtools). |
58
58
  | `issues` | `IssueReportingOptions` | none | Where the **Report an issue** tab sends issues. See [How to send issues to your tracker](/how-to/send-issues-to-your-tracker). |
59
+ | `layout` | `'full' \| 'customer' \| 'split'` | `'full'` | What the devtools list. `'customer'` shows only the review tabs, **Report an issue** and your tools. `'split'` gives each browser one of the two layouts at random, and each issue records its layout. A viewer can change the layout in **Settings**. |
59
60
 
60
61
  When a preview token is there, the devtools launcher shows, even if `enabled` is `false`.
61
62
  See [How to debug with the Chrome extension](/how-to/debug-with-the-chrome-extension).
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.1794524488993",
4
+ "version": "0.0.1-dev.1795054184042",
5
5
  "bin": {
6
6
  "picked": "dist/esm/bin.js"
7
7
  },
8
8
  "dependencies": {
9
- "@picked/cli": "0.0.1-dev.1794524488993",
10
- "@picked/config": "0.0.1-dev.1794524488993"
9
+ "@picked/cli": "0.0.1-dev.1795054184042",
10
+ "@picked/config": "0.0.1-dev.1795054184042"
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.1794524488993"
77
+ "@picked/client": "0.0.1-dev.1795054184042"
78
78
  },
79
79
  "private": false,
80
80
  "publishConfig": {