| 20-demo-instance-with-every-shared-plugin |
08 |
chat-video-frontend |
| vue |
| nuxt |
| livekit |
| vitest |
| chat |
| video |
| auth |
| gap-closure |
|
complete |
true |
| CR-01 |
| WR-01 |
| WR-04 |
| WR-05 |
| CR-02 |
|
| phase |
provides |
| 20-06 |
useCall on a fake Room, the chat layer's tests, the community auth hooks and their tests |
|
|
| useCall: a per-attempt token with stale checks after every await; leave works and is final at any moment |
| useCall: a failed connect (or livekit-client import) ends a session nobody else joined (GET status) |
| videoClient: hasStart, rememberAccept, takeAccept, callAutostart (click handoffs) |
| ChatvideoCall: confirmation (chatvideo-confirm, chatvideo-confirm__go) unless the call button or Accept just handed over |
| vue-chat-layer: honestHttpUrl (app/lib/urlGuard.ts), used by safeUrl, linkify and messageUrls |
| vue-demo-app: createCommunitySignOut and endSession; logout and unauthorized() reset the chat, close the socket and dismiss the ring |
|
|
| tokens |
tasks |
commits |
| 16745 |
5 |
5 |
|
vue-chatvideo-layer 8222255, vue-chat-layer b6d3389, vue-demo-app deb809f |
vue-chatvideo-layer 5386903, vue-chat-layer a798bb1, vue-demo-app 188ae25 |
| added |
patterns |
|
|
| Per-attempt object ({start, answered, left}) plus a stale() closure checked after every await of an async lifecycle |
| In-memory click handoffs (a minute, taken once) as proof of user intent before media starts |
| A written-host-equals-opened-host guard before any anchor or link card is produced |
| A Nuxt-free sign-out factory whose parts run isolated, wired by the plugin with runWithContext |
|
|
| created |
modified |
| ../vue-chat-layer/app/lib/urlGuard.ts |
| ../vue-chat-layer/app/lib/urlGuard.test.ts |
|
| ../vue-chatvideo-layer/app/composables/useCall.ts |
| ../vue-chatvideo-layer/app/lib/videoClient.ts |
| ../vue-chatvideo-layer/app/components/Chatvideo/Call.vue |
| ../vue-chatvideo-layer/app/components/Chatvideo/IncomingCall.vue |
| ../vue-chatvideo-layer/app/assets/css/chatvideo-base.css |
| ../vue-chatvideo-layer/i18n/locales/en.json |
| ../vue-chatvideo-layer/i18n/locales/pl.json |
| ../vue-chatvideo-layer/tests/useCall.test.ts |
| ../vue-chatvideo-layer/tests/videoClient.test.ts |
| ../vue-chatvideo-layer/README.md |
| ../vue-chat-layer/app/lib/markdown.ts |
| ../vue-chat-layer/app/lib/linkEmbeds.ts |
| ../vue-chat-layer/app/lib/linkEmbeds.test.ts |
| ../vue-chat-layer/README.md |
| ../sm-demo-app/vue-demo-app/app/utils/communityAuth.ts |
| ../sm-demo-app/vue-demo-app/app/utils/communityAuth.test.ts |
| ../sm-demo-app/vue-demo-app/app/plugins/auth.ts |
| ../sm-demo-app/vue-demo-app/app/composables/useDemoAuth.ts |
|
|
| A stale start or join answer closes its session (end for the caller, leave for the callee) only when no newer attempt replaced it; a newer attempt owns the session |
| leave() before the call connects posts end for the caller and leave for the callee (not the room-based alone rule), and only once the attempt has its answer |
| WR-05 uses the server's view: GET status, end when at most one participant is joined; unreadable status (null, undefined, rejection) falls back to end for the caller and leave for the callee. The same rule applies to a failed livekit-client import |
| callAutostart: start needs a waiting start answer (hasStart, left for begin to take); join takes an Accept marker. ?start=1 only chooses Start call over Join call |
| honestHttpUrl also refuses invisible characters (Default_Ignorable_Code_Point, Cf) in a host, which the Unicode-host branch would otherwise accept |
|
| Leaving at every await of begin() is a test: deferred promises for start, join, connect and the camera setter, and a gated vi.doMock of livekit-client for the import |
|
| SC-2 |
| D-02 |
| D-04 |
| D-11 |
| D-13 |
| D-17 |
| D-23 |
|
| id |
description |
requirement |
verification |
| D1 |
CR-01: leaving or unmounting at any moment of a call attempt never connects a Room or turns on media afterwards |
D-13 |
| kind |
ref |
status |
| unit |
../vue-chatvideo-layer/tests/useCall.test.ts (leave while start is pending; unmount while join is pending; leave while livekit-client loads; leave while connect is pending; a connect that fails after a leave posts nothing more; leave between camera and microphone; a second begin while the first join is pending) |
pass |
|
|
|
| id |
description |
requirement |
verification |
| D2 |
WR-05: a failed connect ends a session nobody else joined, else leaves |
D-13 |
| kind |
ref |
status |
| unit |
../vue-chatvideo-layer/tests/useCall.test.ts (a failed LiveKit connect fails the call; an unreadable status ends the starter's session; a failed connect ends a session nobody else joined; a failed connect leaves when the other side joined; a failed connect with an unreadable status: the starter ends, the callee leaves) |
pass |
|
|
|
| id |
description |
requirement |
verification |
| D3 |
WR-04: the call page asks before media unless the call button or Accept just handed over |
D-11 |
| kind |
ref |
status |
| unit |
../vue-chatvideo-layer/tests/videoClient.test.ts (describe call autostart) |
pass |
|
| kind |
ref |
status |
| other |
pnpm --dir ../vue-chatvideo-layer run build:playground (Call.vue and IncomingCall.vue compile) |
pass |
|
|
|
| id |
description |
requirement |
verification |
| D4 |
CR-02 client side: deceptive link hosts render as text, never as a link or a card |
D-17 |
| kind |
ref |
status |
| unit |
../vue-chat-layer/app/lib/urlGuard.test.ts; ../vue-chat-layer/app/lib/linkEmbeds.test.ts |
pass |
|
|
|
| id |
description |
requirement |
verification |
| D5 |
WR-01: logout and unauthorized() reset the chat, close the socket and dismiss the ring |
D-04 |
| kind |
ref |
status |
| unit |
../sm-demo-app/vue-demo-app/app/utils/communityAuth.test.ts (createChatAuth with a sign-out, createCommunitySignOut, endSession) |
pass |
|
| kind |
ref |
status |
| other |
pnpm --dir ../sm-demo-app/vue-demo-app run build on the v0.1.0 pins |
pass |
|
|
|
|
14min |
2026-11-02 |