[Bug]: better ux on the activity feed

オープン
#16,601 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
領域
frontend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Makefile
スター
134
フォーク
52
平均マージ
6日 22時間
マージ済み PR(30日)
6

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mozilla/addons のほかの issue

mozilla/addons の issue をすべて見る

似ている issue

Web Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。