Skip to content

examples: make the decentralized-channels demo self-explanatory#17

Merged
SethMorrowSoftware merged 1 commit into
mainfrom
claude/relaxed-cerf-816pyn
Jun 27, 2026
Merged

examples: make the decentralized-channels demo self-explanatory#17
SethMorrowSoftware merged 1 commit into
mainfrom
claude/relaxed-cerf-816pyn

Conversation

@SethMorrowSoftware

Copy link
Copy Markdown
Owner

Follow-up to the merged BEP44 demo work (#16). First OXT run confirmed the channels app works, but a newcomer can't tell what it does — the UI leaned on jargon ("immutable", "content-address", "DHT directory"). This pass makes the demo explain itself, with no change to any working data path (identity, feeds, signing, transfers untouched).

What changed (UI text + tooltips + empty states only)

  • "? What is this?" button in the title bar → a plain-language overview dialog (chHelp): what the app is (a file-sharing app with no server; the DHT remembers where, BitTorrent moves what), a one-liner for each of the four sections, and the two-machine try-it recipe.
  • Hover tooltips on every control (chAddTips) — the same affordance the main client already uses; each button/field now explains itself.
  • Plainer section headers & captions — e.g. "1. Your channel — publish files for people to download", "4. Quick drop — paste text, get a code anyone can fetch back", in place of the old jargon.
  • Friendly empty states — the transfers table and the follow list each show a grey "do X to get started" line when empty (instead of a blank box), and the status reads "DHT: connecting…" until the routing table has nodes.

Verification

  • check-livecodescript: 7 files OK; ASCII-clean; 48 balanced handlers; chHelp/chAddTips each defined once and wired (button + mouseUp + chBuild call); all 17 tooltip targets resolve to controls actually created in chBuild.
  • Pure presentation change — no native/ABI impact. Needs an OXT pass to confirm the dialog/tooltip rendering, but the logic paths are unchanged from the already-runtime-tested version.

🤖 Generated with Claude Code

https://claude.ai/code/session_01371AXB4CUUke7enHHS8okc


Generated by Claude Code

Feedback from the first OXT run: it works, but a newcomer cannot tell what it
does. Add plain-language guidance without touching any working data path:

- A "?  What is this?" button in the title bar opens a plain-language overview
  (chHelp): what the app is, and a one-line explanation of each of the four
  sections, ending with the two-machine try-it recipe.
- Hover tooltips on every control (chAddTips) so each button/field explains
  itself - same affordance the main client uses.
- Plainer section headers ("1. Your channel - publish files for people to
  download", etc.) and plainer captions, in place of jargon like
  "immutable / content-address / DHT directory".
- Friendly empty states instead of blank lists: the transfers table and the
  follow list each show a grey "do X to get started" line when empty, and the
  status line reads "DHT: connecting..." until the routing table has nodes.

Pure UI text + tooltips + empty-state strings; no change to identity, feeds,
signing, or transfer logic. Verified statically (check-livecodescript: 7 files
OK; ASCII-clean; 48 balanced handlers; chHelp/chAddTips each defined once and
wired; all 17 tooltip targets are real controls). Needs an OXT pass to confirm.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01371AXB4CUUke7enHHS8okc
@SethMorrowSoftware SethMorrowSoftware marked this pull request as ready for review June 27, 2026 03:05
@SethMorrowSoftware SethMorrowSoftware merged commit 2b09750 into main Jun 27, 2026
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants