wenay-react2 1.0.49 → 1.0.51

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.
Files changed (54) hide show
  1. package/README.md +14 -14
  2. package/doc/EXAMPLE_USAGE.md +48 -0
  3. package/doc/PROJECT_FUNCTIONALITY.md +13 -2
  4. package/doc/PROJECT_RULES.md +27 -27
  5. package/doc/WENAY_REACT2_RENAMES.md +170 -170
  6. package/doc/changes/v1.0.41.md +35 -35
  7. package/doc/changes/v1.0.42.md +26 -26
  8. package/doc/changes/v1.0.43.md +10 -10
  9. package/doc/changes/v1.0.44.md +14 -14
  10. package/doc/changes/v1.0.45.md +8 -8
  11. package/doc/changes/v1.0.46.md +11 -11
  12. package/doc/changes/v1.0.47.md +9 -9
  13. package/doc/changes/v1.0.48.md +8 -8
  14. package/doc/changes/v1.0.49.md +7 -7
  15. package/doc/changes/v1.0.50.md +7 -0
  16. package/doc/changes/v1.0.51.md +10 -0
  17. package/doc/examples/README.md +1 -1
  18. package/doc/examples/conference-client.html +34 -34
  19. package/doc/examples/conference-client.ts +212 -212
  20. package/doc/examples/conference-server.mjs +150 -150
  21. package/doc/examples/peer-call-media.tsx +7 -7
  22. package/doc/examples/stand.tsx +5 -5
  23. package/doc/native.md +37 -37
  24. package/doc/progress/README.md +13 -13
  25. package/doc/progress/architecture-fix-queue.md +74 -74
  26. package/doc/progress/column-state-present-gate.md +28 -28
  27. package/doc/progress/common2-adoption-1.0.73.md +28 -28
  28. package/doc/progress/common2-adoption-1.0.74.md +24 -24
  29. package/doc/progress/common2-adoption-1.0.75.md +120 -0
  30. package/doc/progress/hook-controller-opportunities.md +363 -363
  31. package/doc/progress/hook-extraction-audit.md +195 -195
  32. package/doc/progress/public-surface-normalization.md +351 -351
  33. package/doc/progress/qa-stand-walkthrough-2026-07-12.md +62 -62
  34. package/doc/progress/stand-as-examples-audit.md +20 -20
  35. package/doc/progress/style-system-normalization.md +121 -121
  36. package/doc/target/README.md +32 -32
  37. package/doc/target/my.md +11 -3
  38. package/doc/wenay-react2-rare.md +11 -7
  39. package/doc/wenay-react2.md +2 -2
  40. package/lib/common/src/grid/agGrid4/core.js +7 -2
  41. package/lib/common/src/hooks/useReplay.js +13 -2
  42. package/lib/common/src/logs/logs.d.ts +4 -1
  43. package/lib/common/src/logs/logs.js +19 -11
  44. package/lib/common/testUseReact/replayVideo.d.ts +5 -0
  45. package/lib/common/testUseReact/replayVideo.js +98 -1
  46. package/lib/style/menuRight.css +19 -19
  47. package/lib/style/style.css +23 -23
  48. package/lib/style/tokens.css +184 -184
  49. package/package.json +54 -54
  50. package/doc/changes/v1.0.35.md +0 -26
  51. package/doc/changes/v1.0.37.md +0 -13
  52. package/doc/changes/v1.0.38.md +0 -48
  53. package/doc/changes/v1.0.39.md +0 -35
  54. package/doc/changes/v1.0.40.md +0 -15
@@ -1,26 +1,26 @@
1
- # v1.0.42
2
-
3
- Date: 2026-07-10
4
-
5
- Status: released.
6
-
7
- - Added: `onClickClose` prop on `FloatingWindow`/`FloatingWindowBase`; the historical `onCLickClose` typo prop stays as a deprecated compatibility alias (`onClickClose` wins when both are set). Internal `SettingsDialog` usage migrated. (A10)
8
- - Added: `keyForSave` prop on `useOutside`'s `Button` (same persist-key naming as `FloatingWindow`/`Resizable`/`RightMenu`); the old `keySave` stays as a deprecated compatibility alias. Factory-option `key` names (`createToolbar`, `staticGetAdd`, `createUiSlot`) are not React props and stay as is. (A10)
9
- - Fixed: duplicate QA card numbering - Replay per-key feed and route hand-off cards renumbered 25→33 and 26→34; card 25 (createToolbar) and 26 (useReorder) keep their numbers. (A10)
10
- - Added: `__test/tokens.test.ts` - permanent jest guarantee that `tokens.ts` mirrors `tokens.css` in both directions (CSS `var()` references resolved before compare). Chosen instead of codegen so the build pipeline stays untouched. (A10)
11
- - Verification: `npx tsc -p tsconfig.qa-check.json --noEmit`; `npm run testjest -- --runInBand` (47/47).
12
- - Added: `structEqual` in `utils/structEqual.ts` (exported from the utils barrel) - structural deep equality with the `JSON.stringify` idiom's tolerances (undefined props absent, NaN==NaN) but without its key-order sensitivity. (A10)
13
- - Changed: `columnState.readFromGrid` change/loop guards use `structEqual` instead of `JSON.stringify` - the grid's `getFilterModel()` key order no longer counts as a change (false-positive commits gone). The order-SENSITIVE `sameMap` presence guard is intentionally untouched: its order sensitivity re-imposes the stored order when columnDefs reset the grid's order. (A10)
14
- - Verification: `npx tsc -p tsconfig.qa-check.json --noEmit`; `npm run testjest -- --runInBand` (53/53, incl. new `structEqual` suite).
15
- - Added (A7): `useDraggableApi` options `onMove` (imperative per-move-tick callback through a ref; not fired on setPosition/reset/cancel or release) and `trackState: false` (position lives only in `positionRef`/`onMove`, no re-render per move tick; start/end re-renders remain). Both additive, defaults unchanged.
16
- - Changed (A7): `DragBox` is now a thin adapter over `useDraggableApi` (holdMs 0, trackState false, onMove) instead of its own document-listener loop. Contract preserved and pinned by the new permanent `__test/dragBox.test.tsx`: immediate start, per-tick imperative `onX`/`onY` with the delta from the press point, mouse `preventDefault` / touch none, touch identifier tracking, no re-render per move tick, `onStop` (no args) only after a real gesture, `last` ref shares the live position object, per-gesture delta reset. The unused `dragging` prop stays accepted.
17
- - Changed (A7): `DragArea` marked `@deprecated` (no consumers; unique semantics - `document.body` listeners, `stopPropagation` per move tick, ABSOLUTE coords, no preventDefault - re-basing would change observable behavior). Removal only in a deliberate breaking version.
18
- - Decided (A7): `useFloatingWindowController`'s header loop and `StickerMenu` stay on their own loops - their unique behavior is load-bearing (viewport clamp + `e.buttons===1` release recovery + persist/z-stack; mount-lifetime listeners + click-vs-drag suppression respectively).
19
- - Changed: QA card 35 added - DragBox delta drag with starts/stops/renders counters (renders must NOT grow per move pixel).
20
- - Verification: `npx tsc -p tsconfig.qa-check.json --noEmit`; `npm run testjest -- --runInBand` (58/58); stand 3010 fresh load zero console errors, card 35 two consecutive drags (commit without jump-back, renders 1+2 per gesture), card 26 reorder drag commits once (`B C A D E F G H`, commits 1).
21
- - Added (A9): internal `components/Overlay.tsx` - the one portal+scrim+outside-click+Escape composition for scrim-based modal systems. Deliberately NOT exported from public barrels; outside-click delegates to `OutsideClickArea` (mousedown+touchstart semantics preserved); the Escape listener attaches only when `onEscape` is passed; callbacks go through refs. Also the DOM seam for a future react-native view layer.
22
- - Changed (A9): `ModalProvider` composes `Overlay` (inline token scrim + flex centering, `tokens.zIndex.modal`, Escape gated by `closeOnEscape`, outside by `closeOnOutsideClick`) - public API and observable behavior unchanged; pinned by new permanent `__test/modalProvider.test.tsx`.
23
- - Changed (A9): `SettingsDialog` composes `Overlay` (`wenayDlgScrim`/`wenayDlgOutside` classes, window zIndex 10000 over the 9999 scrim); NO `onEscape` - the controller keeps its two-stage Escape (clear search, then close).
24
- - Decided (A9): `createModalElementStore` (render-slot store, not chrome), `LeftModal`/`Modal2` drawer (gesture-driven, scrim-less), and `ModalWrapper`/Input helpers (backdrop-less by design, hosted inside another modal slot) are NOT overlays and stay separate.
25
- - Verification: `npx tsc -p tsconfig.qa-check.json --noEmit`; `npm run testjest -- --runInBand` (62/62); stand 3010 fresh load zero console errors; card 13 - open, Escape, outside click, close button (scrim dims, token z-index); card 20 - open, two-stage Escape (clear -> close), outside click, window x.
26
- - Changed: docs updated for the whole pass - `wenay-react2.md` (useDraggableApi `onMove`/`trackState`, `onClickClose` in the FloatingWindow example, `Button` `keyForSave`), `wenay-react2-rare.md` (internal Overlay note in Modal Low Level, A7 drag-primitives outcome in Drag/Resize Low Level, `structEqual` in utilities, Cleanup Inventory refreshed: getLogsApi/onCLickClose marked fixed/aliased, DragArea and keySave added as deprecated); session note in `doc/progress/architecture-fix-queue.md`.
1
+ # v1.0.42
2
+
3
+ Date: 2026-07-10
4
+
5
+ Status: released.
6
+
7
+ - Added: `onClickClose` prop on `FloatingWindow`/`FloatingWindowBase`; the historical `onCLickClose` typo prop stays as a deprecated compatibility alias (`onClickClose` wins when both are set). Internal `SettingsDialog` usage migrated. (A10)
8
+ - Added: `keyForSave` prop on `useOutside`'s `Button` (same persist-key naming as `FloatingWindow`/`Resizable`/`RightMenu`); the old `keySave` stays as a deprecated compatibility alias. Factory-option `key` names (`createToolbar`, `staticGetAdd`, `createUiSlot`) are not React props and stay as is. (A10)
9
+ - Fixed: duplicate QA card numbering - Replay per-key feed and route hand-off cards renumbered 25→33 and 26→34; card 25 (createToolbar) and 26 (useReorder) keep their numbers. (A10)
10
+ - Added: `__test/tokens.test.ts` - permanent jest guarantee that `tokens.ts` mirrors `tokens.css` in both directions (CSS `var()` references resolved before compare). Chosen instead of codegen so the build pipeline stays untouched. (A10)
11
+ - Verification: `npx tsc -p tsconfig.qa-check.json --noEmit`; `npm run testjest -- --runInBand` (47/47).
12
+ - Added: `structEqual` in `utils/structEqual.ts` (exported from the utils barrel) - structural deep equality with the `JSON.stringify` idiom's tolerances (undefined props absent, NaN==NaN) but without its key-order sensitivity. (A10)
13
+ - Changed: `columnState.readFromGrid` change/loop guards use `structEqual` instead of `JSON.stringify` - the grid's `getFilterModel()` key order no longer counts as a change (false-positive commits gone). The order-SENSITIVE `sameMap` presence guard is intentionally untouched: its order sensitivity re-imposes the stored order when columnDefs reset the grid's order. (A10)
14
+ - Verification: `npx tsc -p tsconfig.qa-check.json --noEmit`; `npm run testjest -- --runInBand` (53/53, incl. new `structEqual` suite).
15
+ - Added (A7): `useDraggableApi` options `onMove` (imperative per-move-tick callback through a ref; not fired on setPosition/reset/cancel or release) and `trackState: false` (position lives only in `positionRef`/`onMove`, no re-render per move tick; start/end re-renders remain). Both additive, defaults unchanged.
16
+ - Changed (A7): `DragBox` is now a thin adapter over `useDraggableApi` (holdMs 0, trackState false, onMove) instead of its own document-listener loop. Contract preserved and pinned by the new permanent `__test/dragBox.test.tsx`: immediate start, per-tick imperative `onX`/`onY` with the delta from the press point, mouse `preventDefault` / touch none, touch identifier tracking, no re-render per move tick, `onStop` (no args) only after a real gesture, `last` ref shares the live position object, per-gesture delta reset. The unused `dragging` prop stays accepted.
17
+ - Changed (A7): `DragArea` marked `@deprecated` (no consumers; unique semantics - `document.body` listeners, `stopPropagation` per move tick, ABSOLUTE coords, no preventDefault - re-basing would change observable behavior). Removal only in a deliberate breaking version.
18
+ - Decided (A7): `useFloatingWindowController`'s header loop and `StickerMenu` stay on their own loops - their unique behavior is load-bearing (viewport clamp + `e.buttons===1` release recovery + persist/z-stack; mount-lifetime listeners + click-vs-drag suppression respectively).
19
+ - Changed: QA card 35 added - DragBox delta drag with starts/stops/renders counters (renders must NOT grow per move pixel).
20
+ - Verification: `npx tsc -p tsconfig.qa-check.json --noEmit`; `npm run testjest -- --runInBand` (58/58); stand 3010 fresh load zero console errors, card 35 two consecutive drags (commit without jump-back, renders 1+2 per gesture), card 26 reorder drag commits once (`B C A D E F G H`, commits 1).
21
+ - Added (A9): internal `components/Overlay.tsx` - the one portal+scrim+outside-click+Escape composition for scrim-based modal systems. Deliberately NOT exported from public barrels; outside-click delegates to `OutsideClickArea` (mousedown+touchstart semantics preserved); the Escape listener attaches only when `onEscape` is passed; callbacks go through refs. Also the DOM seam for a future react-native view layer.
22
+ - Changed (A9): `ModalProvider` composes `Overlay` (inline token scrim + flex centering, `tokens.zIndex.modal`, Escape gated by `closeOnEscape`, outside by `closeOnOutsideClick`) - public API and observable behavior unchanged; pinned by new permanent `__test/modalProvider.test.tsx`.
23
+ - Changed (A9): `SettingsDialog` composes `Overlay` (`wenayDlgScrim`/`wenayDlgOutside` classes, window zIndex 10000 over the 9999 scrim); NO `onEscape` - the controller keeps its two-stage Escape (clear search, then close).
24
+ - Decided (A9): `createModalElementStore` (render-slot store, not chrome), `LeftModal`/`Modal2` drawer (gesture-driven, scrim-less), and `ModalWrapper`/Input helpers (backdrop-less by design, hosted inside another modal slot) are NOT overlays and stay separate.
25
+ - Verification: `npx tsc -p tsconfig.qa-check.json --noEmit`; `npm run testjest -- --runInBand` (62/62); stand 3010 fresh load zero console errors; card 13 - open, Escape, outside click, close button (scrim dims, token z-index); card 20 - open, two-stage Escape (clear -> close), outside click, window x.
26
+ - Changed: docs updated for the whole pass - `wenay-react2.md` (useDraggableApi `onMove`/`trackState`, `onClickClose` in the FloatingWindow example, `Button` `keyForSave`), `wenay-react2-rare.md` (internal Overlay note in Modal Low Level, A7 drag-primitives outcome in Drag/Resize Low Level, `structEqual` in utilities, Cleanup Inventory refreshed: getLogsApi/onCLickClose marked fixed/aliased, DragArea and keySave added as deprecated); session note in `doc/progress/architecture-fix-queue.md`.
@@ -1,10 +1,10 @@
1
- # v1.0.43
2
-
3
- Date: 2026-07-10
4
-
5
- Status: released.
6
-
7
- - Changed: `ColumnDots` drag is LIVE (user request from the stand, card 32: "отображать и выключать надо по мере движения — я так буду искать нужный мне столбик"): every EMPTY mark the dot crosses swaps the shown column immediately - the grid/cards follow the finger during the drag; the drop no longer commits a swap (it only settles selection and the tear-off). Occupied marks are passed over; a fixed dot still never swaps; the vertical tear-off flick hides the CURRENTLY shown column of the gesture.
8
- - Added: a small label above the dragged dot (`.wenayColDotsDragLabel`, tokens `--cols-dots-drag-label-bg/color/font-size` + TS mirror) naming the currently shown column - sized for a finger on a phone.
9
- - Changed: QA cards 29 and 32 do/expect texts updated to the live semantics.
10
- - Verification: `npx tsc -p tsconfig.qa-check.json --noEmit`; `npm run testjest -- --runInBand` (62/62, incl. the two-way tokens sync test); stand 3010 card 32 - dragging the NOTE dot left across QTY to PRICE leaves the table showing NAME+PRICE with the dot settled on the PRICE mark (the drop path commits nothing, so the end state proves the live path), zero console errors.
1
+ # v1.0.43
2
+
3
+ Date: 2026-07-10
4
+
5
+ Status: released.
6
+
7
+ - Changed: `ColumnDots` drag is LIVE (user request from the stand, card 32: "отображать и выключать надо по мере движения — я так буду искать нужный мне столбик"): every EMPTY mark the dot crosses swaps the shown column immediately - the grid/cards follow the finger during the drag; the drop no longer commits a swap (it only settles selection and the tear-off). Occupied marks are passed over; a fixed dot still never swaps; the vertical tear-off flick hides the CURRENTLY shown column of the gesture.
8
+ - Added: a small label above the dragged dot (`.wenayColDotsDragLabel`, tokens `--cols-dots-drag-label-bg/color/font-size` + TS mirror) naming the currently shown column - sized for a finger on a phone.
9
+ - Changed: QA cards 29 and 32 do/expect texts updated to the live semantics.
10
+ - Verification: `npx tsc -p tsconfig.qa-check.json --noEmit`; `npm run testjest -- --runInBand` (62/62, incl. the two-way tokens sync test); stand 3010 card 32 - dragging the NOTE dot left across QTY to PRICE leaves the table showing NAME+PRICE with the dot settled on the PRICE mark (the drop path commits nothing, so the end state proves the live path), zero console errors.
@@ -1,14 +1,14 @@
1
- # v1.0.44
2
-
3
- Date: 2026-07-10
4
-
5
- Status: released.
6
-
7
- - Fixed: `createColumnState` no longer persists `visible=false` for a column
8
- hidden solely by runtime `presentGate` when another grid interaction is read
9
- back. Opening the gate restores the user's saved visibility as intended.
10
- - Added: regression coverage for gated-column readback and normal user
11
- visibility changes while the gate is open.
12
- - Verification: repro first failed on v1.0.43 (`visible.b` became `false` after
13
- an unrelated resize); targeted Jest 3/3; full Jest 64/64; `tsc -p
14
- tsconfig.qa-check.json --noEmit`; `pnpm run build`.
1
+ # v1.0.44
2
+
3
+ Date: 2026-07-10
4
+
5
+ Status: released.
6
+
7
+ - Fixed: `createColumnState` no longer persists `visible=false` for a column
8
+ hidden solely by runtime `presentGate` when another grid interaction is read
9
+ back. Opening the gate restores the user's saved visibility as intended.
10
+ - Added: regression coverage for gated-column readback and normal user
11
+ visibility changes while the gate is open.
12
+ - Verification: repro first failed on v1.0.43 (`visible.b` became `false` after
13
+ an unrelated resize); targeted Jest 3/3; full Jest 64/64; `tsc -p
14
+ tsconfig.qa-check.json --noEmit`; `pnpm run build`.
@@ -1,9 +1,9 @@
1
- # v1.0.45 — Media and Peer React adapters
2
-
3
- Status: ready for publication.
4
-
5
- - Updated `wenay-common2` to `^1.0.73`.
6
- - Added `useMediaSource` for capture lifecycle only; video/audio frames stay outside React state.
7
- - Added `usePeer` as a thin Peer SDK adapter with mirrored store, route/status and explicit resync controls.
8
- - Added QA stand cards 38–40 and focused hook tests.
1
+ # v1.0.45 — Media and Peer React adapters
2
+
3
+ Status: ready for publication.
4
+
5
+ - Updated `wenay-common2` to `^1.0.73`.
6
+ - Added `useMediaSource` for capture lifecycle only; video/audio frames stay outside React state.
7
+ - Added `usePeer` as a thin Peer SDK adapter with mirrored store, route/status and explicit resync controls.
8
+ - Added QA stand cards 38–40 and focused hook tests.
9
9
  - Verified with qa-check TypeScript, full Jest, package build, diff-check and the live stand; manual stand verification was confirmed by the user.
