Good start, however I think this needs some improvements:
[x] In Izanami frontend, we don't use useEffect to make http requests, but useQuery. Generally, it's not considered a good practice anymore to fetch data in useEffect. => useQuery + add a useState with the query states
[x] There is no loading indicator while stats are fetched, and stats computation could be long if there is many features / projects / tenants. => show loader indicator
[x] Since stats computation can be costly, I don't think it's a good idea to display stats by default on global settings. I would prefer a button "see what is sent" that would trigger stats computation on demand and perhaps display it in a modal . => limit modal height
Good start, however I think this needs some improvements:
useEffect
to make http requests, but useQuery. Generally, it's not considered a good practice anymore to fetch data in useEffect. => useQuery + add a useState with the query states