It would be good to add an indicator that work is in progress while this request is being processed, and when it fails - I can especially see this here on my slow crappy connection, it's not obvious when/if the query completes (my connection drops regularly, or sometimes slows down to pings of several seconds).

Maybe changing the text color of `.main-container` to grey while it processes, and display an error message like "Could not connect - <Retry>" when the request does not complete? Would also likely be worth displaying the message from the server when the request completes but contains an error message.