adding drafts functionality into projects page and pull samples by project functionality