touretzkyds / MarkovChainDemo

Generate text using a Markov chain
Creative Commons Zero v1.0 Universal
3 stars 2 forks source link

clearing panes before loading an article #6

Closed touretzkyds closed 2 months ago

touretzkyds commented 4 months ago

When the user loads a Wikipedia article it can take a while to download and process it. Meanwhile the user is staring at what are now stale displays in panels 2-4, but they don't know that.

What we should do in this situation: before loading and processing the Wikipedia article, clear panes 2-4.

thetechdude124 commented 3 months ago

Done.

touretzkyds commented 3 months ago

This fix is wrong. The contents of panes 1-4 are being cleared as soon as the user clicks in the article name text box. Don't do that. Only clear the contents when the user confirms their selection, either by hitting Enter or pressing the Import button.

thetechdude124 commented 3 months ago

Done.

touretzkyds commented 3 months ago

Fix the message in pane 3 to say "Please wait while we load the specified text..."

touretzkyds commented 2 months ago

Tested and verified.