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
{{ message }}
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.
We noticed this bug in the interface with @jimmydjabali.
We went through the following scenario that lead to a bug.
We were in the explore tab. We selected a cohort by clicking on it. The second action we performed was drag and dropping a concept in the inclusion criteria.
What appeared in the inclusion criteria was the cohort and not the concept name.
Jimmy concluded that clicking on the cohort saves it in a variable which determines what cohort is being dragged at the moment. If this variable is non empty it will be used to fill the inclusion criteria on the next concept drag and drop.
One solution could be to empty this variable by the end of the cohort click event callback if this variable contains the same value as the cohort clicked.
Another solution could be to avoid filling this variable on a simple click event.
The text was updated successfully, but these errors were encountered:
We noticed this bug in the interface with @jimmydjabali.
We went through the following scenario that lead to a bug.
We were in the explore tab. We selected a cohort by clicking on it. The second action we performed was drag and dropping a concept in the inclusion criteria.
What appeared in the inclusion criteria was the cohort and not the concept name.
Jimmy concluded that clicking on the cohort saves it in a variable which determines what cohort is being dragged at the moment. If this variable is non empty it will be used to fill the inclusion criteria on the next concept drag and drop.
One solution could be to empty this variable by the end of the cohort click event callback if this variable contains the same value as the cohort clicked.
Another solution could be to avoid filling this variable on a simple click event.
The text was updated successfully, but these errors were encountered: