Closed Bug 738446 Opened 12 years ago Closed 12 years ago

Create an admin tool to feature apps on Marketplace

Categories

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

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cvan, Assigned: ashort)

References

Details

(Whiteboard: [ETA 4/16])

We want two allow apps to added to either featured collection:

* Home (apps featured on homepage)
* Category Featured (apps featured on category browse pages)

There should be autocompletion to easily add an app to either list and an ability to remove featured apps from either list.
Priority: P2 → P3
Target Milestone: 6.4.8 → 6.4.9
Blocks: 741508
Target Milestone: 6.4.9 → 6.5.0
Talk to cvan about details.  Sounds like he has ideas
Assignee: cvan → ashort
Priority: P3 → P1
I'm thinking of something like this (in psuedo-code):

For the default collections (that is, if there's not a specific collection for a particular locale):

    fc = FeaturedCollection(application=None)

    home = Collection(name='Home', type=amo.COLLECTION_FEATURED, listed=False)
    cat = Collection(name='Category', type=amo.COLLECTION_FEATURED, listed=False)

    CollectionAddon(collection=home, addon=<app>)
    CollectionAddon(collection=cat, addon=<app>)

If we wanted apps for a French-specific homepage and category browse pages:

    fc = FeaturedCollection(application=None, locale='fr')

    home = Collection(name='Home (France)', type=amo.COLLECTION_FEATURED, listed=False)
    cat = Collection(name='Category (France)', type=amo.COLLECTION_FEATURED, listed=False)

    CollectionAddon(collection=home, addon=<app>)
    CollectionAddon(collection=cat, addon=<app>)
Blocks: 744641
Blocks: 740601
Blocks: 735578
Whiteboard: [ETA 4/16]
Target Milestone: 6.5.0 → 6.5.1
https://github.com/mozilla/zamboni/commit/f2ef2d806a1fb16010d75cbbb5455ba3fd3b9216


cvan encountered an `IntegrityError` traceback when inserting some apps, but I was unable to reproduce.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.