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

Abierto
#16,603 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
javascript
Área
api, frontend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Makefile
Estrellas
134
Forks
52
Merge medio
6 d 22 h
PR fusionados (30 d)
6

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de mozilla/addons

Todos los issues de mozilla/addons

Issues similares

Más issues de Backend & API Design

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.