mini-dashboard icon indicating copy to clipboard operation
mini-dashboard copied to clipboard

States when starting or reloading the app

Open nicolasvienot opened this issue 1 year ago • 0 comments

Description When starting or reloading the app, the states are either not loaded or set to wrong values, but the display it quite strange. When opening the mini-dashboard with a project (with an index and documents) and an apiKey set, it does this:

  1. Displays the page with "It seems like Meilisearch isn’t running, did you forget to start it? - (Don’t forget to set an API Key if you want one)"
  2. Displays the page with "Sorry mate, no results matching your request ☹️"
  3. Displays the results

Expected behavior I would expect it to show directly the results with maybe a loading before state or default states.

Current behavior Video: https://us06web.zoom.us/clips/share/WsGXBCU0SK3rleEzF33vbjWfGc8e2fnPegi671gfKIYuXWqVj-hnVCcokfwPwzSseArg_rLaF9nN7SJHIZbwZi5m.nJ1ZGTzFTmnqCDqS

Environment (please complete the following information):

  • Meilisearch version: v1.6.0
  • Browser: Chrome version 90.0
  • ⚠️ From the code in this PR: https://github.com/meilisearch/mini-dashboard/pull/486

nicolasvienot avatar Jan 30 '24 17:01 nicolasvienot