Closed
Bug 944147
Opened 12 years ago
Closed 12 years ago
Collect UITelemetry on bookmark star usage
Categories
(Firefox :: Bookmarks & History, defect)
Tracking
()
RESOLVED
FIXED
Firefox 29
People
(Reporter: mconley, Assigned: mconley)
References
Details
(Whiteboard: [Australis:P-][good first verify])
Attachments
(2 files, 5 obsolete files)
2.37 KB,
patch
|
Gijs
:
review+
lsblakk
:
approval-mozilla-beta+
mconley
:
checkin+
|
Details | Diff | Splinter Review |
3.73 KB,
patch
|
mconley
:
review+
|
Details | Diff | Splinter Review |
We're interested in collecting a count of how many times the bookmark star is clicked to:
* Create a bookmark
* Edit a bookmark
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Comment 2•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #8340526 -
Attachment is patch: true
Assignee | ||
Updated•12 years ago
|
Attachment #8339584 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #8340526 -
Attachment is obsolete: true
Assignee | ||
Comment 4•12 years ago
|
||
Attachment #8341889 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Attachment #8343109 -
Flags: review?(gijskruitbosch+bugs)
Comment 5•12 years ago
|
||
Comment on attachment 8343109 [details] [diff] [review]
Patch v1.3 - for non-Australis
Review of attachment 8343109 [details] [diff] [review]:
-----------------------------------------------------------------
r+, but make sure you don't double-count stuff when you do the general counting and take the urlbar-container into account. :-)
Attachment #8343109 -
Flags: review?(gijskruitbosch+bugs) → review+
Assignee | ||
Comment 6•12 years ago
|
||
Yep, we don't double-count those things.
non-Australis patch landed on Holly as https://hg.mozilla.org/projects/holly/rev/058506a5ff78
status-firefox28:
--- → fixed
Assignee | ||
Updated•12 years ago
|
Attachment #8343109 -
Flags: checkin+
Assignee | ||
Comment 7•12 years ago
|
||
Comment on attachment 8343109 [details] [diff] [review]
Patch v1.3 - for non-Australis
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
None. This just gives BrowserUITelemetry the capability of counting clicks on the bookmark-star in the URL bar.
User impact if declined:
None.
Testing completed (on m-c, etc.):
Lots of manual testing on Holly, which has since merged to Aurora.
Risk to taking this patch (and alternatives if risky):
None.
String or IDL/UUID changes made by this patch:
None.
Attachment #8343109 -
Flags: approval-mozilla-beta?
Assignee | ||
Comment 8•12 years ago
|
||
Removing [Australis:P1] since these block a P1 already. Let's not be redundant and noisy.
Whiteboard: [Australis:P1]
Updated•12 years ago
|
Whiteboard: [Australis:P-]
Updated•12 years ago
|
Attachment #8343109 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Assignee | ||
Comment 9•12 years ago
|
||
Landed in mozilla-beta as https://hg.mozilla.org/releases/mozilla-beta/rev/d7915b764302
status-firefox27:
--- → fixed
Assignee | ||
Comment 10•12 years ago
|
||
A direct port was not possible due to the fact that the star-button has been superseded by the bookmarks-menu-button. I special-case it in the built-in item handler.
What do you think of this, jaws?
Attachment #8349058 -
Flags: review?(jaws)
Comment 11•12 years ago
|
||
Comment on attachment 8349058 [details] [diff] [review]
Patch v1 - for Australis
Review of attachment 8349058 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/modules/BrowserUITelemetry.jsm
@@ +269,5 @@
> + return null;
> + }
> + }
> +
> + return aNode.id + ":child";
Why is the :child here necessary? It seems that none of the other code here cares that :child is appended. This patch could work just fine if nothing was appended to the ID (and the code that uses this function was updated).
Attachment #8349058 -
Flags: review?(jaws) → review-
Assignee | ||
Comment 12•12 years ago
|
||
Thanks - removed the :child suffix. That was a carry-over from the non-Australis patch. It *might* need to come back when I do the built-in toolbar item patch, but we'll see when we get there.
Attachment #8349058 -
Attachment is obsolete: true
Attachment #8349181 -
Flags: review?(jaws)
Comment 13•12 years ago
|
||
Comment on attachment 8349181 [details] [diff] [review]
Patch v1.2 - for Australis
Review of attachment 8349181 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/modules/BrowserUITelemetry.jsm
@@ +214,5 @@
> +
> + // We special-case the bookmarks-menu-button, since we want to
> + // monitor more than just clicks on it.
> + if (item.id == "bookmarks-menu-button" ||
> + getIDBasedOnFirstIDedAncestor(item) == "bookmarks-menu-button:child") {
This shouldn't have the :child on the string anymore.
Attachment #8349181 -
Flags: review?(jaws) → review+
Assignee | ||
Comment 14•12 years ago
|
||
D'oh. Yep. Will get it a test before landing.
Assignee | ||
Comment 15•12 years ago
|
||
Yes, this works. Thanks jaws!
Landed on fx-team as: https://hg.mozilla.org/integration/fx-team/rev/3fab9a65035e
Attachment #8349181 -
Attachment is obsolete: true
Attachment #8349184 -
Flags: review+
Comment 16•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
You need to log in
before you can comment on or make changes to this bug.
Description
•