Closed Bug 314366 Opened 19 years ago Closed 8 years ago

"Enter the path to the file on your computer" assumes I choose a file by entering a path

Categories

(Bugzilla :: Attachments & Requests, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 6.0

People

(Reporter: jruderman, Assigned: parkcra)

Details

Attachments

(3 files)

When I upload a file, Bugzilla says "Enter the path to the file on your computer".  This is wrong because:
(1) I can also choose a file using a file picker.
(2) If I'm using Safari or Firefox (trunk), I can't enter a path directly.

How about "Select a file on your computer"?
Attached image screenshot in safari
OS: MacOS X → All
Hardware: Macintosh → All
some systems let you enter urls to be uploaded... :)
How about "Enter the location of the file on your computer"? B-)
I think these extra instructions (such as "Select a file on your computer" and "Describe the attachment briefly.") should be removed completely.  They're pretty redundant.
Whiteboard: [good first bug]
Hello, How do I get the file path for this bug?
Flags: needinfo?(jruderman)
This bug is just about rewording the existing label.
Flags: needinfo?(jruderman)
I think if it was just 

File: 'Choose File' tab. Would be a lot better than "Select a file on your computer" which is superfluous.

Description is pretty much self explanatory so I'd remove "Describe the attachment briefly" and just have "Brief Description" instead. See rough sketch below of my point.
Attached image Rough Sketch.PNG
Attachment #8697534 - Flags: review?(dkl)
Comment on attachment 8697534 [details]
Rough Sketch.PNG

Looks good to me.
Attachment #8697534 - Flags: review?(dkl) → feedback+
I'm interested in working on this, would it be possible to take this bug? I've located it so far down to field-label.html.tmpl file. Field labels are generated based upon the id passed in, which in this case is bug_file_loc. However I am unsure where the labels get assigned from there. A hint or two would be appreciated.
(In reply to Craig Parkinson from comment #10)
> I've located it so far down to field-label.html.tmpl file.

This is not the right template. Have a look at attachment/createformcontents.html.tmpl.
Attached patch v1.diffSplinter Review
I have kept the link for pasting the attachment as text, thereby keeping the same functionality but removing unnecessary wording.
Attachment #8725597 - Flags: review?(dkl)
Assignee: attach-and-request → parkcra
Severity: normal → minor
Status: NEW → ASSIGNED
Target Milestone: --- → Bugzilla 6.0
Comment on attachment 8725597 [details] [diff] [review]
v1.diff

Review of attachment 8725597 [details] [diff] [review]:
-----------------------------------------------------------------

r=dkl
Attachment #8725597 - Flags: review?(dkl) → review+
Thanks!

ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git
   94baad5..f1c21a5  master -> master
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Whiteboard: [good first bug]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: