Frontend: Token Address Confirmation Dialog #53

Open
opened 2026-04-10 13:20:42 +02:00 by shoko · 1 comment
Owner

When user configures a trading strategy via chat and mentions a token (e.g., "buy PEPE"), the AI asks for the token contract address. The frontend should show a confirmation dialog allowing user to:

  1. See the token the AI detected (PEPE)
  2. Enter/confirm the BSC contract address
  3. Save the strategy with the confirmed address

Related PR: # (current)

Acceptance Criteria:

  • Modal/dialog appears when AI detects a token without address
  • User can enter the contract address (0x...)
  • Strategy is saved only after user confirmation
  • Clear error handling if address is invalid

Related Files:

  • Frontend: src/frontend/src/routes/bot/[id]/+page.svelte
  • Backend: src/backend/app/services/ai_agent/conversational.py
When user configures a trading strategy via chat and mentions a token (e.g., "buy PEPE"), the AI asks for the token contract address. The frontend should show a confirmation dialog allowing user to: 1. See the token the AI detected (PEPE) 2. Enter/confirm the BSC contract address 3. Save the strategy with the confirmed address **Related PR**: # (current) **Acceptance Criteria**: - Modal/dialog appears when AI detects a token without address - User can enter the contract address (0x...) - Strategy is saved only after user confirmation - Clear error handling if address is invalid **Related Files**: - Frontend: `src/frontend/src/routes/bot/[id]/+page.svelte` - Backend: `src/backend/app/services/ai_agent/conversational.py`
shoko added the frontendenhancement labels 2026-04-10 13:20:42 +02:00
Author
Owner

Implemented in commit 297a185.

Changes:

  • Token confirmation modal appears when AI detects a token without address
  • User can enter the BSC contract address (0x...)
  • Strategy is saved only after user confirmation
  • Added validation for backtest duration (max 7 days)
  • Limited timeframe options to 1h, 4h, 1d for faster testing
Implemented in commit 297a185. **Changes:** - Token confirmation modal appears when AI detects a token without address - User can enter the BSC contract address (0x...) - Strategy is saved only after user confirmation - Added validation for backtest duration (max 7 days) - Limited timeframe options to 1h, 4h, 1d for faster testing
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shoko/randebu#53