Confirmed users, Bureaucrats and Sysops emeriti
1,057
edits
(first draft) |
No edit summary |
||
| Line 1: | Line 1: | ||
First off, it doesn't actually have to be [http://jsfiddle.net/ jsFiddle]. If there's another "fiddle-like" system that works better for our needs, great. | First off, it doesn't actually have to be [http://jsfiddle.net/ jsFiddle]. If there's another "fiddle-like" system that works better for our needs, great. The key components to this are: | ||
Beyond that, this page is a wish-list for how we'd like things to work. | * Ability to look at sample code | ||
* Ability to manage sample code; users with appropriate privileges should be able to upload and update samples, admins should be able to delete them | |||
* Ability to run samples | |||
Beyond that, this page is a wish-list for how we'd like things to work. This is not necessarily intended to be an exhaustive list! If something is missing that would make this better, please add it to the list, or let us know. | |||
=Storage= | =Storage= | ||
| Line 14: | Line 18: | ||
=User experience= | =User experience= | ||
There's a lot of room to experiment here. Can it all be done in-page and be attractive and easy to use? Or should there be a button to open a separate fiddle window? This could be a button in the corner of the source listing, or maybe have a {{FiddleButton("filename")}} template to insert a fiddle button. Or maybe both. | There's a lot of room to experiment here. Can it all be done in-page and be attractive and easy to use? Or should there be a button to open a separate fiddle window? This could be a button in the corner of the source listing, or maybe have a {{FiddleButton("filename")}} template to insert a fiddle button. Or maybe both. | ||
=Managing samples= | |||
* All users should be able to: | |||
** View samples | |||
** Fiddle with samples | |||
** Flag an example as needing to be checked due to errors | |||
** Clear the "needs checking" flag | |||
* Users with a "sample contributor" permission should additionally be able to: | |||
** Upload new samples | |||
** Upload revised versions of samples | |||
* Admin users should be also able to: | |||
** Delete samples | |||
** Assign and revoke "sample contributor" permission | |||
Sample submissions and changes should have a comment saved with them to note what's changed and why. | |||
Note that "upload samples" could also involve eventually an online IDE for writing them, but that's probably more of a long-term goal than one for this project. | |||