Skip to content

refactor(escrow): agent page restructure + overflow fixes - #33

Merged
comwanga merged 3 commits into
mainfrom
feat/escrow-agent-discovery
Aug 8, 2026
Merged

refactor(escrow): agent page restructure + overflow fixes#33
comwanga merged 3 commits into
mainfrom
feat/escrow-agent-discovery

Conversation

@comwanga

@comwanga comwanga commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Summary

Follow-up to #32. Restructures the Agent page from a debug-style raw registry view into a proper escrow agent marketplace.

Changes

Agent page restructure:

  • Two tabs: Available (discovered from Nostr) and My agents (self-published)
  • Agent cards show human-readable names, type/network badges (color-coded), release/refund summaries, and online status dots
  • Clicking a card opens a detail dialog with full rules, funding confirmation, and collapsible technical details (coordinate + pubkey with copy button)
  • "Use this agent" button navigates to events page
  • Register agent moved into a separate dialog triggered by a + button
  • Empty states for both tabs with clear messaging

Overflow fixes:

  • Long Nostr coordinates no longer overflow their containers
  • All agent cards have min-w-0 overflow-hidden + truncate on text elements

About the ClientFetchError

The ClientFetchError from Auth.js is an environment issue, not a code bug:

  1. Ensure NEXT_PUBLIC_API_URL is set in frontend/.env.local
  2. Ensure the backend is running (Port 8000)
  3. Restart the Next.js dev server
  4. Verify AUTH_SECRET and AUTH_URL in .env.local

… register dialogs

Replaces the raw debug-style agent list with a proper marketplace UX:

- Two tabs: Available (discovered from Nostr) and My agents (self-published)
- Agent cards show human-readable names, type/network badges, release/refund
  summaries. Clicking a card opens a detail dialog.
- Detail dialog displays full rules, funding confirmation, and collapsible
  technical details (coordinate + pubkey) with copy button.
- Register agent moved into a separate dialog triggered by a + button.
- Empty states for both tabs.
- 'Use this agent' button in detail view navigates to events page.
@vercel

vercel Bot commented Aug 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
squadsync Ready Ready Preview Aug 8, 2026 4:45pm

@comwanga
comwanga marked this pull request as ready for review August 8, 2026 16:47
@comwanga
comwanga merged commit 8b1958d into main Aug 8, 2026
6 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.

1 participant