Closed
Bug 179626
Opened 23 years ago
Closed 15 years ago
Hide, rather than disable, requestee fields when the flags aren't in the "?" state
Categories
(Bugzilla :: Attachments & Requests, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 4.0
People
(Reporter: bzbarsky, Assigned: reed)
References
Details
(Keywords: ue)
Attachments
(1 file, 3 obsolete files)
1.82 KB,
patch
|
Details | Diff | Splinter Review |
STEPS TO REPRODUCE:
1) Load "Edit an attachment" page
2) Request a review from someone (set the review flag to '?')
3) Submit form
4) Load the same page again
5) Set the review flag to '+'
ACTUAL RESULTS: The "requestee" textfield becomes disabled but makes it look
like the review will be marked as being done by the requestee
EXPECTED RESULTS: The "requestee" textfield should be completely blanked out or
hidden to make it clear that it is irrelevant.
![]() |
Reporter | |
Updated•23 years ago
|
Summary: confusing presense of requestee's name when +/- selected as attachment flag → confusing presence of requestee's name when +/- selected as attachment flag
Updated•19 years ago
|
QA Contact: mattyt-bugzilla → default-qa
![]() |
||
Updated•19 years ago
|
Assignee: myk → attach-and-request
![]() |
||
Comment 1•17 years ago
|
||
IMO, I would tend to mark it as WONTFIX. I doubt this really generates any confusion.
Severity: normal → trivial
![]() |
Reporter | |
Comment 2•17 years ago
|
||
Well, it sure confused me, and I'm not that easily confused.
Comment 4•16 years ago
|
||
Pyrzak's students' research pointed out that the grayed-out requestee box on
flags is confusing to new users--why is it there? Why can't they click in it?
The box should just be hidden when the flag isn't set to "?". This includes show_bug.cgi, enter_bug.cgi, and attachment.cgi.
Assignee | ||
Comment 5•15 years ago
|
||
Assignee: attach-and-request → reed
Status: NEW → ASSIGNED
Assignee | ||
Updated•15 years ago
|
Target Milestone: --- → Bugzilla 4.0
Assignee | ||
Comment 6•15 years ago
|
||
Ok, this works. It uses parentNode to hide the entire <span> that contains the requestee field.
Attachment #454443 -
Attachment is obsolete: true
Attachment #454445 -
Flags: review?(mkanat)
Comment 7•15 years ago
|
||
Comment on attachment 454445 [details] [diff] [review]
patch - v1.1
>+ requesteeField.parentNode.style.display = "block";
Instead of manually setting the "display" attribute, you should add and remove the bz_default_hidden class, using YUI.
Attachment #454445 -
Flags: review?(mkanat) → review-
Assignee | ||
Comment 8•15 years ago
|
||
Use addClass() and removeClass().
Attachment #454445 -
Attachment is obsolete: true
Attachment #454750 -
Flags: review?(mkanat)
Comment 9•15 years ago
|
||
Comment on attachment 454750 [details] [diff] [review]
patch - v2
This looks great!
>=== modified file 'js/flag.js'
>+YAHOO.util.Event.addListener(window, "load", hideRequesteeFields);
On checkin, could you make that an onDOMReady? I'm getting a flash of unstyled content and I think perhaps onDOMReady will do it better.
Attachment #454750 -
Flags: review?(mkanat) → review+
Updated•15 years ago
|
Flags: approval+
Assignee | ||
Comment 10•15 years ago
|
||
Attachment #454750 -
Attachment is obsolete: true
Assignee | ||
Comment 11•15 years ago
|
||
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/
modified js/flag.js
Committed revision 7256.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
![]() |
||
Updated•15 years ago
|
Summary: confusing presence of requestee's name when +/- selected as attachment flag → Hide, rather than disable, requestee fields when the flags aren't in the "?" state
You need to log in
before you can comment on or make changes to this bug.
Description
•