Task #986 - adding preview to tasks and datasets in assign_all and index respectively