reflet-sdk 0.5.0 → 0.5.2
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/CHANGELOG.md +18 -0
- package/README.md +11 -2
- package/dist/{devtools-layer-BYGuFmhg.js → devtools-layer-N5ptXXK4.js} +1526 -1394
- package/dist/devtools-layer-N5ptXXK4.js.map +1 -0
- package/dist/devtools-next.d.ts +1 -1
- package/dist/devtools-next.d.ts.map +1 -1
- package/dist/devtools-next.js +1 -1
- package/dist/devtools-vite.d.ts +1 -1
- package/dist/devtools-vite.d.ts.map +1 -1
- package/dist/devtools-vite.js +3 -3
- package/dist/devtools-vite.js.map +1 -1
- package/dist/feedback.d.ts.map +1 -1
- package/dist/feedback.js +44 -136
- package/dist/feedback.js.map +1 -1
- package/dist/{handler-CHP0m7KF.js → handler-CyR6Ht99.js} +321 -44
- package/dist/handler-CyR6Ht99.js.map +1 -0
- package/dist/{options-7KtQZJj8.d.ts → options-CIBazDPp.d.ts} +3 -1
- package/dist/options-CIBazDPp.d.ts.map +1 -0
- package/dist/{picker-DDDpVcfr.js → picker-HLPIR-l6.js} +64 -59
- package/dist/picker-HLPIR-l6.js.map +1 -0
- package/dist/{protocol-Bn6Bg_0r.js → protocol-ClqTFzwR.js} +4 -1
- package/dist/protocol-ClqTFzwR.js.map +1 -0
- package/package.json +3 -2
- package/dist/devtools-layer-BYGuFmhg.js.map +0 -1
- package/dist/handler-CHP0m7KF.js.map +0 -1
- package/dist/options-7KtQZJj8.d.ts.map +0 -1
- package/dist/picker-DDDpVcfr.js.map +0 -1
- package/dist/protocol-Bn6Bg_0r.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,24 @@ All notable changes to `reflet-sdk` will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.5.2] - 2026-09-29
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Connect the devtools Board tab to Reflet without configuring a secret key. Approve access in Reflet and revoke it from the Board tab or Account → Devtools. Credentials stay on the dev server, isolated by project and backend; notes remain internal and are attributed to the connected member.
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- Using the widget no longer closes the app's open menus, popovers and pickers. Pointing at an element or attaching a screenshot keeps them open, so their content can be reported, and typing in the widget no longer loses focus to a menu's focus trap. The widget also stays clickable while a modal menu disables pointer events on the page.
|
|
19
|
+
|
|
20
|
+
## [0.5.1] - 2026-09-28
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- Picking an element no longer submits a hidden close-up as an extra screenshot. The saved attachments now match the previews, with the selected element still highlighted.
|
|
25
|
+
|
|
8
26
|
## [0.5.0] - 2026-09-24
|
|
9
27
|
|
|
10
28
|
### Added
|
package/README.md
CHANGED
|
@@ -207,7 +207,15 @@ turn it off.
|
|
|
207
207
|
the reporter's source location, and a code search for the element's text.
|
|
208
208
|
|
|
209
209
|
Code view and the board go through one dev-only route that reads files from
|
|
210
|
-
your repository and holds the
|
|
210
|
+
your repository and holds the board credential server-side.
|
|
211
|
+
|
|
212
|
+
To reach the board, click **Connect to Reflet** in the Board tab: sign in on
|
|
213
|
+
reflet.app, approve the organization that owns the widget's key, and the dev
|
|
214
|
+
server keeps a revocable token in `~/.reflet/devtools/`,
|
|
215
|
+
outside the repository. That token acts as you, only reaches the devtools
|
|
216
|
+
endpoints, and expires after 30 days unused; revoke it with Disconnect or from
|
|
217
|
+
Account → Devtools on reflet.app. Connect works on `localhost`, `*.localhost`
|
|
218
|
+
and `*.test`; elsewhere, set `REFLET_SECRET_KEY`.
|
|
211
219
|
|
|
212
220
|
Next.js App Router, `app/api/reflet-devtools/[...path]/route.ts`:
|
|
213
221
|
|
|
@@ -226,9 +234,10 @@ export default defineConfig({ plugins: [react(), refletDevtools()] });
|
|
|
226
234
|
|
|
227
235
|
| Env var | Purpose |
|
|
228
236
|
|---------|---------|
|
|
229
|
-
| `REFLET_SECRET_KEY` | Your `fb_sec_…` key, server-only.
|
|
237
|
+
| `REFLET_SECRET_KEY` | Your `fb_sec_…` key, server-only. Optional: replaces Connect, and wins over it when set. |
|
|
230
238
|
| `REFLET_EDITOR` | `vscode` (default), `cursor`, `windsurf`, `zed` or `webstorm` for "Open in editor". |
|
|
231
239
|
| `REFLET_API_URL` | API override, for self-hosted or local Reflet backends. |
|
|
240
|
+
| `REFLET_APP_URL` | Web app origin Connect signs in on. Defaults to `https://www.reflet.app`. Same as the `appUrl` option. |
|
|
232
241
|
| `REFLET_DEVTOOLS_HOSTS` | Comma-separated dev hostnames besides localhost, e.g. `app.test`. Same as the `allowedHosts` option. |
|
|
233
242
|
|
|
234
243
|
The route only answers on `localhost`, `*.localhost`, loopback IPs and the
|