AlgoVision icon indicating copy to clipboard operation
AlgoVision copied to clipboard

Sort button launches simultanious sorts

Open ErezBinyamin opened this issue 4 years ago • 2 comments

When on http://0.0.0.0:5000/sorting page, pressing the Sort button more than once kicks off simultaneous searches. It looks really cool, but the searches conflict with each-other and it likely not the desired effect. Should limit to one search at a time. Possibly implement a Start/Stop functionality.

Ideas:

  • After pressing Sort, button turns red and text changes to Stop. When pressed a second time algorithm stops.
  • Implement Play/Pause/Stop buttons like in a media player.

ErezBinyamin avatar Oct 08 '20 04:10 ErezBinyamin

Actually this problem affects path finding and searching tabs too. A really evident example of this problem is:

  • searching tab:
    • Select binary
    • click Search 5 times
    • Select sequential
    • click Search 5 times

ErezBinyamin avatar Oct 08 '20 04:10 ErezBinyamin

I am well aware of this bug. For now, it's not a priority for me. But soon I will work on it if no one else does.

pran01 avatar Oct 10 '20 13:10 pran01