Open
Bug 615483
Opened 14 years ago
Updated 2 years ago
In the geolocation prompt the learn more hyperlink should flow with the question.
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
NEW
People
(Reporter: faaborg, Unassigned)
References
Details
(Whiteboard: [target-betaN])
Attachments
(2 files, 4 obsolete files)
18.68 KB,
image/png
|
faaborg
:
ui-review+
|
Details |
6.52 KB,
patch
|
Gavin
:
feedback+
|
Details | Diff | Splinter Review |
Current the geolocation prompt has a hyperlink floating by itself in space: Learn more... This draws a lot of attention to it, diminishing the relative discoerabilty of the main action button. Also, it isn't clear what you can learn more about until you go on to read the rest of the message. We should visually group this hyperlink to the end of the question in the dialog: Would you like to share your location with site.com? Learn more. Also, the sentence does not need an ellipsis since no more user input is required, and the action is taken immediately (opening a new tab with a support document).
Comment 1•14 years ago
|
||
What should we do about that fact that the text will likely wrap after the question? I feel like it would look awkward to have a question on one line, followed by a link on the next. Also, this will require another string change :(
Comment 2•14 years ago
|
||
Why string change? Can't we just move learnmore to be after popup-notification-description in the geolocation-notification binding?
Comment 3•14 years ago
|
||
(In reply to comment #2) > Why string change? Can't we just move learnmore to be after > popup-notification-description in the geolocation-notification binding? Getting rid of the ellipsis?
Comment 4•14 years ago
|
||
Oh right. Well we can defer that part specifically for now, right? Might look a little odd but don't think it's a showstopper.
Reporter | ||
Comment 5•14 years ago
|
||
We can fix that later. Most of the ellipsis in Firefox aren't actually correctly used. When you click learn more the tab opens immediately, there isn't actually any additional user input required.
Comment 6•14 years ago
|
||
With the patch from bug 615481 applied, the link appears on a new line below the main text. Is that acceptable, or should we do something to change that?
Assignee: nobody → margaret.leibovic
Attachment #494533 -
Flags: ui-review?(faaborg)
Comment 7•14 years ago
|
||
Reporter | ||
Comment 8•14 years ago
|
||
Comment on attachment 494533 [details]
line break
turning down in favor of your idea of merging learn more into the action button (meh?)
Attachment #494533 -
Flags: ui-review?(faaborg) → ui-review-
Comment 9•14 years ago
|
||
(In reply to comment #8) > turning down in favor of your idea of merging learn more into the action button > (meh?) Gavin and I talked about that idea on IRC yesterday, and we decided it would be simpler to just leave the link. A patch to make it into a menu item would have to modify the popup notification API to allow for secondary actions that don't remove the notification, and we would definitely need a string change to give the menu item an access key. What do you think? And if we do keep the link, what do you think of that screenshot I attached?
Reporter | ||
Comment 10•14 years ago
|
||
Comment on attachment 494533 [details]
line break
yeah, that's fine. Let's fix this after Firefox 4, and introduce learn more options for some of the other notifications (indexedDB, protocol registration, etc).
Attachment #494533 -
Flags: ui-review- → ui-review+
Updated•14 years ago
|
Attachment #494534 -
Flags: review?(gavin.sharp)
Updated•14 years ago
|
Whiteboard: [needs review gavin]
Comment 11•14 years ago
|
||
Comment on attachment 494534 [details] [diff] [review] patch This looks like it regresses bug 615481.
Attachment #494534 -
Flags: review-
Comment 12•14 years ago
|
||
(In reply to comment #11) > Comment on attachment 494534 [details] [diff] [review] > patch > > This looks like it regresses bug 615481. In what way?
Whiteboard: [needs review gavin]
Updated•14 years ago
|
Attachment #494534 -
Flags: review?(gavin.sharp)
Comment 13•14 years ago
|
||
Comment on attachment 494534 [details] [diff] [review] patch Here: >- <xul:description class="popup-notification-description" >- xbl:inherits="xbl:text=label"/> >+ <xul:vbox flex="1"> >+ <xul:description class="popup-notification-description"> >+ <xul:label xbl:inherits="value=label"/> <label value="..."/> won't wrap, as I understand it.
Comment 14•14 years ago
|
||
Ah, you're right. This patch has text that wraps. I couldn't get the link to appear on the same link as the description text using two labels, so instead I decided to insert the link inside the description after the text. To make a space between the text and the link, I set a -moz-margin-start rule on the link, but that makes the link look misaligned if it falls on its own line. Any ideas for a solution to that?
Attachment #494534 -
Attachment is obsolete: true
Attachment #495850 -
Flags: review?(dao)
Comment 15•14 years ago
|
||
It would usually wrap right before the link, wouldn't it? So just always put the link on its own line?
Comment 16•14 years ago
|
||
I think it probably depends on whatever system font size/resolution the user has. For example, the text wraps in the screenshot from bug 617270: https://bug617270.bugzilla.mozilla.org/attachment.cgi?id=495781. In that case, it would be nice to have the link appear at the end of the text.
Comment 17•14 years ago
|
||
Using a spacer instead of a margin solves the text wrap problem.
Attachment #495850 -
Attachment is obsolete: true
Attachment #496020 -
Flags: review?(dao)
Attachment #495850 -
Flags: review?(dao)
Updated•14 years ago
|
Whiteboard: [target-betaN]
Comment 18•14 years ago
|
||
Comment on attachment 496020 [details] [diff] [review] patch v3 Instead of dynamically creating the label/spacer, couldn't you have them hardcoded in the <description>, and just set their values?
Comment 19•13 years ago
|
||
(In reply to comment #18) > Comment on attachment 496020 [details] [diff] [review] > patch v3 > > Instead of dynamically creating the label/spacer, couldn't you have them > hardcoded in the <description>, and just set their values? The problem with that is the xbl:inherits="xbl:text=label" will insert the description text after the spacer/label instead of before them.
Attachment #496020 -
Attachment is obsolete: true
Attachment #496020 -
Flags: review?(dao)
Updated•12 years ago
|
Assignee: margaret.leibovic → nobody
Comment 20•12 years ago
|
||
Assignee: nobody → dao
Attachment #511562 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #695306 -
Flags: review?(gavin.sharp)
Updated•12 years ago
|
Comment 21•12 years ago
|
||
(In reply to Alex Faaborg [:faaborg] (Firefox UX) from comment #0) > We should visually group this hyperlink to the end of the question in the > dialog: > > Would you like to share your location with site.com? Learn more. > > Also, the sentence does not need an ellipsis since no more user input is > required, and the action is taken immediately (opening a new tab with a > support document). That's not really what this patch implements, AFAICT. I think the ui-r+ed screenshot was ui-r+ed only as a compromise for Firefox 4 (see comment 10).
Comment 22•12 years ago
|
||
The current patch is all I can offer, I can't spend more time on this now.
Comment 23•12 years ago
|
||
Comment on attachment 695306 [details] [diff] [review] patch This is a net improvement in that it gets rid of the ugly binding overriding, but doesn't fix this bug as filed. Land it in a new bug?
Attachment #695306 -
Flags: review?(gavin.sharp) → feedback+
Updated•12 years ago
|
Assignee: dao → nobody
Status: ASSIGNED → NEW
Updated•12 years ago
|
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•