mini-dashboard
mini-dashboard copied to clipboard
States when starting or reloading the app
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:
- 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)"
- Displays the page with "Sorry mate, no results matching your request ☹️"
- 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