Currently, fetching remote data is split into multiple parts, policy is fetched separately, suppressions are fetched separately which resuslt in multiple API requests. Also the side-effect is a lot of asynchronicity since this data is used n multiple places.
Moving forward, we wold like to merge all the communication into a single API request so policy, suppressions, project permissions, etc. can be fetched at once. This will result in easier to maintain extension, better performance due to less network requests and less async code which will also improve extension startup time.
Currently, fetching remote data is split into multiple parts, policy is fetched separately, suppressions are fetched separately which resuslt in multiple API requests. Also the side-effect is a lot of asynchronicity since this data is used n multiple places.
Moving forward, we wold like to merge all the communication into a single API request so policy, suppressions, project permissions, etc. can be fetched at once. This will result in easier to maintain extension, better performance due to less network requests and less async code which will also improve extension startup time.