Closed Bug 483884 Opened 15 years ago Closed 15 years ago

Change "age" to nomination age in editor tool, copy existing age column to "add-on age"

Categories

(addons.mozilla.org Graveyard :: Admin/Editor Tools, defect)

defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: osunick, Assigned: u278084)

References

Details

Attachments

(2 files)

This is basically two changes to the editor tool:

1. Add a column to show time in queue and rename to "time in queue"
2. Sorting will be based on "time in queue"
For clarification, this will only exist in the nomination queue. correct?
(In reply to comment #1)
> For clarification, this will only exist in the nomination queue. correct?

Yes, I would say so. Looking at the "updates" queue, the "age" column already represents the age of the update (= time in queue), not the overall age of the add-on.
Attached patch v1Splinter Review
Had some free time, so I decided to take this. (Actually, this ended up eating a few hours)

I couldn't see any way to do this without adding a new column in the database. The modified column sorta helps, but is updated with any change, so not entirely dependable. DB changes on next attachment.
Assignee: nobody → cdolivei.bugzilla
Status: NEW → ASSIGNED
Attachment #370962 - Flags: review?(clouserw)
Attached file db changes
By default, I set nomination age to the last modified column. This is so we don't have weird "nomination age" values for all existing addons.
Comment on attachment 370962 [details] [diff] [review]
v1

Thanks Ceasr.  Please change the sortBy line (192 after your patch) to 'nominationage' instead of 'created' also
Attachment #370962 - Flags: review?(clouserw) → review+
Also, before you check this in, can you rename "nominationage" to "nominationdate" everywhere when it refers to the db?  Otherwise the database column name doesnt' really make sense as it's holding a datetime.  Thanks.
I am so, so happy this is making it in.  Thanks cesar!!
In r24190. Additionally to Wil's comments, I added the database change to remora.sql and changed the nomination age string to "Time in Queue" as per comment 1.
String changes went into r24191.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Hardware: x86 → All
Resolution: --- → FIXED
Keywords: push-needed
OS: Mac OS X → All
It should read "Add-on Age", not "Addon Age" [sic].
Add-on fixed in r24200
String change in comment 11 verified on https://preview.addons.mozilla.org/en-US/editors/queue/nominated.

Cesar, can you please file an IT bug to have the script run so I can verify this on preview?  Thanks!
(In reply to comment #12)
> String change in comment 11 verified on
> https://preview.addons.mozilla.org/en-US/editors/queue/nominated.
> 
> Cesar, can you please file an IT bug to have the script run so I can verify
> this on preview?  Thanks!

https://bugzilla.mozilla.org/show_bug.cgi?id=487326
Blocks: 487876
Keywords: push-needed
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: