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
The call to -refresh-workspace inside component-will-receive-props means that every time we switch tabs inside a workspace, we fire off two ajax calls - one to GET the workspace details, and another to checkBucketReadAccess. Both of these calls are relatively expensive.
code in question:
https://github.com/broadinstitute/firecloud-ui/blob/develop/src/cljs/main/broadfcui/page/workspace/details.cljs#L168
The call to
-refresh-workspace
insidecomponent-will-receive-props
means that every time we switch tabs inside a workspace, we fire off two ajax calls - one to GET the workspace details, and another tocheckBucketReadAccess
. Both of these calls are relatively expensive.We may have added this refresh solely to fix https://broadinstitute.atlassian.net/browse/GAWB-2485; see
broadinstitute/firecloud-ui#916. If this is the case, it's overkill - we can find a better way to handle refreshing after a clone, without requiring those ajax calls on each tab switch.
TODO:
The text was updated successfully, but these errors were encountered: