CottageLabs / idfind

An identifier identifier
1 stars 0 forks source link

tag handling #23

Closed emanuil-tolev closed 12 years ago

emanuil-tolev commented 12 years ago

Tagging tests and descriptions in /submit.

You can write out a comma-separated string, but it will simply explode that using the comma as a separator, without trimming any whitespace. So "tag1, tag2" becomes "tag1" and " tag2". So just some whitespace trimming, simple enough.

However, the tags field on /submit is quite small, and has an "add more" button. I don't think there's any point in actually making that create new input fields when clicked - it should just enlarge the size of the existing field. Tags are just comma-separated and can be written out as one string, we don't need multiple field handling for them like we do for multiple useful links (issue #19).