Userscript quick desc

3 views
Skip to first unread message

Henrik Nyh

unread,
Feb 26, 2007, 5:38:42 PM2/26/07
to uso...@googlegroups.com
Jesse, Britt, Johan and I discussed script descriptions on #greasemonkey.

I think we were pretty much agreed on what I summarize below. Please
reply and let me know if you agree/disagree.

I want to implement this pretty soon, since an upload-to-USO TextMate
command I'm writing (and want to release to the public) gets sad when
long @descriptions in an uploaded script trigger a validation error.

When uploading scripts:

For short @descriptions (250 chars or less, perhaps), we copy that to
just the quick description field. For long @descs, we stick a truncated
part (perhaps with ellipsis) in quickdesc and the entire @desc in the
long description.

So we truncate the quick description "silently" rather than give
validation errors - however, we make sure this doesn't catch anyone
unawares, by clearly stating the length limit by the textarea, and
ideally have some JS code that counts down characters and deletes any
beyond the limit.

Quickdesc is plaintext, longdesc is HTML.

--
Henrik

Henrik Nyh

unread,
Feb 27, 2007, 7:03:34 AM2/27/07
to uso...@googlegroups.com
Henrik Nyh wrote:
> Jesse, Britt, Johan and I discussed script descriptions on #greasemonkey.
>
> I think we were pretty much agreed on what I summarize below. Please
> reply and let me know if you agree/disagree.
> ...

http://userscripts.devjavu.com/projects/userscripts/changeset/201

Reply all
Reply to author
Forward
0 new messages