Skip to content

fix(try): correct Demos explorer links + simplify the Oracle input form#41

Draft
randomblocker wants to merge 2 commits into
mainfrom
agent/try-simplify-and-fix-links
Draft

fix(try): correct Demos explorer links + simplify the Oracle input form#41
randomblocker wants to merge 2 commits into
mainfrom
agent/try-simplify-and-fix-links

Conversation

@randomblocker

Copy link
Copy Markdown
Contributor

Two fixes to /try from user feedback.

1. Transaction links were broken (404)

The Demos explorer serves transactions at /transactions/<hash>, not /tx/. Every ${EXPLORER}/tx/ link in the directory pointed at a 404. Fixed across TryDacs, TryChat, HomeDealDemo, and the deal page. BaseScan / x402 links keep /tx/ (that's BaseScan's path).

Verified: https://explorer.demos.sh/tx/<hash> → 404, https://explorer.demos.sh/transactions/<hash> → 200.

2. "Where you enter variables is too confusing"

The Oracle form exposed a raw key/value grid ("Product parameters", id=bitcoin) — the buyer had to know the internal param key names. Replaced with plain labeled fields per product:

product before after
crypto-price key/value grid (id=bitcoin) one "Coin" field
fx-rate key/value grid "From currency" / "To currency"
chain-height empty key/value grid short "no parameters needed" note

The product dropdown now uses human labels ("Crypto price (a coin in USD)" …). Same object is submitted to the gateway; KeyValueEditor is just no longer used by this form.

Verification

Touched files are typecheck-clean; AgentInputForm compiles in isolation. (A bare checkout has pre-existing @kynesyslabs/dacs subpath-resolution errors unrelated to this change — CI has those deps built.)

Note

This is a first pass on the simplification — starting with the worst offender (Oracle params). Happy to extend the same treatment to the DD/Security forms, the rail picker, or the governance disclosure based on feedback.

🤖 Generated with Claude Code

random block and others added 2 commits July 24, 2026 06:49
Two fixes to the Try DACS page from user feedback.

1. Transaction links were 404ing. The Demos explorer serves transactions at
   /transactions/<hash>, not /tx/. Fixed every ${EXPLORER}/tx/ link across the
   directory (TryDacs, TryChat, HomeDealDemo, and the deal page). BaseScan/x402
   links keep /tx/ (that's BaseScan's path).

2. "Where you enter variables is too confusing." The Oracle form exposed a raw
   key/value grid ("Product parameters", id=bitcoin) — the buyer had to know the
   param key names. Replaced it with plain labeled fields per product:
   - crypto-price -> a single "Coin" field (bitcoin / ethereum / …)
   - fx-rate      -> "From currency" / "To currency"
   - chain-height -> no inputs, just a short note
   The product dropdown now uses human labels too. Same submitted object; the
   KeyValueEditor is no longer used by this form.

Touched files typecheck clean; no new errors (the repo's pre-existing
@kynesyslabs/dacs subpath resolution errors in a bare checkout are unrelated).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The try-chat regression test pinned the old /tx/ Demos explorer URL (which
404s). Update it to the corrected /transactions/ path to match the link fix.
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.

1 participant