@vitrinka/web 0.3.1 → 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 CHANGED
@@ -1,5 +1,25 @@
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
+
3
23
  ## 0.3.1
4
24
 
5
25
  - **A bug report always carries the current screen.** When a checkout
package/README.md CHANGED
@@ -277,6 +277,11 @@ of its tab). Where that is unavailable (private mode, a storage-disabled
277
277
  profile) the recorder falls back to memory and says so once; plug your own
278
278
  synchronous driver with `configureRecorderStorage()` before mounting.
279
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
+
280
285
  ## Development
281
286
 
282
287
  ```bash