@@ -1,16 +1,16 @@
1
- # v1.0.46 — common2 Calls, presence and media relay adoption
2
-
3
- Status: ready for publication.
4
-
5
- - Updated the declared `wenay-common2` dependency to `^1.0.74`.
6
- - Added `usePeerCalls` over the common2 call manager; React renders call lifecycle but does not own signaling, busy/glare, timeout or closure policy.
7
- - Added `usePeerPresence` for the host presence snapshot and edge stream.
8
- - Added QA cards 41–44 and in-process tests for call lifecycle, presence edges and ACL revocation; card 43 carries a real camera frame through Media → relay → policy-filtered canvas.
1
+ # v1.0.46 — common2 Calls, presence and media relay adoption
2
+
3
+ Status: ready for publication.
4
+
5
+ - Updated the declared `wenay-common2` dependency to `^1.0.74`.
6
+ - Added `usePeerCalls` over the common2 call manager; React renders call lifecycle but does not own signaling, busy/glare, timeout or closure policy.
7
+ - Added `usePeerPresence` for the host presence snapshot and edge stream.
8
+ - Added QA cards 41–44 and in-process tests for call lifecycle, presence edges and ACL revocation; card 43 carries a real camera frame through Media → relay → policy-filtered canvas.
9
9
  - Verified with qa-check TypeScript, Jest, package build and the QA stand.
10
10
  - Ships doc/examples/peer-call-media.tsx: a consumer template for calls, presence, camera/microphone relay and server-owned ACL.
11
11
 
12
12
  - Ships the entire QA stand as wenay-react2/demo/stand; Active cards are canonical examples, Archive cards are regression/compat context.
13
-
14
- - Added runtime-only live drag-preview across `useReorder`, Toolbar, ColumnsMenu, columnState and attached grid; persistence still happens only on drop.
15
- - Added optional `CardList layout="compact"` for dense mobile key/value cards; the stacked layout remains default.
13
+
14
+ - Added runtime-only live drag-preview across `useReorder`, Toolbar, ColumnsMenu, columnState and attached grid; persistence still happens only on drop.
15
+ - Added optional `CardList layout="compact"` for dense mobile key/value cards; the stacked layout remains default.
16
16
  - Rebuilt QA card 27 controls on one CSS-grid track system so remove/insert actions cannot drift from their columns.
@@ -1,9 +1,9 @@
1
- # 1.0.47
2
-
3
- - Added the platform-neutral `wenay-react2/native` entrypoint.
4
- - Added `createNativeColumnState`: an AsyncStorage-compatible controller for order, visibility, width, sorting, filters and groups without DOM, CSS, React DOM or ag-grid dependencies.
5
- - Added `createNativeColumnDots`: a renderer-independent gesture model with live replacement, reorder, visibility, sorting and tear-off behavior.
6
- - Added focused hydration, persistence, gesture and dependency-boundary tests.
7
- - Fixed the shipped examples list formatting in README.
8
-
9
- Verification: Jest, TypeScript build, package archive inspection and runtime import of `wenay-react2/native` from the packed artifact.
1
+ # 1.0.47
2
+
3
+ - Added the platform-neutral `wenay-react2/native` entrypoint.
4
+ - Added `createNativeColumnState`: an AsyncStorage-compatible controller for order, visibility, width, sorting, filters and groups without DOM, CSS, React DOM or ag-grid dependencies.
5
+ - Added `createNativeColumnDots`: a renderer-independent gesture model with live replacement, reorder, visibility, sorting and tear-off behavior.
6
+ - Added focused hydration, persistence, gesture and dependency-boundary tests.
7
+ - Fixed the shipped examples list formatting in README.
8
+
9
+ Verification: Jest, TypeScript build, package archive inspection and runtime import of `wenay-react2/native` from the packed artifact.
@@ -1,8 +1,8 @@
1
- # 1.0.48
2
-
3
- - Fixed swapped display labels of the logs settings: `minVarLogs` is the log-table importance filter, `minVarMessage` gates notifications (keys and behavior unchanged).
4
- - Peer call demo (`demo/peer-media`, QA card 45): the audio enable intent is remembered and applied to the player created after accept, so the documented order (enable -> call -> accept) produces sound without a second click.
5
- - QA stand: stale card texts corrected (14 reset label, 29 unreachable "Max 4 dots", 38 phantom "requesting" state, card 2 note); card 2 switched off the deprecated `onCLickClose` typo alias to `onClickClose`.
6
- - `typescript ^5` is pinned in devDependencies (the build used to rely on a global install; TS 7 is incompatible with ts-jest and `moduleResolution: node10`).
7
-
8
- Verification: tsc qa-check, Jest 23/78 green, library build, and a full automated walkthrough of all 43 QA stand cards with zero console errors (`doc/progress/qa-stand-walkthrough-2026-07-12.md`; manual-device checks listed there).
1
+ # 1.0.48
2
+
3
+ - Fixed swapped display labels of the logs settings: `minVarLogs` is the log-table importance filter, `minVarMessage` gates notifications (keys and behavior unchanged).
4
+ - Peer call demo (`demo/peer-media`, QA card 45): the audio enable intent is remembered and applied to the player created after accept, so the documented order (enable -> call -> accept) produces sound without a second click.
5
+ - QA stand: stale card texts corrected (14 reset label, 29 unreachable "Max 4 dots", 38 phantom "requesting" state, card 2 note); card 2 switched off the deprecated `onCLickClose` typo alias to `onClickClose`.
6
+ - `typescript ^5` is pinned in devDependencies (the build used to rely on a global install; TS 7 is incompatible with ts-jest and `moduleResolution: node10`).
7
+
8
+ Verification: tsc qa-check, Jest 23/78 green, library build, and a full automated walkthrough of all 43 QA stand cards with zero console errors (`doc/progress/qa-stand-walkthrough-2026-07-12.md`; manual-device checks listed there).
@@ -1,7 +1,7 @@
1
- # 1.0.49
2
-
3
- - Added the conference demo `wenay-react2/demo/peer-conference` (QA card 46): a 3-way host-star room exercising BOTH media technologies — `Peer.createMediaRelay` fan-out gated by call-derived room membership, and a policy-routed focus pair over `Replay.createRouteCoordinator` whose relay hop (`serveReplayChannel` over an in-proc text channel) and WebRTC direct route (`createWebRtcConnector`/`acceptWebRtcDirect`) serve ONE owner-sequenced line, making every hand-off gap-free by seq. Includes a headless `createConferenceWorld` factory (injectable rtc/fps/frame for tests) and a fake-RTC loopback runtime ported from the common2 oracle.
4
- - Added `useRouteState(coordinator, link)`: thin React binding for route chips — live route state, last denial/failure reason, 500ms connector metrics and a short hand-off log.
5
- - Added the real-backend conference example: `doc/examples/conference-server.mjs` (Node + Socket.IO peer host with a server-owned room policy: accepted calls join both parties, WebRTC offers are brokered only inside a shared room, `canWatch` reads shared-room membership) and `doc/examples/conference-client.html/.ts` (one seat per tab: media grid through the server relay, peer-store rows promotable to a real RTCPeerConnection datachannel and back).
6
-
7
- Verification: tsc qa-check; Jest 25 suites / 87 tests including 9 new (star-room roster, relay ACL follows membership, relay-hop seq authority, gap-free promote/demote over loopback RTC, loud policy denials with recovery, server revoke + transport-death fallbacks, late-joiner catch-up, React flow, useRouteState transitions); library build; stand card 46 walkthrough.
1
+ # 1.0.49
2
+
3
+ - Added the conference demo `wenay-react2/demo/peer-conference` (QA card 46): a 3-way host-star room exercising BOTH media technologies — `Peer.createMediaRelay` fan-out gated by call-derived room membership, and a policy-routed focus pair over `Replay.createRouteCoordinator` whose relay hop (`serveReplayChannel` over an in-proc text channel) and WebRTC direct route (`createWebRtcConnector`/`acceptWebRtcDirect`) serve ONE owner-sequenced line, making every hand-off gap-free by seq. Includes a headless `createConferenceWorld` factory (injectable rtc/fps/frame for tests) and a fake-RTC loopback runtime ported from the common2 oracle.
4
+ - Added `useRouteState(coordinator, link)`: thin React binding for route chips — live route state, last denial/failure reason, 500ms connector metrics and a short hand-off log.
5
+ - Added the real-backend conference example: `doc/examples/conference-server.mjs` (Node + Socket.IO peer host with a server-owned room policy: accepted calls join both parties, WebRTC offers are brokered only inside a shared room, `canWatch` reads shared-room membership) and `doc/examples/conference-client.html/.ts` (one seat per tab: media grid through the server relay, peer-store rows promotable to a real RTCPeerConnection datachannel and back).
6
+
7
+ Verification: tsc qa-check; Jest 25 suites / 87 tests including 9 new (star-room roster, relay ACL follows membership, relay-hop seq authority, gap-free promote/demote over loopback RTC, loud policy denials with recovery, server revoke + transport-death fallbacks, late-joiner catch-up, React flow, useRouteState transitions); library build; stand card 46 walkthrough.
@@ -0,0 +1,7 @@
1
+ # v1.0.50
2
+
3
+ Date: 2026-07-13
4
+
5
+ - Changed: raised the minimum `wenay-common2` dependency to `^1.0.75` and documented the React-facing RPC Replay reconnect contract.
6
+ - Reason: common2 now preserves stable RPC remote identity across a transient transport reconnect, recovers Replay from its delivered seq with ordered/deduplicated catch-up, and keeps intentional disposal or token rotation as hard teardown.
7
+ - Verification: installed package manifest and `doc/changes/1.0.75.md` inspected; `pnpm exec jest --runInBand useReplayRpcReconnect.test.tsx` (4/4); `pnpm exec jest --runInBand` (26 suites, 91 tests); `npx tsc -p tsconfig.qa-check.json --noEmit`; `npm run build`; `git diff --check`. Live QA: real Vite Socket.IO reconnect delivered 21/21 ordered events, 0 missing/duplicates, stable remote identity, one server listener after reconnect, and 0 after unmount.
@@ -0,0 +1,10 @@
1
+ # v1.0.51
2
+
3
+ Date: 2026-07-14
4
+
5
+ - Fixed: overlay `createGridBuffer` delivery now merges a `Partial<Row>` stream patch with the current AG Grid row in both immediate updates and `sync()`. Declarative `rowData` fields no longer disappear.
6
+ - Fixed: `useLogsPageTable` reconciles AG Grid with the bounded full-log controller state, including retention evictions, instead of only appending mini-feed rows forever.
7
+ - Fixed: `useReplaySubscribe` rejects an invalid Replay remote without its `line` surface as a local subscription error instead of allowing an uncaught render-time crash to blank the QA stand.
8
+ - QA: removed the unfinished real-RPC reconnect card from the stand while its server descriptor is incompatible with the installed common2 RPC surface; the rest of the stand remains usable.
9
+
10
+ Verification: focused Jest regression, full Jest (27 suites / 92 tests), `npx tsc -p tsconfig.qa-check.json --noEmit`, `npm run build`, `git diff --check`, and a visible Vite QA-stand reload.
@@ -4,4 +4,4 @@
4
4
 
