Natixar / natixar-frontend

The static front end of the Natixar SaaS platform
0 stars 5 forks source link

Make Up of the Data Page for the June 14th Demo #105

Closed lepeuvedic closed 5 months ago

lepeuvedic commented 5 months ago

Problem

  1. On June 14th, it is highly likely that we will have zero or one automatically connected data source, public and private sources together.
  2. We do not even have an endpoint to convey that information to the front-end.
  3. The data page currently displays fake and generic data, which is not acceptable for the client.
  4. Manual updating of less frequently updated sources (base Empreinte, Agrobalyse) is perfectly acceptable and therefore directly storing the status in the front-end code is also half-way correct, since the front-end will receive updates much more often. Static response from the back-end would also be half-way correct if we can define an endpoint, but weaving a new data path in the front-end might take too much time.

How to Reproduce

  1. Authenticate and enter the dashboard
  2. Go to the Data page using the side menu.
  3. Observe green yellow red nonsensical information for private and public data sources

Desired Behavior

"up to date" is defined as less than one week old for private sources, and it will be the case.

It is acceptable if we manually fetch and load client and public data in the SaaS.