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
After all forms are loaded, an observer then proceeds to request all the related Surveys for these forms one-by-one even though the surveys have already been loaded through a bulk request. This increases the overall loading time of the dashboard and is unnecessary because the purpose of the loading is to fill a property surveyGroupName that is only used under the assignments tab.
Proposal is to stop this loading of all Surveys and to use a computer property for the surveyGroupName.
The text was updated successfully, but these errors were encountered:
muloem
changed the title
All Surveys are loaded one by one after loading forms
Stop unnecessary loading of all Surveys once forms are loaded
Jul 18, 2019
The changes affect the survey assignment and the offline assignment UI. These should behave the same as before, i.e. the survey should correctly show next to the form name.
After all forms are loaded, an observer then proceeds to request all the related Surveys for these forms one-by-one even though the surveys have already been loaded through a bulk request. This increases the overall loading time of the dashboard and is unnecessary because the purpose of the loading is to fill a property
surveyGroupName
that is only used under the assignments tab.Proposal is to stop this loading of all Surveys and to use a computer property for the
surveyGroupName
.The text was updated successfully, but these errors were encountered: