@vitrinka/web 0.3.2 → 0.3.3
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 +29 -0
- package/build/hud.d.ts +1 -1
- package/build/hud.iife.js +4 -4
- package/build/protocol/index.d.ts +11 -1
- package/build/recorder/control.js +2 -1
- package/build/recorder/hud/Hud.js +2 -2
- package/build/recorder/hud/RecorderPill.js +4 -1
- package/build/recorder/hud/controller.d.ts +11 -6
- package/build/recorder/hud/flow.d.ts +5 -1
- package/build/recorder/hud/flow.js +6 -1
- package/build/recorder/page-controller.js +5 -5
- package/build/recorder/queue.d.ts +24 -0
- package/build/recorder/queue.js +60 -1
- package/build/recorder/recents.d.ts +30 -0
- package/build/recorder/recents.js +53 -2
- package/build/recorder/report.d.ts +1 -0
- package/build/recorder/report.js +5 -3
- package/build/recorder/session.d.ts +2 -2
- package/build/recorder/session.js +20 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @vitrinka/web
|
|
2
2
|
|
|
3
|
+
## 0.3.3
|
|
4
|
+
|
|
5
|
+
- **The other tabs leave the recording at the Stop, not when the save
|
|
6
|
+
ends.** 0.3.2 told them only once the stopping tab had drained its
|
|
7
|
+
queue and the server had closed the session, so for as long as that
|
|
8
|
+
took (seconds on a busy page) their pills still said rec with a running
|
|
9
|
+
clock, and their lanes kept capturing. The stopping tab now writes the
|
|
10
|
+
shared record as paused, with its clock frozen at the Stop, and marked
|
|
11
|
+
`stopping`. The other tabs stop capturing and painting rec within
|
|
12
|
+
milliseconds, and turn idle when the save ends. Its own tail still
|
|
13
|
+
lands. A stop that keeps the session (server unreachable) hands it back
|
|
14
|
+
to them as it is. Pause and resume are refused on a session another tab
|
|
15
|
+
is stopping. That tab renews its mark every 20 s while its Stop is out,
|
|
16
|
+
and a mark left by a tab closed mid-stop expires after 90 s into an
|
|
17
|
+
ordinary pause.
|
|
18
|
+
- **"Open board" appears once the board exists.** The server builds a
|
|
19
|
+
session's board after the stop, rendering stills first (30–60 s), so
|
|
20
|
+
neither the create nor the done answer carried a link. The pill said
|
|
21
|
+
"Saved · in Recents" (or "Sent · in Recents" for a bug report) and
|
|
22
|
+
never offered the board. The recorder also read only `board.url`,
|
|
23
|
+
while the server answers `boardUrl`. Both are read now. A stop or
|
|
24
|
+
report saved before its board exists reads the session every 1.5 s, for
|
|
25
|
+
up to 10 minutes (the extension's numbers), until the server names the
|
|
26
|
+
board. The link then lands on the recent, and the Saved / Sent face
|
|
27
|
+
turns into "Open board". A `HudController` host may return the saved
|
|
28
|
+
`sessionId` from `stop()` / `report()` (`HudSaved`) to get the same.
|
|
29
|
+
Recents opened after a reload pick up the wait for a board still being
|
|
30
|
+
projected, and `window.__vitrinkaRecorder.stop()` reads `boardUrl` too.
|
|
31
|
+
|
|
3
32
|
## 0.3.2
|
|
4
33
|
|
|
5
34
|
- **A Stop in one tab ends the recording in every tab.** A second tab of
|
package/build/hud.d.ts
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* defining `globalThis.VitrinkaHud.mount`.
|
|
6
6
|
*/
|
|
7
7
|
export { mountRecorderHud, type MountHudOptions } from './recorder/hud/mount';
|
|
8
|
-
export { DEFAULT_PREFS, type HudAccount, type HudAnnotation, type HudController, type HudLinkCode, type HudLinkFlow, type HudPrefs, type HudRecent, type HudRecentStatus, type HudRecording, type HudRect, type HudReport, type HudSize, type HudSnapshot, type HudSync, type HudSyncState, } from './recorder/hud/controller';
|
|
8
|
+
export { DEFAULT_PREFS, type HudAccount, type HudAnnotation, type HudController, type HudLinkCode, type HudLinkFlow, type HudPrefs, type HudRecent, type HudRecentStatus, type HudRecording, type HudRect, type HudReport, type HudSaved, type HudSize, type HudSnapshot, type HudSync, type HudSyncState, } from './recorder/hud/controller';
|
|
9
9
|
export type { RecorderStorage } from './recorder/storage';
|