Closed
Bug 508469
Opened 15 years ago
Closed 15 years ago
Create Contributions dashboard
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect, P2)
addons.mozilla.org Graveyard
Public Pages
Tracking
(Not tracked)
VERIFIED
FIXED
5.0.9
People
(Reporter: osunick, Assigned: smccammon)
References
Details
Attachments
(4 files)
131.73 KB,
image/png
|
Details | |
189.17 KB,
image/png
|
Details | |
20.93 KB,
patch
|
clouserw
:
review-
|
Details | Diff | Splinter Review |
2.12 KB,
patch
|
clouserw
:
review+
|
Details | Diff | Splinter Review |
See attached for mini spec and mockup. This should live on the statistics dashboard section and the Contributions dropdown appears for all developers. If no contributions have been made, the section just says "You haven't received any Contributions yet."
Reporter | ||
Comment 1•15 years ago
|
||
Reporter | ||
Updated•15 years ago
|
Target Milestone: --- → 5.0.9
Reporter | ||
Updated•15 years ago
|
Priority: -- → P2
Comment 2•15 years ago
|
||
->mccammos. This is dependent on us getting stats which is 2 metrics bugs I haven't filed yet. So...code is good, but be a bit flexible with the starting data for now.
Assignee: nobody → smccammon
Reporter | ||
Comment 3•15 years ago
|
||
just talked to justin fitzhugh- this will get attention this monday. also adding a mock for the admin version of this dashboard
Reporter | ||
Comment 4•15 years ago
|
||
this is viewed from the admin cp (just another box in the left nav)
Reporter | ||
Comment 5•15 years ago
|
||
scott- fyi, only rows with null uuid's are completed transactions. uuid's that aren't null are for all intents and purposes clicks where the user decided not to pay.
Assignee | ||
Comment 6•15 years ago
|
||
Here is my first stab as the clock runs out. Adds to the dev-side dashboard a contribution timeplot and summary. It also uses the existing data table code already in place, but this lacks any custom formatting. Usable but not complete (or perfect).
Attachment #395787 -
Flags: review?(clouserw)
Comment 7•15 years ago
|
||
Comment on attachment 395787 [details] [diff] [review] Basic Dev Dashboard With or without contributions I get an alert that says "Caught exception: undefined. Details: TypeError: event.getStart() is null" when I try to view the contributions graph. Other than that this appears to work fine.
Attachment #395787 -
Flags: review?(clouserw) → review-
Assignee | ||
Comment 8•15 years ago
|
||
(In reply to comment #7) > With or without contributions I get an alert that says "Caught exception: > undefined. Details: TypeError: event.getStart() is null" when I try to view the > contributions graph. It seems that IE has a few problems with the dashboard javascript - even on production. I'll look into it.
Assignee | ||
Comment 9•15 years ago
|
||
Filed bug 511927 for plot errors in IE since this affects more than this bug.
Comment 10•15 years ago
|
||
I wasn't using IE but scott says he can't reproduce this. Let's land on preview and see what happens there. I might just have broken data.
Assignee | ||
Comment 11•15 years ago
|
||
Committed in r49737. I blame timeplot for not gracefully handling any issues with the many data requests it makes. We shall see.
Comment 12•15 years ago
|
||
Reproduced the error on preview. Scott is fixing
Assignee | ||
Comment 13•15 years ago
|
||
The timeplot alert issue was reproducible when a contribution had a null amount. Any successful and valid contribution will have a positive amount so we can safely exclude records with null or negative amounts.
Attachment #395949 -
Flags: review?(clouserw)
Comment 14•15 years ago
|
||
Comment on attachment 395949 [details] [diff] [review] Ignore NULL amounts I'll r+ but do you know why we have null amounts in the db in the first place? Is that just left over data from somewhere?
Attachment #395949 -
Flags: review?(clouserw) → review+
Assignee | ||
Comment 15•15 years ago
|
||
(In reply to comment #14) > (From update of attachment 395949 [details] [diff] [review]) > I'll r+ but do you know why we have null amounts in the db in the first place? > Is that just left over data from somewhere? Null is the default value when the user doesn't choose the suggested amount. Only Paypal knows the final amount, so we depend on metrics to fill things in later.
Assignee | ||
Comment 16•15 years ago
|
||
A point that I should have clarified earlier: The current implementation assumes contribution stats are viewing only by owners and admins - even for add-ons with public stats. Wil thought we might want a note to explain who can/can't see this data. A footnote below the contribution summary table would probably work. Was this assumption correct? If not it is trivial to make public for public stat add-ons.
Assignee | ||
Comment 17•15 years ago
|
||
Ignore NULL patch added in r49752.
Comment 18•15 years ago
|
||
I think it's a good assumption (I was actually thinking we'd need to file a bug to make it an option, but this works). I think /statistics/settings/$id would be the page to put a note on. Just something simple like "contributions are only ever shown to authors and site administrators" or something.
Assignee | ||
Comment 19•15 years ago
|
||
Resolving as fixed for 5.0.9, and filed bug 511996 for implementation of remaining features.
Verified FIXED -- this is in (I've been testing it and filing/verifying bugs accordingly.)
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Keywords: push-needed
Updated•8 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•