buzz icon indicating copy to clipboard operation
buzz copied to clipboard

feat(desktop): add signed channel panel surface

Open tcballard opened this issue 4 months ago • 1 comments

User-visible problem

Issue #3863 needs a native, discoverable channel surface for signed workflow/project projections. Without a panel affordance, the signed workspace remains implicit in the timeline and is harder to inspect and audit.

What this implements

This follow-up is intentionally stacked on #3882 (feat(protocol): define signed channel panel manifest).

  • Adds a Panel affordance to the channel header/compact actions and persists its open state as the existing URL-backed panel=1 flag.
  • Reuses the existing auxiliary-panel shell for split and standalone layouts.
  • Adds a transport-neutral, read-only signed-channel panel renderer with the six contract states: loading, empty, ready, stale, unavailable, and invalid.
  • Renders channel context, semantic status, timestamps, sections/fields, provenance, source-event actions, and safe external HTTPS links.
  • Wires the empty state today: “No panel published — This channel has no signed panel projection yet. Source events remain available in the channel timeline.” The transport adapter remains deliberately deferred until maintainers decide whether the first projection should compose existing signed events or introduce a new signed manifest kind.

Existing path reused

The implementation reuses AuxiliaryPanel, RightAuxiliaryPane, AuxiliaryPanelHeader, AuxiliaryPanelBody, the existing channel history-state helper, and the existing channel panel lifecycle. It adds no HTTP endpoint, relay API, or new event kind.

Tests and validation

  • pnpm typecheck
  • pnpm exec biome check ... on changed files
  • CHECK_FILE_SIZES_BASE=d88313f3 pnpm check
  • pnpm build:e2e
  • pnpm exec playwright test tests/e2e/signed-channel-panel.spec.ts --project=smoke (1 passed)
  • just fmt-check
  • just clippy
  • just test-unit
  • Desktop tests/build and Tauri compilation completed in the integrated gate; the long Tauri test suite was stopped after the shared local clone reported a truncated Git pack, then the work was recovered and revalidated in a clean clone.

A screenshot of the empty panel state will be attached in a follow-up PR comment. Desktop UI changed; no mobile UI changed.

Deferred work

Command-palette autocomplete remains separate/deferred. The transport adapter and projection-specific source mapping should follow the maintainer decision on #3882.

No OEXL-specific code, matching, payments, outcome contracts, ledger state, settlement semantics, or marketplace protocol was added. Buzz remains responsible only for channel presentation and auditability.

tcballard avatar Aug 01 '26 11:08 tcballard

Screenshot

Empty signed channel panel state (Desktop):

signed-channel-panel

This PR changes Desktop UI only; no mobile UI changed.

tcballard avatar Aug 01 '26 11:08 tcballard