5
5
  The component uses an in-process `Peer.createPeerHost`, so calls, presence, camera and microphone relay work without server credentials. For production, expose `publishOf(account)` and `watchOf(account)` from the RPC server and keep `canWatch` plus call authorization on that server.
6
6
  - [stand.tsx](stand.tsx) — exports the entire interactive stand from wenay-react2/demo/stand. Active cards teach canonical APIs; Archive cards remain visible regression/compat examples.
7
- - [`conference-server.mjs`](conference-server.mjs) + [`conference-client.html`](conference-client.html) / [`conference-client.ts`](conference-client.ts) — the real-backend conference bridge (QA card 46's in-process world is `wenay-react2/demo/peer-conference`). Run `node doc/examples/conference-server.mjs` (needs `socket.io`), serve the client page from any dev server that transpiles TS (the wenay-react2 stand does), and open 2-3 tabs with `?me=a&peers=b,c&host=1` / `?me=b&peers=a,c` / `?me=c&peers=a,b`. The server owns the room policy (accepted calls join both parties to the room; WebRTC offers are brokered only inside a shared room) and the media relay; each peer row in a tab can promote its store link to a real RTCPeerConnection datachannel and re-interpose back.
7
+ - [`conference-server.mjs`](conference-server.mjs) + [`conference-client.html`](conference-client.html) / [`conference-client.ts`](conference-client.ts) — the real-backend conference bridge (QA card 46's in-process world is `wenay-react2/demo/peer-conference`). Run `node doc/examples/conference-server.mjs` (needs `socket.io`), serve the client page from any dev server that transpiles TS (the wenay-react2 stand does), and open 2-3 tabs with `?me=a&peers=b,c&host=1` / `?me=b&peers=a,c` / `?me=c&peers=a,b`. The server owns the room policy (accepted calls join both parties to the room; WebRTC offers are brokered only inside a shared room) and the media relay; each peer row in a tab can promote its store link to a real RTCPeerConnection datachannel and re-interpose back.
@@ -1,34 +1,34 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1" />
6
- <title>wenay conference seat</title>
7
- <style>
8
- body { font-family: system-ui, sans-serif; margin: 16px; background: #f6f8fa; color: #1f2328; }
9
- h2 { margin: 0 0 4px; }
10
- .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
11
- .tiles { display: flex; gap: 12px; flex-wrap: wrap; }
12
- figure { margin: 0; display: grid; gap: 2px; }
13
- img.tile { width: 160px; height: 90px; background: #111; border-radius: 6px; object-fit: cover; }
14
- figcaption, .fine { font-size: 12px; color: #57606a; }
15
- .peers { display: grid; gap: 6px; margin: 8px 0; }
16
- .peerRow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: #fff; border: 1px solid #d0d7de; border-radius: 8px; padding: 6px 10px; }
17
- .chip { padding: 1px 8px; border-radius: 10px; font-size: 12px; color: #fff; background: #0969da; }
18
- .chip.direct { background: #1a7f37; }
19
- .chip.fallback, .chip.offline { background: #cf222e; }
20
- #log { font: 11px/1.5 monospace; background: #fff; border: 1px solid #d0d7de; border-radius: 8px; padding: 8px; max-height: 180px; overflow: auto; }
21
- button { cursor: pointer; }
22
- </style>
23
- </head>
24
- <body>
25
- <h2 id="who">conference seat</h2>
26
- <div class="fine">media grid = server relay (room ACL) · peer rows = store links, promotable to a real WebRTC datachannel</div>
27
- <div class="row" id="callControls"></div>
28
- <div class="tiles" id="tiles"></div>
29
- <div class="peers" id="peers"></div>
30
- <div class="row"><input id="status" placeholder="my status (syncs over the peer store)" style="flex: 1; max-width: 320px;" /></div>
31
- <div id="log"></div>
32
- <script type="module" src="./conference-client.ts"></script>
33
- </body>
34
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <title>wenay conference seat</title>
7
+ <style>
8
+ body { font-family: system-ui, sans-serif; margin: 16px; background: #f6f8fa; color: #1f2328; }
9
+ h2 { margin: 0 0 4px; }
10
+ .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
11
+ .tiles { display: flex; gap: 12px; flex-wrap: wrap; }
12
+ figure { margin: 0; display: grid; gap: 2px; }
13
+ img.tile { width: 160px; height: 90px; background: #111; border-radius: 6px; object-fit: cover; }
14
+ figcaption, .fine { font-size: 12px; color: #57606a; }
15
+ .peers { display: grid; gap: 6px; margin: 8px 0; }
16
+ .peerRow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: #fff; border: 1px solid #d0d7de; border-radius: 8px; padding: 6px 10px; }
17
+ .chip { padding: 1px 8px; border-radius: 10px; font-size: 12px; color: #fff; background: #0969da; }
18
+ .chip.direct { background: #1a7f37; }
19
+ .chip.fallback, .chip.offline { background: #cf222e; }
20
+ #log { font: 11px/1.5 monospace; background: #fff; border: 1px solid #d0d7de; border-radius: 8px; padding: 8px; max-height: 180px; overflow: auto; }
21
+ button { cursor: pointer; }
22
+ </style>
23
+ </head>
24
+ <body>
25
+ <h2 id="who">conference seat</h2>
26
+ <div class="fine">media grid = server relay (room ACL) · peer rows = store links, promotable to a real WebRTC datachannel</div>
27
+ <div class="row" id="callControls"></div>
28
+ <div class="tiles" id="tiles"></div>
29
+ <div class="peers" id="peers"></div>
30
+ <div class="row"><input id="status" placeholder="my status (syncs over the peer store)" style="flex: 1; max-width: 320px;" /></div>
31
+ <div id="log"></div>
32
+ <script type="module" src="./conference-client.ts"></script>
33
+ </body>
34
+ </html>