You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're feature complete on Lagoon init/pull/push but there are a few areas we could and should improve:
On init/pull/push when you see a list of "authorizations" to use this is expressed as emails but it should also probably include the lagoon instance url. We also should probably remove "duplicates" eg only show the latest authorization for a given email/lagoon combination.
We do a lot of unneeded calls to the Lagoon API because we are creating multiple instances of the Lagoon API client. We should share a single client instance so that we do not need to make unneeded calls. Eg calling api.auth should just return this.token if its set instead of authing again. Ditto for api.getProjects. NOTE: @mikemilano had it this way originally but @pirog removed it for expediency and because his brain was hurting.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions and please check out this if you are wondering why we auto close issues.
We're feature complete on Lagoon init/pull/push but there are a few areas we could and should improve:
api.auth
should just returnthis.token
if its set instead of authing again. Ditto forapi.getProjects
. NOTE: @mikemilano had it this way originally but @pirog removed it for expediency and because his brain was hurting.The text was updated successfully, but these errors were encountered: