[Task]: Activity API should indicate notification type for Pinguino

Aperta
#16,603 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
api, frontend

Direzione di ricerca

Start by reading mozilla/addons-server PR #25815 to see how moz-status-dot is currently wired on the version details page, then locate the Activity API serializer/endpoint that feeds the activity cards in Pinguino. Identify which activity types already exist and map each to a status-dot state; the API needs to return that type with each activity. Done means the API field is documented and tested, and both the activity cards and version details page derive their status dots from the returned type rather than the add-on approval state.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

component:pinguino_devhub needs:info
Description

The activity API does not currently expose the type of activity the notification is, so status labelling is largely inaccurate or unimplemented.

Ex. the moz-status-dot in activity-related cards goes off the approval state of the add-on.

image

After Approval:

image

And unimplemented with the moz-status-dots in the version details page https://github.com/mozilla/addons-server/pull/25815:

image
Acceptance Criteria
  • Activity API exposes the type of activity
  • Pinguino activity statuses accurately reflect the type of activity

┆Issue is synchronized with this Jira Task

Lingua principale
Makefile
Stelle
134
Fork
52
Merge medio
6g 22h
PR unite (30g)
6

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mozilla/addons

Tutte le issue di mozilla/addons

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.