Skip to content

Disable run button when program is running #23

Description

@uncomputable

A program such as the hash loop takes a long time to execute. Spam-clicking the run button creates a long queue of executions that the user must wait for to finish. We should lock the run button until the execution finishes, the prevent the buildup of such a queue.

We must use something like https://github.com/Jinxit/leptos_workers (web workers) to move the execution of Simfony code into a separate "thread" while keeping the remaining UI responsive. async does not work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions