Closed Bug 937338 Opened 11 years ago Closed 10 years ago

Created FeaturedApp model and API endpoints to allow individual apps to be featured in feed.

Categories

(Marketplace Graveyard :: API, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: chuck, Assigned: chuck)

References

Details

(Whiteboard: p=3 [qa-])

Attachments

(1 file)

As demonstrated in the attached mock, individual apps will be able to featured in the feed in various ways.

I propose a new FeaturedApp model (choose a better name to avoid confusion with other "featured app" functionality) to encapsulate this information.

The model should contain:
- An FK to the app
- A background color (optional; used for pull quote and in the absence of any additional metadata)
- A video (optional; TBD: process for dealing with videos)
- A screenshot (optional)
- A text description of up to 140 characters (optional)
- A pull quote of up to 75 characters (optional)
- An attribution for the pull quote (optional)
- A rating

The API endpoints to manage these should:

- Live at /api/v2/feed/featuredapp/<pk>
- Have create, retrieve, update, and delete functionality
- Require authentication and the Collections:Curate permission to create, update, or delete.
- Contain the full app serialization in the serialization 
- Should be behind the waffle switches created in bug 937246 and bug 937248
- Be well documented
On second thought, we should define a new permission to govern the ability to create, update, or delete items of this model. 

I suggest ModelName:Administer
Blocks: 937345
Priority: -- → P2
Assignee: nobody → charmston
Blocks: 958242
Landed: https://github.com/mozilla/zamboni/compare/f50d2734c88d...5a1521307bf7
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: p=3 [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: