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

RESOLVED FIXED

Status

Marketplace
API
P2
normal
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: chuck, Assigned: chuck)

Tracking

x86
Mac OS X
Points:
---
Dependency tree / graph

Details

(Whiteboard: p=3 [qa-])

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
Created attachment 830438 [details]
7_Content Type – Featured App@2x.png

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
(Assignee)

Comment 1

4 years ago
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
(Assignee)

Updated

4 years ago
Blocks: 937345
(Assignee)

Updated

4 years ago
Priority: -- → P2
(Assignee)

Updated

4 years ago
Assignee: nobody → charmston
(Assignee)

Updated

4 years ago
Blocks: 958242
(Assignee)

Comment 2

4 years ago
Landed: https://github.com/mozilla/zamboni/compare/f50d2734c88d...5a1521307bf7
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Whiteboard: p=3 [qa-]
You need to log in before you can comment on or make changes to this bug.