@vitrinka/web 0.3.0 → 0.3.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 +32 -0
- package/README.md +8 -1
- package/build/hud.iife.js +7 -7
- package/build/recorder/RecorderProvider.js +4 -1
- package/build/recorder/flight.d.ts +4 -1
- package/build/recorder/flight.js +6 -0
- package/build/recorder/hud/RecorderPill.js +8 -3
- package/build/recorder/queue.d.ts +14 -0
- package/build/recorder/queue.js +94 -4
- package/build/recorder/recents.d.ts +2 -0
- package/build/recorder/recents.js +5 -0
- package/build/recorder/report.js +16 -2
- package/build/recorder/session.d.ts +10 -2
- package/build/recorder/session.js +47 -7
- package/build/recorder/storage/index.d.ts +6 -0
- package/build/recorder/storage/index.js +11 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @vitrinka/web
|
|
2
2
|
|
|
3
|
+
## 0.3.2
|
|
4
|
+
|
|
5
|
+
- **A Stop in one tab ends the recording in every tab.** A second tab of
|
|
6
|
+
the app opened during a recording joins it (it reads the shared
|
|
7
|
+
`localStorage` record, as a reload does), but nothing told it when
|
|
8
|
+
another tab stopped: its pill kept a running recording — the clock
|
|
9
|
+
counting from the original start, Start hidden — and its clicks and
|
|
10
|
+
navigations kept going to a session the server had closed, until a
|
|
11
|
+
reload. Each tab now follows the record the others write: a Stop
|
|
12
|
+
there turns this pill idle and drops this tab's undelivered tail for
|
|
13
|
+
that session, a Start there is joined, a pause follows. Recents
|
|
14
|
+
follow too. A custom `RecorderStorage` driver may implement the new
|
|
15
|
+
optional `watch(key, onChange)` to get the same; the memory driver has
|
|
16
|
+
nothing to share.
|
|
17
|
+
- **A stopped recording leaves no trace on the pill.** While "Saved"
|
|
18
|
+
showed (and after it), the pill still said `data-state="rec"` and the
|
|
19
|
+
folded clock kept counting from the ended session's start. The state
|
|
20
|
+
now follows the live recording only, and the clock stands where it
|
|
21
|
+
stopped.
|
|
22
|
+
|
|
23
|
+
## 0.3.1
|
|
24
|
+
|
|
25
|
+
- **A bug report always carries the current screen.** When a checkout
|
|
26
|
+
window went over the 4 MiB / 20 000-event cap on its own, it was dropped
|
|
27
|
+
and the buffer stayed empty until the next 30-second checkout; a report
|
|
28
|
+
opened in that gap (or before the first snapshot) froze a clip with no
|
|
29
|
+
rrweb window, so vitrinka rendered no stills, the board stayed empty and
|
|
30
|
+
the description never reached intake. Opening the report sheet now takes
|
|
31
|
+
a fresh checkout when the clip holds no snapshot, so the clip opens on at
|
|
32
|
+
least the current screen. A clip that already holds a window is frozen
|
|
33
|
+
as-is — a checkout would rotate its older window out.
|
|
34
|
+
|
|
3
35
|
## 0.3.0
|
|
4
36
|
|
|
5
37
|
- **Report a bug, without a recording running.** A new ⋯ menu row. While
|
package/README.md
CHANGED
|
@@ -180,7 +180,9 @@ buffer starts — scrubbed URLs, click text that never reads a value). Nothing
|
|
|
180
180
|
of it is written to storage or sent until you press Send; a reload, an
|
|
181
181
|
unlink or a recording start discards it.
|
|
182
182
|
|
|
183
|
-
**The report.** The sheet freezes the last minute as it opens
|
|
183
|
+
**The report.** The sheet freezes the last minute as it opens (when that
|
|
184
|
+
holds no full snapshot — a window over a cap was dropped — it takes one of
|
|
185
|
+
the current screen first), asks what
|
|
184
186
|
went wrong (required) and offers **Mark on screen** — annotate mode's
|
|
185
187
|
element pick or region drag. Send files one short session under the pill's
|
|
186
188
|
credential: title `Bug report: <first line>`, `meta.kind: "report"` and
|
|
@@ -275,6 +277,11 @@ of its tab). Where that is unavailable (private mode, a storage-disabled
|
|
|
275
277
|
profile) the recorder falls back to memory and says so once; plug your own
|
|
276
278
|
synchronous driver with `configureRecorderStorage()` before mounting.
|
|
277
279
|
|
|
280
|
+
The session record is shared by every tab of the app: a tab opened during
|
|
281
|
+
a recording joins it, and a Start, pause or Stop in one tab reaches the
|
|
282
|
+
others through the driver's optional `watch(key, onChange)` (the
|
|
283
|
+
`localStorage` driver implements it with the `storage` event).
|
|
284
|
+
|
|
278
285
|
## Development
|
|
279
286
|
|
|
280
287
|
```bash
|