benetech / MathShare

MIT License
9 stars 3 forks source link

Allow for teacher to create 'answerable' sharable link for a problem set #186

Open johnhbenetech opened 6 years ago

johnhbenetech commented 6 years ago

When a teacher is finished creating a problem set, the user should be able to share their work by generating a link to an 'answerable' version of the problem set.

The link should only be associated with the state of the work at the moment the share button was clicked (as to avoid someone changing the problems after submission). If a teacher makes changes and hits the share button again, a completely new link should be created with the new state.

I haven't decided if a second click should destroy the first link, but I'm leaning towards that it should be preserved.

In addition to the backend work here, we will need to add a Share button as well as a way to display the link(s) to the user.

On the student side, we will need an analogous flow in which visiting an 'answerable' share links provides them with their own instance of the problem set (with its own unique edit and share links) as with #175 and #174.

Aha! Link: https://diagramlabs.aha.io/features/B-332

johnhbenetech commented 6 years ago

I think these unique links could start as something like a SHA256 (as in previous examples).

Since these links are meant to be shared with a broader audience (As well as an audience of children mostly), we could also explore using a system similar to what3words or gfycat which uses a collection of random words instead of a hash.