When installing a new tool or importing into a new tool, the form prompts for a "mount point" which is strange terminology, nobody knows what that means. It'd be better if we called it "url path" or something like that. And ideally showed an example full URL similar to what we do on /p/add_project when selecting a project shortname. E.g.:
Tool url: http://mysite.com/p/myproj/ [__________]
Maybe we can add tooltip on mouse over as well?
checkout hs/7817
There are 2 forms of validation that may occur. See
<span class="mount-point-name-rules tool">
and<span class="mount-point-name-rules tool-relaxed">
. Sopattern="^[a-z][a-z0-9-_\.\+\-]{1,63}$"
shouldn't be included. (Or should be set dynamically the same way those to spans are shown/hidden).placeholder="codez"
probably isn't needed :)Can the URL preview show up as soon as the dialog opens, not waiting for the user to edit text? That would be nice since there is a default url path and we can show the user immediately how that fits into the full url.