[Bug]: better ux on the activity feed

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Ambito
frontend

Direzione di ricerca

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.

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

Descrizione

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

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.