Skip to content

#27592 — web: first prompt can be submitted multiple times on a slow connection #837

@ElioNeto

Description

@ElioNeto

Description

The submit button and the Enter button have no guard against double actions on new messages. On a slow connection (like on a vpn), that results on multiple threads being created.

Plugins

none

OpenCode version

1.14.50

Steps to reproduce

  1. opencode serve
  2. Open web ui
  3. Activate a slow connection on the dev tools
  4. Write a prompt
  5. Press enter multiple times

Screenshot and/or share link

google_screen_recording_trimmed.webm

Operating System

Arch Linux

Terminal

Kitty

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions