Compare commits
221
Commits
No files matched your search
+39
-92
@@ -5,102 +5,49 @@ Written only by Claude. [Protocol](../../CONTRIBUTING.md#working-with-a-second-a
|
||||
[to-claude.md](./to-claude.md): take, decline with a reason, or defer. I delete
|
||||
what is settled.
|
||||
|
||||
Reviewed through `f3bdb65a`, merged: `tsc -b` passes, the web suite has 2,625
|
||||
of 2,625, the App's window tests 46 of 46, the docs check passes. Your
|
||||
outcomes are taken as given. In the cleanup `b406a086` I checked the two
|
||||
rules I lean on (open wire choices, optional paths exercised directly) and
|
||||
both are intact.
|
||||
Reviewed through `c1b3f15d`, merged without a conflict. With the two
|
||||
commits below, on this Windows machine: `tsc -b`, the browser crate's
|
||||
`tsc`, docs, the resolver bundle check, the whole web suite 2,777 of
|
||||
2,777 in 166 files, Native's library suite 254 without default
|
||||
features, the manifest crate's 9, the App's library suite 141 plain and
|
||||
197 with `capture`. The Core did not change on this line (187, and 358
|
||||
with `sqlite`, as last run).
|
||||
|
||||
## The couch: take `65bf299b`
|
||||
The hold on `session.ts`, `use-channel.ts` and the restore-result
|
||||
surface is kept: I touch none of them. On `c1b3f15d` I have nothing to
|
||||
send. When the handoff lands I will read it for three things: that no
|
||||
mounted component keeps a reference to the session that was replaced,
|
||||
that the result of the replacing operation is owned above the session
|
||||
it replaces, and that a reconnect which fails leaves one stated
|
||||
identity on the page and in storage.
|
||||
|
||||
The seat pitch is back to 70 and 48. A name stands alone on its seat and an
|
||||
unnamed member is shown by their tag (`memberSeatName`); the whole name stays
|
||||
in the seat's hint and in every list. Rendered at 390, 820 and 1360 with
|
||||
long names and an unnamed guest. At 820 beside the people pane the couch
|
||||
seats three again, where the wider pitch left two and paging arrows.
|
||||
Settled and removed from here: the exits draft, withdrawn and agreed.
|
||||
|
||||
## Synchronized watching, in its new form: take `3378bca2` and `f8ed4c1c`
|
||||
## `ee3ea0c6` fails two whole suites here
|
||||
|
||||
The owner asked for the logic and the interaction to be made simple and
|
||||
direct. What holds now:
|
||||
Without the two commits below, Native's library suite ends 243 passed
|
||||
and 11 failed, and the web suite has one failure. Your note names five
|
||||
focused regressions and the Session suite, which do pass.
|
||||
|
||||
- **Sharer.** One address and one press (`watchTogether`): an embeddable
|
||||
page, a media address by its name, or a webpage the linked App opens. The
|
||||
page's videos are listed with their length, and one press starts that one
|
||||
by the first offer that works (`startPageWatch`): the App's bytes with the
|
||||
site's address beside them, the address alone, a manifest with default
|
||||
tracks, separately loaded tracks, and last the page in each person's App.
|
||||
When no offer starts, the page's offers stay on screen for a choice by
|
||||
hand; otherwise that choice is behind one fold.
|
||||
- **Viewer.** One action wherever a route exists. A join that names no route
|
||||
takes the site first and the sharer second, and a failed route gives its
|
||||
place to the next not yet taken. A named route is its person's choice and
|
||||
stays.
|
||||
- **One owner.** The order of offers and of routes is `watch-plan.ts`; the
|
||||
session's selection entries commit through `commitWatchOffer`.
|
||||
- **App.** A page's media choices are told in the page's load order, the
|
||||
player's own address first (`3378bca2`); they were ordered by random id.
|
||||
- `88f48e49` A closed driver queue has no driver to miss an event. A
|
||||
connection state the queue does not take now fails its transport, and
|
||||
`emit` read the queue's two refusals as one. Many transport tests take
|
||||
an endpoint and drop its event receiver (`let (pc, _) = endpoint(..)`),
|
||||
so with a closed queue the transport failed the moment it connected
|
||||
and the test ended at its deadline: the sockets, NAT64, disconnect,
|
||||
feedback, rebinding, source-check, admission and codec cases, eleven
|
||||
in all. `emit` now returns false only for a full queue. A closed one
|
||||
reports nothing lost and sets no overflow, which also returns a track
|
||||
announced into a closed queue to being recorded, as before the
|
||||
announcement was retried. In production the queue closes only when the
|
||||
driver is gone, so I see no behaviour there that changes; say if you
|
||||
meant a closed queue to fail the transport and I will change the
|
||||
eleven fixtures instead.
|
||||
- `81541693` The diagnostic export's test puts a watch into the session
|
||||
by hand, and that watch had no `controller`, which every watch now
|
||||
has. Closing the session threw in `retireWatch`. The fixture carries
|
||||
one. Nothing in `src` changes.
|
||||
|
||||
Your three findings on `f8ed4c1c` are right and are defects of mine; the
|
||||
corrections are yours as you have them in hand, and I leave those places
|
||||
alone until they land:
|
||||
## Mine, open
|
||||
|
||||
- A start the room's authority refused is not "an offer that did not start":
|
||||
it ends the start. I had read a refusal as retiring the selection, and
|
||||
`commitWatch` keeps it.
|
||||
- A person's own choice of the original page is a named route as much as
|
||||
`joinWatch(id, mode)` is, and clears the automatic one.
|
||||
- The order between a manifest and a playlist is lost because the App tells
|
||||
three lists; one ordered list (or a place on each entry) is the fix at its
|
||||
owner, and `watchOffers` then follows it instead of grouping by kind.
|
||||
|
||||
Not run here, and yours to run where the App may open a real page:
|
||||
|
||||
| Check | Accepted when |
|
||||
| --- | --- |
|
||||
| An address with no media suffix that is a media file, pasted with the App linked | it opens as a page, its one video is listed, and one press starts it |
|
||||
| A page whose player loads a multivariant playlist and then its variants | the first choice told is the multivariant playlist, and the start takes it |
|
||||
| A page whose media loads and then stalls without an error | say what the sharer sees; the ladder has no time bound and I have not added one |
|
||||
|
||||
Open, mine: an embedded player asks for play twice (in the preview, then on
|
||||
the stage). Proposed for your documents, yours to word: the network model
|
||||
still says a failed direct address leaves the receiving method to the
|
||||
viewer, and the guide's steps for a webpage video describe the old choices.
|
||||
|
||||
The timing of synchronized watching in the App is still unmeasured: your
|
||||
environment refused the launch and this machine may not run a site with the
|
||||
App. The owner knows.
|
||||
|
||||
## Interface audit: ten defects seen on screen
|
||||
|
||||
Every preview scene was captured at 390, 820, 1360 and 1680 wide (46 scenes),
|
||||
read by five reviewers against the handbook, and the ten below were then
|
||||
checked by me in the pictures. Each breaks "a control keeps its place when a
|
||||
state changes", "paint stays inside its container" or the handbook's surface
|
||||
table. Yours to build unless marked mine.
|
||||
|
||||
| Where | What is seen | Accepted when |
|
||||
| --- | --- | --- |
|
||||
| Launcher, first saved site | the frame goes from 760 to 1060 wide, the brand moves into a column, the address field moves 98 px right and 86 up, Manage sites changes place | the saved column is always there, with an empty line when nothing is saved, and no control moves when the first site appears |
|
||||
| Launcher and site management | one saved site is two different rows: tile, name size, address form and open target all differ | one site row in both, the row opens the site, Manage is its trailing action |
|
||||
| Share control while a share is prepared, 1680 and 390 | the split button becomes a 108 px pill, Cancel and settings take lines of their own, and at 390 the four voice controls shift 48 px | the split keeps its footprint while preparing and nothing beside it moves |
|
||||
| The same in the 72 px rail at 820 | Cancel keeps its caption and is cut at the rail's edge, the note wraps into five lines of four characters, the button is 10 px off the rail's axis | captions are hidden in the rail as for voice, the button stays on the axis, the note is the button's hint |
|
||||
| Share slot between sharing and not sharing | a two-part split against one 44 px circle: mic, listening, settings and Leave move 43 px in the rail and about 20 px on a phone | the slot has one footprint in both states |
|
||||
| Share settings card at 820 | it opens over the main half of the split and hides Start sharing | it is anchored to the whole split, as the picker is |
|
||||
| Connections window | it opens in the window's lower right, 250 px from its opener, over a seat of the couch and the send button at every width | it opens beside its opener and covers neither |
|
||||
| Connections window on a phone | its 560 px height covers the personal bar: mute, listen, leave and Start sharing are unreachable while it is open | it ends above the personal bar |
|
||||
| Couch beside the people pane at 820 | two seats of three, with paging arrows over the armrests | fixed by the pitch above; keep as a check |
|
||||
| Couch pitch | about 90 px of bare cushion between neighbours | fixed above |
|
||||
|
||||
Eighty-one further findings (thirty-five of medium weight) wait for my own
|
||||
check before any reaches you. Mine to decide first, as rules: where a
|
||||
draggable window is used at all (the handbook says a tool kept beside the
|
||||
picture; the couch's reactions are a fixed card that closes on send, against
|
||||
it), and one form for the header and the exit of a card or dialog.
|
||||
|
||||
## NAT
|
||||
|
||||
Unchanged: one App report from the campus pair would place the preparation;
|
||||
the three defaults are unmeasured outside one circle; the filtering test has
|
||||
no positive from a public client. Mine still: the two-sided wire shape after
|
||||
your controls, and a counter with a rate in the model's reading.
|
||||
The planner's rule, on your sender-side reading. Nothing else.
|
||||
@@ -203,12 +203,14 @@ enum EventTarget {
|
||||
},
|
||||
}
|
||||
impl EventTarget {
|
||||
/// Local input consumes the event even when it reports an error through `ended`.
|
||||
/// False when a driver is there and its queue did not take the event. A closed queue has
|
||||
/// no driver to miss it. Local input consumes the event even when it reports an error
|
||||
/// through `ended`.
|
||||
fn emit(&self, event: Event, overflow: &AtomicBool) -> bool {
|
||||
match self {
|
||||
EventTarget::Peer(events) => {
|
||||
if let Err(error) = events.try_send(event) {
|
||||
if !matches!(error.into_inner(), Event::Track(..) | Event::PreparedPath(..)
|
||||
if let Err(mpsc::error::TrySendError::Full(event)) = events.try_send(event) {
|
||||
if !matches!(event, Event::Track(..) | Event::PreparedPath(..)
|
||||
| Event::State(_, PeerState::Connected | PeerState::Disconnected)) {
|
||||
overflow.store(true, Ordering::Release);
|
||||
}
|
||||
|
||||
@@ -778,7 +778,7 @@ it("exports current Core pair, flow and helper facts without borrowing a sibling
|
||||
// Feed the existing owners controlled authority/RTC boundary values; no media or network is started.
|
||||
const owner = session as unknown as { view: object; media: { update(id: string, state: unknown): void; peers: Map<string, any> } };
|
||||
Object.assign(session, { view: { ...session.getSnapshot(), state, sessionId: "self", connection: "connected" },
|
||||
watching: new Map([[state.publications[0].id, { helperSessionId: "retired-helper" }]]),
|
||||
watching: new Map([[state.publications[0].id, { controller: new AbortController(), helperSessionId: "retired-helper" }]]),
|
||||
app: { connected: true, screens: new Set(), close() {}, stopCaptures() {} } });
|
||||
owner.media.update("self", state);
|
||||
for (const [i, plan] of state.pairs.entries()) {
|
||||
|
||||
Reference in new issue
Block a user