[Bug]: better ux on the activity feed

Đang mở
#16,601 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Makefile
Star
134
Fork
52
Merge trung bình
6 ngày 22 giờ
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mozilla/addons

Tất cả issue của mozilla/addons

Issue tương tự

Thêm issue về Web Dev

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.