[Bug]: better ux on the activity feed

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

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
52/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Área
frontend

Línea de trabajo

Start in the DevHub home activity feed component to see how the entry title link and the View button build their targets, then compare what each puts into router history state. The title link restores position while View (going to /en-US/developers/addon/<slug>/versions) loses it, so look for scroll-restoration handling keyed on location state or a missing key on that route. Done means both Back paths land on the same scrolled activity entry, verified on macOS and Windows.

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

Descripción

needs:info
Is there an existing issue for this?
  • I have searched the existing issues
What happened?

From https://github.com/mozilla/addons/issues/16476#issuecomment-7007277189

One thing noticed about navigation. I'll try explaining it with str

On the new DevHub home, scroll down the activity list to an older entry (one that needed scrolling or "load more").
Click the add-on link in the entry title (opens the public listing page), then press Back.
Repeat, but click the View button (opens /en-US/developers/addon//versions), then press Back.

Actual: After the title link, Back returns to the same activity entry. After View, Back shows the activity list from the top.
Expected: Both should return to the same place ❓

What did you expect to happen?

Expected: Both should return to the same place ❓
I verified this on macOS and Win

┆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 Web Dev

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.