Commit Graph
115 Commits
  • feat(diagnostics): history is always recorded, and only active probes wait for a developer
    A person had to turn recording on before a problem for its report to say
    what led up to it, and nobody does that before a problem. Recording is
    now passive and always on: the page and the App keep a bounded history in
    memory (8,192 events or 8 MiB), and a report is exported on demand. There
    is no recording switch for a person any more.
    
    The page's diagnostic control is one button that downloads the report, and
    the App launcher's is one button that downloads the App report. The
    launcher state no longer carries a debug field, the route that enabled App
    recording is gone, and the App no longer adds a debug flag to the pages it
    opens. The App installs its recorder at its start, before anything can
    log; the Server binary does not, so it is unchanged. Every guard that kept
    an event from being recorded is removed, and audio capture and capture
    frame counters always count.
    
    What stays off by default is the work that costs something of its own:
    the page's per-frame gap loop and console echo, which `?debug=1` starts,
    and the App's window-loop lateness probe and shutdown progress lines,
    which `PIIK_DIAGNOSTIC_PROBES=1` starts. Reports say whether probes ran
    instead of whether recording was on. The copy describes the report in all
    five languages, and keys and the visual kind that lost their last user are
    removed.
    
    Tests now assert that history is recorded with nothing switched on, that
    the probes run only with the developer's flag, and keep every assertion on
    bounds, secret filtering and report contents.
  • docs(review): hand off native timing and media-loss controls
    Accept the measured host-window drag repair and keep the source-catalog optimization pending its iframe URL update correction. Record signaling-alive media controls with exact scope, and retain touch, caption menu and physical timing acceptance in TODO. Clarify that content requests gestures while the native host executes them.
  • fix(app): move windows from the host instead of CSS drag regions
    The App's whole window stalled in ordinary use. WebView2 recomputes a page's
    CSS drag regions in the embedding process, on the window thread, after each
    layout change, and answers pointer moves over a region from there. With the
    top bar marked app-region: drag, a posted event reached the window thread up
    to 217 ms late on maximize, 85 ms late on opening or closing a popover and
    505 ms late while the pointer moved along the bar; with no drag region it was
    never late, and the page's own frames showed nothing in either case. Others
    report the same path: WebView2Feedback 5798, and a sampled trace of another
    wry application that puts the window thread in Controller::UpdateDraggableRegions.
    
    The page's top bar, the standalone caption and the permission prompt now ask
    the host on a press, and the host starts the system's own move of the window
    (the first press moves, the second maximizes), as Tauri's drag regions do. No
    page uses app-region any more, and WebView2's non-client region support is
    turned off for every WebView, so that a site's own style cannot hold the
    window thread either.
    
    Measured in the App built from this tree with a real pointer: no late event
    in any of those phases, also with chat text selected and with a page that
    sets a drag region itself; a press and a move on the room's name, on the bar
    and on a detached panel's caption moves the window, a double click maximizes
    and restores, a drag from the maximized state restores and moves, and a
    control in the bar still takes its click. Not exercised: the permission
    prompt's heading. Lost with the regions: the system menu on a right click of
    the bar, and moving the window by touch.
  • fix(client): keep native titles out of text selection
    Plain title tooltip wrappers inherit the integrated header's drag region;
    real controls and disabled-control tooltip triggers remain interactive.
    Disable header text selection while retaining selectable text in inputs and
    popovers and preserving the ordinary Web and fullscreen presentation.
    
    Based on the reported drag gesture and Electron's custom-window guidance.
    Chrome 156 pointer checks cover title selection, clipped-name keyboard access,
    control clicks and preserved body/popover selection. Actual Windows window
    movement and host region activation remain in native acceptance.
  • fix(obs): show input failures outside the settings dialog
    The room's OBS control now reports a failed input instead of remaining on Waiting for OBS. Opening it puts the existing actionable format error first and links the existing OBS setup guide. Normal retry returns the same permit to its waiting state; errors keep their shared semantic colour.
    
    Based on the reported unsupported High 10 input and the existing typed format and source lifecycle. Chrome fixtures verify the failure and waiting surfaces at narrow width. TypeScript, the related frontend acceptance batch and the existing Native external-input controls pass; no codec or authorization policy changed.
  • fix(ui): polish room controls and media navigation
    Use shared in-app confirmation for message deletion and diagnostic reload, restore double-click playback gestures and room-card return to chat, and dismiss reactions and clipped tooltips at their owners. Align room/header/chat controls, keep guest labels readable, and avoid rebuilding unchanged caption icons. A paused embedded-player seek now publishes when the actual position changes. Verified real preview interactions, 2591 Web tests and both TypeScript projects. Native window stalls and the reported missing thumbnail remain under investigation.
  • fix(ui): keep stop outcomes with the initiating page
    Stopping a screen could lose its source row and later report a failure in another room, while unrelated actions erased browser-host restoration failures. The initiating page now retains stop results by publication with their room labels, and BrowserHosting owns its restoration condition. Reuse existing action and feedback owners. Public-entry regressions, hook and component tests, TypeScript, and controlled Chrome interleavings passed.
  • feat(protocol)!: use product versions for Domain and App admission
    Declare major and minor once at admission and preserve each session's numbers
    beside its signing key. Equal majors admit different minors; incompatible
    majors reject before consuming launch authority and identify the older side.
    App discovery, Native readiness and Web diagnostics keep that direction.
    
    Resolve build identity before compilation. Browser values and displayed version
    share the same build input; the Node SDK reads its actual WASM version. Remove
    the two private wire identifiers without aliases for obsolete internal builds.
    
    Basis: the accepted compatibility rule in Versioning and ADR-0017. Validated
    Core, Web/WASM, Windows reader and App discovery controls. Real packaged SDK
    3.0 and 3.1 each completed signed conversation and private-room history against
    the other Linux Server minor. Browser/App mixed-artifact acceptance remains open.
  • fix(app): keep permission decisions visible with long content
    Give the trusted permission view enough initial height for ordinary copy and let the request body scroll independently of its decision buttons. Chrome rendering of the real template at 440x280 passed long-origin/file-name and keyboard controls. Actual WebView2 window acceptance remains part of the platform gate.
  • fix(popover): dismiss only the inner fallback menu on Escape
    OddBird closes all open auto popovers from its document handler, so one Escape could dismiss both the language submenu and More menu. Install the Piik fallback handler before applying the polyfill and close the innermost existing DOM popover without maintaining another stack. Composing Escape preserves the menu. Native behavior remains native. Real Chrome with forced fallback and 61 affected tests pass; this follow-up is outside the frozen beta.60 source.
  • fix(app): distinguish saved addresses from site access
    Do not offer new bookmarks for known Quick Tunnel origins. Keep existing entries readable, renameable and removable, and allow replacing them with stable addresses. Empty launchers prioritize opening an invitation and hosting; the star still opens site management, where saving and App approval remain independent. Match Web, native captions and guides across the supported copy catalog. Real HTTP API and Chrome desktop/phone controls pass, including legacy entries, exact provider matching and stable-address saves. Integrated types, build and relevant Web checks pass.
  • refactor(ui): separate shared feedback from room dialogs
    Move shared diagnosis, error presentation and help to their consumer layer, and extract the existing settings-action hook from the room dialog. Remove the old paths without forwarding aliases. Living components now have three direct domain imports instead of ten; static file-level runtime cycles were already absent, so this is ownership cleanup rather than a claimed cycle repair. Full Web validation, TypeScript and production bundling cover the moved consumers.
  • fix(ui): keep room controls usable through layout changes
    The shared room sweep fixes narrow stage sizing, caption overlap, covered chat reads, phone history, focus restoration, settings error placement and row alignment at their existing owners. Room and Network settings share one draft and save action. The two shell stylesheets are consolidated; hidden current-room links and obsolete grid rules are removed. The handbook, matching guides and four generated room screenshots follow the shared components.
    
    Chrome 156 interaction checks covered both themes, 320px phones, short windows, classic scrollbars, native-caption simulation, eight retained players, nested Back/Escape and room-tool popout. Full Web validation passed 2485 cases and exposed one assertion on removed hidden local-preview text; the preview identity now lives in the player accessible label and all 15 affected playback/layout checks pass. TypeScript and Browser SDK types pass. Actual WebView caption dragging and physical mobile capture are outside this browser check.
  • refactor(room): keep common tools and controls coherent across layouts
    Separate current-view controls from stable connections, room-window and App tools; expose the minimal composition only through the existing development preview. Both forms retain the same media and conversation instances. Hide room-scoped invokers while the phone directory makes their contents inert, and keep room-creation policy copy out of an existing room hint.
    
    Document-owned control tokens follow body portals and detached documents, while selected-button geometry remains in the shared button owner. Fix the stretched split-control seam, use existing separate share actions in the rail, and preserve intrinsic source-action widths so a narrow footer does not shrink every picture row. Restore the fitted tile hairline and remove the room/invitation separator.
    
    Chrome 156 verifies the actual composition and meaningful controls at desktop, short laptop and phone widths. Four-picture area at 1366x650 returns from 12.1 to 21.28 percent without replacing players. Types, the integrated Web suite and the subsequently affected UI family pass. Existing product entries and the roster decision remain held.
  • refactor(icons): remove unused glyphs and keep sizing with the button
    Remove six glyphs without current prototype consumers, preserving server for the guide generator and the separate 2.x line. More uses the shared solid-icon drawing treatment. Btn no longer supplies the size its own CSS already owns; the rendered dimensions and interaction stay unchanged.
    
    Client/tool types and the before-after Chrome control check pass. Regenerated guide diagrams are byte-identical between the two icon variants.
  • refactor(room): align the living composition with the reference
    Place the desktop controls under navigation and keep microphone, listening and leave directly reachable on narrow surfaces. Retain the actual voice target when browsing changes; omit its repeated label only when the visible room already states the sole stable scope. Fitted pictures keep the same keyed players, and the room tool moves its trigger without duplicating its contents.
    
    Use the reference typography, tonal selection and shared surface owners. Preserve the room activity roster pending its owner decision, along with workspace and quick. Correct Native caption wrapping and make the Guide reflect its real fixed room rather than adding a presentation flag to product code.
    
    Combined source types and 36 focused UI checks pass. Chrome 156 verifies direct controls, same-instance media/tool movement, normal text and file composition, and the synthetic Native caption geometry. Existing layout samples match; exact living geometry and the final product entry still await cross-review. The remaining-room count is explicitly labelled as additional rooms.
  • feat(ui): define shared room surfaces and paired share controls
    Add semantic frame, room and aside tokens plus neutral tonal and paired-button styles at their shared owners. Share and settings remain independent actions while the paired shape moves together. Existing product callers retain their layout and control geometry.
    
    The live share component has an explicit catalogue variant. Default guide captures keep the current product shape; the split example uses share=split. Chrome 156 checked light/dark, keyboard and touch behavior and unchanged desktop/mobile geometry. This is phase one of the reviewed layout plan; shell placement follows visual acceptance.
  • fix(ui): give error text a readable shared foreground
    Separate readable danger text from decorative danger color in the shared palette, following the existing live-ink role. Correct nested error paragraphs and remove the media-only foreground override. Actual Chrome light/dark playback errors and danger-button states meet normal text contrast while existing fills and status meaning remain.
  • merge(review): use room-owned handoffs and remove retired client code
    Integrate d32f2dc8 after independent reachability, session and rendered reviews. Keep HTTP-only preview identifiers and integer serialization guards, let Core own policy ranges, and wrap the share controls intrinsically on narrow layouts. The page now uses the shared document-title owner. Full Rust, WASM, protocol and 2382 Web tests passed; subsequent title checks and the final Core/Server suite passed.
  • refactor(client): remove components only the previews reached
    PawnDetail, RoomCodeInput, RouteTree, ShareFailureHelp and ViewerOverview,
    the room voice panel and its connection details, the participant topology,
    the relay volunteer limits and the media failure resolver were reached only
    from the development previews and their tests: an import trace from the
    product entry without its DEV routes, from site/ and from scripts/ reaches
    none of them. Their preview sections, the room voice preview hook and the
    troubleshooting checks that only fed the removed dialog go with them, along
    with their tests, their styles and the 51 copy keys nothing else uses, in
    all five locales.
    
    The document title helper stays: it is also preview-only today, but the
    visual language standard names it as the owner of document titles.
  • refactor(client): remove exports only their tests called
    The orchestration that used these helpers was retired in 5d4a67cf and
    5126b9a0, leaving them reachable only from their own tests. The Browser-
    rejected video check and its error, the encoded-frame maximum, the quality
    label and whole-settings comparison (with the audio comparison it alone
    used), and the unused PeerSnapshot, ChannelRequest and NativePageMpdTrack
    types go. The video-only comparison, which the encoding pool and transport
    still use, stays.
    
    currentLang had no product caller; the tests that read the language through
    it now read it through say(), the accessor the product uses.
  • fix(ui): fit native headers and settings tabs to narrow windows
    Keep shared header actions below the reserved caption controls when space runs out. Size the existing settings tabs to their dialog, stacking their icon and caption in narrow containers. Actual room and site components pass 320, 390 and 900 pixel checks, with roving keyboard focus and enlarged text.
  • fix(input): retire inactive controls and cancelled touch gestures
    Use the owning document's activity boundary to release keyboard repeats, mouse holds and joystick touches. Re-arm docking when a compact mouse gesture is cancelled or loses capture. Synthetic input and detached-document controls reproduce and verify retirement without changing the remote-control grant.
  • fix(app): keep permission actions reachable in short windows
    Reuse the settings panel's scroll area for both explanation and actions while
    the close button stays in the header. Focusing the default deny action no
    longer scrolls the explanation away. Real rendered narrow/zoomed controls can
    scroll to Allow, close or cancel with Escape; no permission policy changes.
  • fix(app): use native window activity for attended actions
    WebView can retain document focus after another Windows application becomes
    foreground. Project each Piik window's actual activation into its document
    and share that fact across message feedback, read markers, shortcut ownership
    and remote-input reset. Keep media visibility and room grants independent.
    
    The same real foreground-window transition reproduces silence and premature
    read advancement on beta.53, then triggers cues and preserves unread position
    on the candidate. Returning to Piik advances the cursor. Audio output was
    muted in the experiment; oscillator execution and completion were measured.
    All 2315 Web tests, TypeScript and the Windows capture-enabled App check pass.
  • fix(runtime): preserve App selection and media continuity
    Keep chat history and scroll position across reconnects, bind App operations to the active control connection, and release background shortcuts while text or remote input owns the keyboard. Assemble H.264 pictures with their referenced parameter sets without transcoding.
  • feat(channel)!: improve retained previews and enforce one data owner
    Retain image previews up to 1280 pixels within the existing message budget, supplied by the shared Core limit. Require Domain 43 for new image writes while preserving App Control 23 and existing storage and backup formats. Hold the channel directory lock with its last writer and remove redundant storage locking. Align compact header branding and reuse the shared native drag region.
  • fix(runtime): preserve source intent and isolate scoped failures
    Keep media selections explicit across refreshed catalogs and let page playback commands progress while buffering. Align file availability with eligible sources, restore independent rooms after policy refusal, and retain pending Unicode releases. Correct Android root failure reporting, bookmark refresh, lazy-module guidance and compact playback feedback; use the shared native modal backdrop for the title bar.
  • feat(app): add a voice overlay and refine room lifecycles
    Reuse the native room-tool window for a compact voice overlay. Preserve selected webpage players through unambiguous DOM replacements, keep activity presence through signaling recovery, and improve narrow playback controls and hybrid touch input. Reduce route capacity scans, tolerate added format diagnostics, and record bounded source-list outcomes.
  • fix(ui): preserve playback intent and shared control behavior
    Keep shared seeks distinct from local player actions, cancel obsolete update checks, and reuse attachment progress in the image viewer. Restore share-picker focus and correct native header and launcher sizing.
  • feat(channel): pool connections and isolate activity lifetimes
    Reuse bounded channel connections for independently authorized room activities and retire the shared room-tree bootstrap. Keep current physical proof separate from recovery history and activity delivery proof.
    
    Preserve operation ownership across room replacement, source selection, microphone changes and native window retirement. Bound data sends before the channel is installed and recheck room grants at the final write.