Merge remote-tracking branch 'origin/feat/channel-prototype' into refactor/claude-review

This commit is contained in:
AAA committed 2026-11-28 23:50:31 +08:00
commit 261d6edcc5
3 files changed
+20 -1

No files matched your search

+16
View File
@@ -38,6 +38,22 @@ items once absorbed, including the outside-PR exchange. Public contribution
guidance stays focused on the change's value and scope. Candidate ideas remain
proposals.
The follow-up checked the 17 removed 2.x documents whose contents had diverged.
Their current 3.0 responsibilities are covered; the room data owner now states
the existing local-QR and complete-invitation boundary explicitly.
## Catalog consumer control
The accepted Native comparison fed the production AppPage, Stage and session
consumer in an in-memory control. For 120 identical catalogs, messages,
session updates, notifications and measured subscriber commits fell from
120 to one. A new source and a changed title/page address each still caused
one update; remount read the current catalog without another event. This
measures notification work, not native catalog construction or WebView paint.
The native performance scene is prepared with synthetic local media; no
matching beta.67 window is currently running here, and older user windows
were left alone.
## Recovery evidence
A receiver trace on the existing isolated beta.66 topology had the alternate
@@ -110,6 +110,9 @@ removing existing room grants. Public entry alone creates no grant for a later
switch to private. A returning creator can reopen a saved room while its channel
binding exists. The channel owner can remove that binding. Reading messages or files requires room admission.
Copy and QR export use the same complete invitation URL, including its grant.
The page generates the QR code locally.
Scope local copies by domain, room and authenticated user, never nickname or
room title. Source URLs locate the runtime; they are not the room's identity.
Cached content remains a local copy when the room is offline. It cannot reopen
@@ -485,7 +485,7 @@ export function ChannelVideo({ stream, owned, localSource, sourcePaused = false,
const playbackRef = useMemo(() => ({ current: activeVideo }), [activeVideo]);
const picture = usePictureInPicture(playbackRef);
const previewPlayback = useHostPreviewPlayback(playbackRef, owned ? displayed?.stream ?? null : null, previewAutoPause, localSource);
useAnchoredPopover(pictureTrigger, picturePanel, { side: "above", align: "center" });
useAnchoredPopover(pictureTrigger, picturePanel, { align: "center", maxHeight: 360, minVisibleHeight: 240 });
useLayoutEffect(() => { if (presentation === "background") picturePanel.current?.hidePopover(); }, [presentation]);
const visibility = usePlaybackControlsVisibility(playbackRef, controls, blocked || !ready);
const register = useCallback((input: ChannelScreenInput, element: HTMLVideoElement | null) => {