bfritscher / typesense-dashboard

A Typesense Dashboard to manage and browse collections.
https://bfritscher.github.io/typesense-dashboard/
GNU General Public License v3.0
359 stars 67 forks source link

Refactor loading to make sure it is compatible with older version of the server #57

Closed bfritscher closed 6 months ago

bfritscher commented 7 months ago

On loading we want to populate most of the data, but what happens if the endpoint does not exist because of older version of the server? Some entries do not necessary require to be loaded at the start, but only if the tab is visited? But trying to load might help identify if feature is available without having to create a lookup table of version/feature. Investigation and adaptation are required to be sure that connecting to older version of the server do not result in connectionCheck loop.