open-craft / xblock-poll

An XBlock for Polling users and displaying the result
GNU Affero General Public License v3.0
18 stars 66 forks source link

Add attributes to student_view_data for both Poll and Survey #39

Closed zamanafzal closed 6 years ago

zamanafzal commented 6 years ago

@bradenmacdonald Please have a look into this. In this pr, some attributes have been added in student_view_data for survey and poll as of requirements. student_view_data be like for survey = "student_view_data": { "feedback": "This is feedback message survey.", "private_results": false, "max_submissions": 1, "block_name": "Block Name", ........................ } student_view_data be like for poll = "student_view_data": { "feedback": "This is feedback message survey.", "private_results": false, "max_submissions": 1, ........................ }

bradenmacdonald commented 6 years ago

@zamanafzal Sure, I'll get someone to review this in the coming week.

mtyaka commented 6 years ago

Thanks @zamanafzal!

:+1:

zamanafzal commented 6 years ago

@mtyaka Please make the release of this Pr.

mtyaka commented 6 years ago

@zamanafzal I'll release the new version together with #40, as soon as it gets merged.

mtyaka commented 6 years ago

@zamanafzal https://github.com/open-craft/xblock-poll/releases/tag/v1.5.0 released.