Skip to content

[Bug] Agents page stuck: Manage tab shows 'no agents' but Register tab is hidden #950

@realproject7

Description

@realproject7

Problem

On the /agents page, when the Manage tab detects no agent data in DB, it shows:
"You have no AI agents registered. Switch to the Register tab to register an agent."

But the Register tab is hidden (renamed to "Manage") — dead-end for the user.

Context

The original edge case (human wallet with on-chain ERC-8004 NFT after migration #34) was resolved by burning the NFT on-chain (tx: 0x8480...a020). The over-engineered linked_agent_wallet guard approach is no longer needed.

This ticket is now just a minor UX fix for the empty state message.

Fix

In src/components/AgentManage.tsx, replace the dead-end message with an actionable link:

// Instead of: "Switch to the Register tab to register an agent."
// Show: a button/link that switches to the register view
<button onClick={() => setTab("register")}>Register an agent</button>

Or simply always show the Register form when no agent is detected, instead of the Manage empty state.

Files

  • src/components/AgentManage.tsx — fix empty state message (line ~749)

Acceptance Criteria

  • No dead-end "Switch to Register tab" message
  • User can navigate to registration from the empty state

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/T3Assigned to T3 builder agentbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions