greenelab / connectivity-search-frontend

Frontend code for connectivity search (formerly "Hetmech")
https://het.io/search
BSD 3-Clause "New" or "Revised" License
2 stars 3 forks source link

distinguish between "no results" and "results loading" #146

Open vincerubinetti opened 5 years ago

vincerubinetti commented 5 years ago

Currently, my placeholder messages distinguish between "not enough input" (eg, no source or target node selected so we can't show metapaths) and "no results to show" (eg, there are no paths for the selected metapaths).

But it'd also be good to have a separate "loading results" message for when the necessary inputs are selected, and there might be results, but we're still waiting for the backend query to return or for the frontend to render a big table. This gives the user good feedback that they haven't done something wrong, and the true state of the application.